{"openapi":"3.1.0","info":{"title":"x402 Payment Facilitator API","description":"\nUltravioleta DAO x402 Payment Facilitator - Gasless micropayments for the agentic economy.\n\n## Overview\n\nThe x402 facilitator enables gasless micropayments across multiple blockchain networks using the HTTP 402 Payment Required protocol. It acts as a settlement intermediary, verifying each network's signed payment authorization and submitting it on-chain: EIP-3009/EIP-712 on EVM, native CryptoTransfer on Hedera, and the corresponding native primitive on other families.\n\n## Supported Networks\n\n### EVM Chains (Mainnet)\nEthereum, Base, Polygon, Optimism, Avalanche, Arbitrum, Celo, HyperEVM, Unichain, Monad, Scroll, Robinhood Chain (settles Paxos USDG - no native USDC), BSC, SKALE Base, Arc (`arc` / `eip155:5042`, USDC/EURC exact EOA payments; served only where `RPC_URL_ARC` is configured; check `/supported`), HashKey Chain (`hashkey` / `eip155:177`, Bridged USDC, EIP-712 domain `Bridged USDC` / `2`; EOA signatures only, no EIP-6492)\n\n### EVM Chains (Testnet)\nEthereum Sepolia, Base Sepolia, Polygon Amoy, Optimism Sepolia, Avalanche Fuji, Arbitrum Sepolia, Celo Sepolia, HyperEVM Testnet, Unichain Sepolia, SKALE Base Sepolia, Monad Testnet, Robinhood Chain Testnet, Arc Testnet (`arc-testnet` / `eip155:5042002`, Circle — USDC is the native gas token; served only where `RPC_URL_ARC_TESTNET` is configured, so check `/supported` rather than this list), HashKey Chain Testnet (`hashkey-testnet` / `eip155:133`, USDC with EIP-712 domain `USD Coin` / `2`, not mainnet's name)\n\n### SVM Chains (Solana Virtual Machine)\n- **Solana**: Mainnet (`solana`) and Devnet (`solana-devnet`)\n- **Fogo**: Mainnet (`fogo`) and Testnet (`fogo-testnet`)\n\n### Other Non-EVM Chains\n- **XRPL (XRP Ledger)**: Mainnet (`xrpl`) and Testnet (`xrpl-testnet`) — native XRP, pre-signed Payment transaction blobs; not the EVM `xrpl-evm` sidechain\n- **NEAR Protocol**: Mainnet (`near`) and Testnet (`near-testnet`)\n- **Stellar/Soroban**: Mainnet (`stellar`) and Testnet (`stellar-testnet`)\n- **Algorand**: Mainnet (`algorand`) and Testnet (`algorand-testnet`)\n- **Sui**: Mainnet (`sui`) and Testnet (`sui-testnet`)\n- **Hedera**: Native mainnet (`hedera:mainnet`) and testnet (`hedera:testnet`), x402 v2/exact only. HBAR is used only for sponsor network fees. Payments accept native USDC `0.0.456858` mainnet / `0.0.429274` testnet (6 decimals). Discover the network-specific `extra.feePayer` from `/supported`. Current sponsor IDs: mainnet `0.0.10868300`, testnet `0.0.10576385`. Native account/token IDs are not EVM chain IDs 295/296.\n\nArc uses USDC `0x3600000000000000000000000000000000000000` with 6 payment decimals and EIP-712 domain `USDC` / `2`. Its gas view uses 18 decimals of the same balance. EURC is also supported: mainnet `0xbEf5f6d51CB62b58e6A8f77868681825C6fe21c1`, testnet `0x89B50855Aa3bE2F677cD6303Cec089B5F319D72a`, 6 decimals, EIP-712 `EURC` / `2`. EURC amounts are euros, without automatic USD conversion. Gas remains USDC. EURC live payment acceptance was proven on Arc mainnet on 2026-09-22; Arc testnet is still pending. Arc also serves the x402r `escrow` and `commerce` schemes, on the canonical commerce-payments v1.0.0 contracts (see the escrow section of `POST /settle`). Neither Arc nor native Hedera adds upto or Gateway support, and native Hedera adds no escrow. ERC-8004 identity and reputation are served on both Arc networks (not on Hedera). Native Hedera also rejects durable-evidence and unsupported extensions.\n\n## Core Endpoints\n\n- `POST /verify` - Verify payment authorization structure and signatures\n- `POST /settle` - Submit verified payment to blockchain for settlement\n- `GET /supported` - List all supported networks and payment schemes\n\n## ERC-8004 Reputation (Trustless Agents)\n\nThe facilitator supports [ERC-8004](https://eips.ethereum.org/EIPS/eip-8004) for AI agent identity and reputation across **25 networks** (14 mainnets + 11 testnets), spanning both EVM and Solana.\n\n**EVM networks:** `ethereum`, `base`, `polygon`, `arbitrum`, `optimism`, `celo`, `bsc`, `monad`, `avalanche`, `scroll`, `skale-base`, `arc`, `robinhood`, `ethereum-sepolia`, `base-sepolia`, `polygon-amoy`, `arbitrum-sepolia`, `optimism-sepolia`, `celo-sepolia`, `avalanche-fuji`, `skale-base-sepolia`, `arc-testnet`, `robinhood-testnet`\n\n**Solana networks:** `solana`, `solana-devnet` (via [QuantuLabs 8004-solana](https://github.com/QuantuLabs/8004-solana) + [ATOM Engine](https://github.com/QuantuLabs/8004-atom))\n\n**Note:** For EVM networks, `agentId` is a numeric uint256 (e.g., `42`). For Solana, `agentId` is a base58 Pubkey (e.g., `7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgHkv`). Solana reputation responses include bonus `atomStats` with trust tiers, quality scores, and anti-Sybil metrics.\n\n### Endpoints:\n- `POST /register` - Register a new agent on-chain (gasless; sync or async via `Prefer: respond-async`)\n- `GET /register/status/{job_id}` - Poll an async registration until `agentId` is ready\n- `POST /feedback` - Submit on-chain reputation feedback (EVM only)\n- `POST /feedback/revoke` - Revoke previously submitted feedback (EVM only). **Admin only**: requires `Authorization: Bearer <ERC8004_ADMIN_TOKEN>` and returns 404 when no token is configured\n- `POST /erc8004/admin/retire-identity` - Retire an identity the facilitator holds by pointing its `agentURI` at the retirement document (EVM only). **Admin only**, same token and same 404\n- `GET /erc8004/retired` - The registration file a retired identity points at\n- `POST /feedback/evm/prepare` - Build the digest the RATER signs, for an EIP-7702 relayed rating (EVM)\n- `POST /feedback/evm/submit` - Relay a rater-authored rating as a type-4 transaction, paying the gas (EVM)\n- `POST /feedback/solana/prepare` - Build a feedback transaction for the RATER to sign (Solana)\n- `POST /feedback/solana/submit` - Co-sign and send a rater-signed feedback transaction (Solana)\n- `POST /feedback/response` - Append agent response to feedback (EVM only)\n- `GET /reputation/:network/:agentId` - Query agent reputation summary (EVM + Solana)\n- `GET /identity/:network/:agentId` - Get agent identity from registry (EVM + Solana)\n- `GET /identity/:network/:agentId/metadata/:key` - Read specific agent metadata (EVM + Solana)\n- `GET /identity/:network/total-supply` - Get total registered agents on a network (EVM + Solana)\n\n## Bazaar Discovery\n\nCurated resource discovery for x402-enabled services. Entries carry a discovery `source`,\na liveness `health` status from periodic probing, and a curated `tier`\n(`first_party` > `vip` > `verified` > `listed`) which also drives listing order.\n\nEvery public Bazaar surface exposes only what is **verified alive**: the last probe, made with\nthe request the listing declares, read a valid x402 challenge in the listing's own 402 -- or, for\nan MCP endpoint, completed its handshake and listed a tool -- within the observed-terms freshness\nwindow. Everything else stays in the catalog and keeps being probed, unseen.\n\n- `GET /discovery/resources` - List verified-alive resources (filters: category, provider, tag, network, source, sourceFacilitator, health, tier; search: q, sort; router filters: maxPriceUsd, method, hasInputSchema, kind, excludeHost; any other parameter is a 400)\n- `GET /discovery/stats` - Aggregate metrics of what is exposed (60s cache)\n- `GET /bazaar` - HTML Bazaar explorer UI\n- `GET /discovery/attestation/{hash}` - ERC-8004 attestation evidence body\n- `GET /discovery/config` - The tuning this task resolved, and what it is spending\n- `POST /discovery/register` - Register a new resource (rate limited)\n\n**Admin** (require `Authorization: Bearer <BAZAAR_ADMIN_TOKEN>`; return 404 when no admin token is configured):\n- `POST /discovery/refresh` - Invalidate and re-read a resource's terms (never accepts terms)\n\n- `DELETE /discovery/resources?url=...` - Permanently unregister a resource\n- `POST /discovery/admin/suppress` - Hide a resource from listings without deleting it\n- `POST /discovery/admin/release` - Un-suppress a resource\n- `GET /discovery/admin/pending` - What is not exposed (not verified alive), with its health\n\n## Errors\n\nEvery refusal is JSON with `content-type: application/json`, including the ones\na framework normally answers with an empty body: a `405` for the wrong method,\na `404` for a path nothing serves, and the `429` from the rate limiter. The\nshape is:\n\n```json\n{\n  \"error\": \"human-readable, may change\",\n  \"code\": \"machine_readable_stable\",\n  \"hint\": \"what to do about it\"\n}\n```\n\nBranch on `code`, never on the prose in `error`. Codes in use include\n`invalid_request_body`, `method_not_allowed`, `not_found`, `not_acceptable`,\n`rate_limited` and `rate_limit_key_unavailable`; endpoint-specific codes are\ndocumented on the operations that return them.\n\n`network_retired` (`400` on `/verify` and `/settle`) means the request named a\nchain by an identifier this facilitator used to publish and no longer serves.\nThe body carries the identifier sent as `network` and the one to use instead as\n`replacement`. Today that is only `eip155:44787`, Celo Alfajores' chain id,\nwhich `/supported` put on `celo-sepolia` by mistake through 2.39.0;\n`celo-sepolia` is `eip155:11142220`. `eip155:333`, which it put on\n`hyperevm-testnet` (chain 998), is not in the list: 333 belongs to another\nchain, so it is refused as unknown.\n\n## Rate limits\n\nLimits are per client IP and are reported on every rate-limited response, not\njust on the refusal:\n\n| Header | Present on | Meaning |\n|---|---|---|\n| `RateLimit-Policy` | `200` and `429` | the bucket this route draws on: `\"<name>\";q=<quota>;w=<window seconds>` |\n| `RateLimit` | `200` and `429` | what is left of it: `\"<name>\";r=<remaining>;t=<seconds>` |\n| `x-ratelimit-limit` | `200` and `429` | burst size of the bucket this route draws on |\n| `x-ratelimit-remaining` | `200` and `429` | tokens left in that bucket |\n| `retry-after` | `429` | seconds to wait before retrying |\n| `x-ratelimit-after` | `429` | the same value under tower_governor's own name |\n\n`RateLimit-Policy` and `RateLimit` follow draft-ietf-httpapi-ratelimit-headers\n(Structured Fields). A caller that sends at most `q` requests in any `w`\nseconds is never refused; `r` is what it may still spend within the next `t`\nseconds. Two routes that share a bucket share its name (`/mcp` answers with\n`\"verify-settle\"`). Every limit is also listed, before any request, in\n`rate_limits` of `/.well-known/uvd-stack.json`.\n\nRead `x-ratelimit-remaining` and slow down before it reaches zero. The buckets\nrefill one token every N seconds rather than granting N per minute, so the\nsustained rate and the burst are different numbers. Surfaces have separate\nbuckets, with one deliberate exception: `POST /mcp` shares the `/verify` and\n`/settle` bucket, because an `x402_settle` tool call costs the chain exactly\nwhat `POST /settle` does. Free static routes (`/health`, `/supported`, the\ndiscovery documents) carry no limit and therefore no headers.\n\nThe ERC-8004 writes that send a transaction (`POST /register`, `POST /feedback`\nand the `/feedback/*` submits) are also limited per network per UTC day. Past\nthat limit they answer `429` with code `erc8004_daily_write_limit` and a\n`retry-after` that runs to 00:00 UTC; other networks are not affected. On\n`robinhood` and `robinhood-testnet` each transaction those writes send is also\nheld to a gas ceiling: one whose gas estimate is above it is not sent, and a\nwrite refused that way before it sent anything answers `400` with `errorCode`\n`erc8004_gas_over_limit` (`GET /config`, `erc8004DailyWriteCap.maxGasPerWrite`).\n\nSeparately from any bucket, admission to each task is checked before any\nroute runs, and a refusal means nothing was done; resend the same request:\n\n| Status | `code` | When |\n|---|---|---|\n| `429` | `too_many_concurrent_requests` | this client IP already has its maximum of requests in flight |\n| `408` | `request_timeout` | the whole body did not arrive within the deadline after the headers |\n| `503` | `overloaded` | the task is at its ceiling of concurrent requests, whoever sent this one |\n\nThe `429` and `503` carry `retry-after: 1`. A request counts against the\ntask's ceiling only once its body is in. `/health` is never refused.\n\nUltravioleta DAO's own services present an `X-UVD-Stack-Key` and are not\ncharged to their address by any bucket or by the per-address ceiling (the\nresponse carries `x-ratelimit-exempt` instead of the rate-limit headers above:\nthere is no bucket to report on); the body deadline, the task's ceiling and the\ndaily write limit still apply to them. The same holds for a client address on\nthe operator's IP allowlist (`x-ratelimit-exempt: ip-allowlist`). Every value in\nforce is published at `GET /config`, each bucket under the name its\n`RateLimit-Policy` carries.\n\n## Content negotiation\n\n`GET /` answers `text/html` by default and `text/markdown` -- the bytes of\n`/index.md` -- to a request whose `Accept` prefers it. `/llms.txt` relabels its\nown bytes the same way. Those responses carry `Vary: Accept, Accept-Encoding`.\nNegotiation follows RFC 9110 12.5.1: ranked by `q`, ties broken by specificity,\n`q=0` honoured as a refusal, and a missing `Accept` or `*/*` treated as no\nconstraint rather than as grounds for a `406`.\n\n## Protocol Documentation\n\n- [x402 Protocol](https://x402.org)\n- [EIP-3009 (transferWithAuthorization)](https://eips.ethereum.org/EIPS/eip-3009)\n- [ERC-8004 (Trustless Agents)](https://eips.ethereum.org/EIPS/eip-8004)\n- [Ultravioleta DAO](https://ultravioletadao.xyz)\n","contact":{"name":"Ultravioleta DAO","url":"https://ultravioletadao.xyz"},"license":{"name":"Apache-2.0","url":"https://www.apache.org/licenses/LICENSE-2.0"},"version":"2.57.1"},"servers":[{"url":"https://facilitator.ultravioletadao.xyz","description":"Production"},{"url":"http://localhost:8080","description":"Local Development"}],"paths":{"/.well-known/agent-card.json":{"get":{"tags":["Agentic"],"summary":"A2A agent card","description":"The agent-to-agent card: identity, transport, capabilities and skills (verify, settle, supported, accepts).","operationId":"path_agent_card","responses":{"200":{"description":"A2A agent card","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/.well-known/agent-skills/index.json":{"get":{"tags":["Agentic"],"summary":"Agent skills index","description":"One entry, pointing at `/skill.md` with its real sha256 digest. A test fails the build if the digest stops matching the file.","operationId":"path_agent_skills_index","responses":{"200":{"description":"Skills index","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/.well-known/agent.json":{"get":{"tags":["Agentic"],"summary":"A2A agent card (legacy path)","description":"Byte-identical to `/.well-known/agent-card.json`. Several clients still look here first, and two cards that could disagree is worse than one served twice.","operationId":"path_agent_json_legacy","responses":{"200":{"description":"A2A agent card","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/.well-known/api-catalog":{"get":{"tags":["Agentic"],"summary":"API catalog (RFC 9727)","description":"The linkset: service-desc to the OpenAPI document, service-doc to the Swagger UI, service-meta to the agent manual, status to the health endpoint.","operationId":"path_api_catalog","responses":{"200":{"description":"RFC 9727 linkset","content":{"application/linkset+json":{"schema":{"type":"object"}}}}}}},"/.well-known/ard.json":{"get":{"tags":["Agentic"],"summary":"Agentic Resource Discovery catalog","description":"The ARD v0.91 catalog (<https://agenticresourcediscovery.org/spec>): one document naming every agentic resource this host offers -- the MCP server card, the A2A card, the skill, the OpenAPI and the llms.txt index. Each entry carries a domain-anchored `urn:air:` identifier, a media type, a `url`, and the representative queries a registry indexes on. The predecessor path `/.well-known/ai-catalog.json` is not served: the spec makes consulting it optional for consumers and tells publishers to move here.","operationId":"path_ard_json","responses":{"200":{"description":"ARD manifest: an object with an `entries` array","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/.well-known/mcp/server-card.json":{"get":{"tags":["Agentic"],"summary":"MCP server card","description":"Where the MCP server lives and what it can do: `transport.endpoint` is `POST /mcp`, and the `tools` array names every tool `tools/list` returns. `serverInfo.version` is stamped at runtime from the running release, so it cannot go stale.","operationId":"path_mcp_server_card","responses":{"200":{"description":"MCP server card","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/.well-known/oauth-protected-resource":{"get":{"tags":["Agentic"],"summary":"Protected resource metadata (RFC 9728)","description":"Published with an empty `authorization_servers` on purpose: it exists so an OAuth-capable agent can discover in one GET that this resource is NOT OAuth-protected, instead of trying and failing.","operationId":"path_oauth_protected_resource","responses":{"200":{"description":"RFC 9728 metadata","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/.well-known/receipt-keys.json":{"get":{"tags":["Core"],"summary":"Trusted issuer public Ed25519 JWK set","responses":{"200":{"description":"Trusted issuer public Ed25519 JWK set","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/.well-known/uvd-stack.json":{"get":{"tags":["Agentic"],"summary":"Stack interop manifest (uvd.stack/1)","description":"Who this service is (`app: \"facilitator\"`, the running `version` and `git_sha`), its two doors (`endpoints.api` and `endpoints.mcp`, both `auth: [\"none\"]`), that it charges nothing (`payments.charges: false`), where liveness (`/health`) and readiness (`/health/ready`) answer, links to the other agent documents, and `rate_limits`: every per-IP limit the router mounts, as `limit` requests per `window_s` seconds on the door it guards. Generated at runtime from the mounted limiters and the build, never written by hand, so it cannot disagree with the `RateLimit-Policy` header those same limiters send. The format is the `uvd.stack/1` manifest of the Ultravioleta DAO stack's interop specification.","operationId":"path_uvd_stack","responses":{"200":{"description":"uvd.stack/1 manifest","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/.well-known/x402":{"get":{"tags":["Agentic"],"summary":"x402 discovery document","description":"Declares `role: \"facilitator\"`, the verify/settle/supported endpoints, the four schemes and the networks. `paidRoutes` is empty because this service charges nothing and none of its routes answer 402. Token contract addresses are deliberately absent so the document cannot drift from the code; read them from `POST /accepts`.","operationId":"path_x402_discovery","responses":{"200":{"description":"x402 discovery document","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/accepts":{"post":{"tags":["Core"],"summary":"Negotiate payment requirements (Faremeter middleware)","description":"\nNegotiation endpoint used by `@faremeter/middleware` and compatible x402 clients.\n\nReceives merchant payment requirements, matches them against the facilitator's\nsupported capabilities, and returns enriched requirements with facilitator-specific\ndata (feePayer, tokens, escrow contracts, etc.).\n\n**How it works:**\n1. Middleware sends the merchant's desired payment requirements\n2. Facilitator filters to only those it can handle (matching scheme + network)\n3. Facilitator enriches each match with `extra` data (feePayer, tokens, features)\n4. Middleware uses the enriched requirements in the 402 response to clients\n\n**Supports both v1 and v2 network formats** (auto-detected):\n- v1: `\"network\": \"base\"` (string enum)\n- v2: `\"network\": \"eip155:8453\"` (CAIP-2 format)\n\n**Request body:**\n```json\n{\n  \"x402Version\": 1,\n  \"accepts\": [\n    {\n      \"scheme\": \"exact\",\n      \"network\": \"solana\",\n      \"maxAmountRequired\": \"10000\",\n      \"asset\": \"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v\",\n      \"payTo\": \"SomePublicKey...\",\n      \"description\": \"Access to premium API\",\n      \"maxTimeoutSeconds\": 90,\n      \"resource\": \"https://api.example.com/data\"\n    }\n  ],\n  \"error\": \"\"\n}\n```\n\n**Response (enriched):**\n```json\n{\n  \"x402Version\": 1,\n  \"accepts\": [\n    {\n      \"scheme\": \"exact\",\n      \"network\": \"solana\",\n      \"maxAmountRequired\": \"10000\",\n      \"asset\": \"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v\",\n      \"payTo\": \"SomePublicKey...\",\n      \"description\": \"Access to premium API\",\n      \"maxTimeoutSeconds\": 90,\n      \"resource\": \"https://api.example.com/data\",\n      \"extra\": {\n        \"feePayer\": \"F742C4VfFLQ9zRQyithoj5229ZgtX2WqKCSFKgH2EThq\",\n        \"tokens\": [\n          { \"token\": \"usdc\", \"address\": \"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v\", \"decimals\": 6 }\n        ]\n      }\n    }\n  ],\n  \"error\": \"\"\n}\n```\n\n**Requirements this facilitator cannot serve are reported, not dropped.**\n\nEvery requirement that does not survive the match comes back in `rejected`, an\narray that is ALWAYS present -- empty when everything matched. Each entry carries\nthe offending `index`, the `scheme` and `network` as you sent them, a `reason`\nfrom a bounded vocabulary, and an advisory `detail`.\n\n| `reason` | What it means | What to do |\n|---|---|---|\n| `malformed` | `scheme` or `network` missing, or not a string | Fix the requirement |\n| `network_unknown` | That string names no chain, in either spelling | Read `GET /supported` |\n| `scheme_unknown` | Not an x402 scheme this facilitator implements | Read `GET /supported` |\n| `network_unsupported` | A known chain this deployment does not serve | Offer another chain |\n| `scheme_unsupported_on_network` | Both known, but not that pair | `detail` names what IS served there |\n\n`reason` is a closed set -- switch on it. `detail` is prose and may change.\n\nNote the status code does not move: a negotiation in which nothing matched is\nstill `HTTP 200`, because the request was well formed. Branch on\n`accepts.length` and `rejected`, not on the status.\n","operationId":"path_accepts_post","requestBody":{"description":"Merchant payment requirements to negotiate","content":{"application/json":{"schema":{"type":"object"}}},"required":true},"responses":{"200":{"description":"Enriched payment requirements","content":{"application/json":{"schema":{"type":"object"},"example":{"x402Version":1,"accepts":[{"scheme":"exact","network":"base","maxAmountRequired":"1000000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x...","extra":{"tokens":[{"token":"usdc","address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","decimals":6}]}}],"rejected":[{"index":1,"scheme":"exact","network":"cosmos:hub-4","reason":"network_unknown","detail":"`cosmos:hub-4` names no chain this facilitator knows, under either the x402 v1 name (\"base\") or the CAIP-2 identifier (\"eip155:8453\"). GET /supported lists every network served, in both spellings"}],"error":""}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object"},"example":{"x402Version":1,"accepts":[],"error":"Missing or invalid 'accepts' array"}}}}}}},"/api/stats":{"get":{"tags":["Discovery"],"summary":"Pre-aggregated totals per network and asset","description":"Totals maintained on write, so the cost of this call does not grow with history — it never scans.\n\nTwo caveats travel in the response body because they change how the numbers should be read. **Operations that ERROR are not recorded at all**, so a 100% success rate means 'no failures were recorded', not 'no failures occurred'. And **counting began when the store was enabled**, so anything settled before that is unknown rather than zero.\n\n`volumeAtomic` is a STRING: these are u256-shaped values and a JSON number silently loses precision above 2^53.","operationId":"path_api_stats","responses":{"200":{"description":"Aggregated totals","content":{"application/json":{"schema":{"type":"object"}}}},"503":{"description":"Store unavailable or not configured"}}}},"/auth.md":{"get":{"tags":["Agentic"],"summary":"Authentication guide","description":"How to authenticate against this facilitator, which is: you do not. No accounts, no API keys, no OAuth. Documents the per-IP rate limits and the operator-only admin routes instead.","operationId":"path_auth_md","responses":{"200":{"description":"Markdown auth guide","content":{"text/markdown":{"schema":{"type":"string"}}}}}}},"/bazaar":{"get":{"tags":["Bazaar"],"summary":"Bazaar explorer UI","description":"\nServes the HTML Bazaar explorer: a browsable view of the curated catalog backed by\n`GET /discovery/resources` and `GET /discovery/stats`.\n\nReturns `text/html`, not JSON. Use the discovery endpoints for programmatic access.\n","operationId":"path_bazaar_ui","responses":{"200":{"description":"Bazaar explorer HTML page","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/blacklist":{"get":{"tags":["Compliance"],"summary":"Get OFAC sanctioned addresses","description":"\nReturns the list of OFAC sanctioned blockchain addresses. Payments involving these addresses are blocked.\n\n**Response:**\n```json\n{\n  \"addresses\": [\"0x...\", \"0x...\"],\n  \"lastUpdated\": \"2026-01-15T00:00:00Z\",\n  \"source\": \"OFAC SDN List\"\n}\n```\n","operationId":"path_blacklist","responses":{"200":{"description":"Sanctioned addresses list","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/config":{"get":{"tags":["Health"],"summary":"The rate policy in force","description":"What this task enforces, as it was configured at startup: every per-IP budget (`rateLimits.budgets`: its routes, the period of one token, the burst, the defaults and the two variables that override them; `name` is the one its `RateLimit-Policy` header carries, and the same budgets are `rate_limits` of `/.well-known/uvd-stack.json`), the stack identities that skip those budgets (by service name, with how many credentials each holds -- never a key or a digest), the IP allowlist that skips them too (`ipAllowlist`: how many entries are in force and how its last read went -- `ok`, `unreadable`, `missing`, `failing`, `stale` or `never` -- as it stands at this request; never an address), admission (the per-address ceiling behind `429 too_many_concurrent_requests`, the body deadline behind `408 request_timeout`, the task's ceiling behind `503 overloaded`), and the ERC-8004 daily write limit per network.\n\n**What skips what.** A request carrying a recognized `X-UVD-Stack-Key` is not charged to its address by any budget nor by the per-address ceiling, and is answered with `x-ratelimit-exempt: <service>` and no `RateLimit-Policy` or `RateLimit`; an absent, malformed, unknown or revoked key is charged like any other caller. A request whose client address (the last `X-Forwarded-For` entry, the one the load balancer appends) is on the IP allowlist skips the same, answered with `x-ratelimit-exempt: ip-allowlist`. Neither the body deadline, nor the task's ceiling of concurrent requests (`503`, every caller), nor the daily write limit (`429 erc8004_daily_write_limit`, how many writes the facilitator pays gas for), nor the gas ceiling of each write's transactions where a network has one (`400 erc8004_gas_over_limit`) is skipped.\n\nRate limited per IP like the other cheap reads.","operationId":"path_config","responses":{"200":{"description":"The effective policy","content":{"application/json":{"schema":{"type":"object"},"example":{"rateLimits":{"keyedOn":"client IP: the last X-Forwarded-For entry, else the TCP peer","refusal":{"status":429,"code":"rate_limited"},"budgets":[{"name":"verify-settle","routes":"/verify, /settle, /receipts/*, /.well-known/receipt-keys.json, POST /mcp","periodMs":2000,"burst":30,"default":{"periodMs":2000,"burst":30},"env":["VERIFY_SETTLE_RATE_PER_MS","VERIFY_SETTLE_RATE_BURST"]}]},"stackIdentities":{"header":"X-UVD-Stack-Key","active":1,"services":[{"name":"execution-market","active":true,"credentials":1},{"name":"karmakadabra","active":false,"credentials":0}],"exemptFrom":["every budget under rateLimits","overload.perClient"],"notExemptFrom":["overload (the global ceiling)","overload.bodyDeadlineMs","erc8004DailyWriteCap","the RPC provider throttle"]},"ipAllowlist":{"enabled":true,"entries":1,"lastRead":"ok","refreshSecs":300,"exemptHeader":"x-ratelimit-exempt: ip-allowlist","exemptFrom":["every budget under rateLimits","overload.perClient"],"notExemptFrom":["overload (the global ceiling)","overload.bodyDeadlineMs","erc8004DailyWriteCap","the RPC provider throttle"]},"overload":{"maxInflightRequests":512,"env":"MAX_INFLIGHT_REQUESTS","refusal":{"status":503,"code":"overloaded","retryAfterSecs":1},"slotTakenAfterTheBody":true,"neverShed":["/health"],"perClient":{"maxInflightRequests":32,"env":"MAX_INFLIGHT_PER_CLIENT","refusal":{"status":429,"code":"too_many_concurrent_requests","retryAfterSecs":1}},"bodyDeadlineMs":5000,"bodyDeadlineEnv":"REQUEST_BODY_DEADLINE_MS","bodyRefusal":{"status":408,"code":"request_timeout"}},"erc8004DailyWriteCap":{"mounted":true,"defaultPerNetwork":1000,"perNetwork":{"ethereum":100,"solana":150},"maxGasPerWrite":{"perNetwork":{"robinhood":1000000,"robinhood-testnet":1000000},"otherNetworks":"no ceiling","env":"ERC8004_MAX_GAS_<NETWORK>","refusal":{"status":400,"errorCode":"erc8004_gas_over_limit"}}}}}}},"429":{"description":"Rate limited: same per-IP governor as the other cheap reads"}}}},"/discovery/admin/pending":{"get":{"tags":["Bazaar"],"summary":"Resources not exposed (admin)","description":"\n**Admin only.** Every resource the Bazaar does NOT expose -- not verified alive -- with its\n`health`, ordered by URL so an offset walk is stable. The public routes serve verified alive\nonly and no parameter widens them; this is the one way to see the rest while the prober works\non it.\n\nRequires an `Authorization: Bearer <BAZAAR_ADMIN_TOKEN>` header. When the server has no admin\ntoken configured the whole admin surface is absent and this route returns **404**.\n\nRate limited like the other admin routes. `limit` is capped at 100.\n\n**Response:** the same shape as `GET /discovery/resources`.\n","operationId":"path_bazaar_admin_pending","parameters":[{"name":"limit","in":"query","description":"Page size (default 100, at most 100)","required":false,"schema":{"type":"integer","format":"int32","minimum":0}},{"name":"offset","in":"query","description":"Records to skip (default 0)","required":false,"schema":{"type":"integer","format":"int32","minimum":0}},{"name":"Authorization","in":"header","description":"Bearer <BAZAAR_ADMIN_TOKEN>","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"A page of the resources not exposed","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"Missing or invalid bearer token","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Admin surface disabled (no admin token configured)","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/discovery/admin/release":{"post":{"tags":["Bazaar"],"summary":"Release a suppressed resource (admin)","description":"\n**Admin only.** Reverses `POST /discovery/admin/suppress`, making the resource visible in\nlistings again.\n\nRequires an `Authorization: Bearer <BAZAAR_ADMIN_TOKEN>` header. When the server has no admin\ntoken configured the whole admin surface is absent and this route returns **404**.\n\nRate limited to roughly 5 requests per minute per IP.\n\n**Request body:**\n```json\n{ \"url\": \"https://api.example.com/paid\" }\n```\n\n**Response:**\n```json\n{ \"success\": true, \"url\": \"https://api.example.com/paid\", \"suppressed\": false }\n```\n","operationId":"path_bazaar_admin_release","parameters":[{"name":"Authorization","in":"header","description":"Bearer <BAZAAR_ADMIN_TOKEN>","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Release request: url of the suppressed resource","content":{"application/json":{"schema":{"type":"object"}}},"required":true},"responses":{"200":{"description":"Resource released","content":{"application/json":{"schema":{"type":"object"},"example":{"success":true,"url":"https://api.example.com/paid","suppressed":false}}}},"401":{"description":"Missing or invalid bearer token","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Admin surface disabled (no admin token configured)","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/discovery/admin/suppress":{"post":{"tags":["Bazaar"],"summary":"Suppress a resource (admin)","description":"\n**Admin only.** Hides a resource from every listing without deleting it, so the entry can be\nreleased later.\n\nRequires an `Authorization: Bearer <BAZAAR_ADMIN_TOKEN>` header. When the server has no admin\ntoken configured the whole admin surface is absent and this route returns **404**.\n\nRate limited to roughly 5 requests per minute per IP.\n\n**Request body:**\n```json\n{ \"url\": \"https://api.example.com/paid\", \"reason\": \"spam\" }\n```\n\n**Response:**\n```json\n{ \"success\": true, \"url\": \"https://api.example.com/paid\", \"suppressed\": true }\n```\n","operationId":"path_bazaar_admin_suppress","parameters":[{"name":"Authorization","in":"header","description":"Bearer <BAZAAR_ADMIN_TOKEN>","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Suppression request: url plus a reason string","content":{"application/json":{"schema":{"type":"object"}}},"required":true},"responses":{"200":{"description":"Resource suppressed","content":{"application/json":{"schema":{"type":"object"},"example":{"success":true,"url":"https://api.example.com/paid","suppressed":true}}}},"401":{"description":"Missing or invalid bearer token","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Admin surface disabled (no admin token configured)","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/discovery/attestation/{hash}":{"get":{"tags":["Bazaar"],"summary":"Get attestation evidence","description":"\nServes the hosted ERC-8004 attestation evidence body referenced by an on-chain curation\nattestation. The path key is a lowercase sha256 hex digest of the attested resource URL:\nexactly 64 characters matching `[0-9a-f]{64}`. Any other shape is rejected with 400 so a URL\npath segment can never be mapped to arbitrary content.\n\n**Response (application/json):**\n```json\n{\n  \"type\": \"uptime\",\n  \"endpoint\": \"https://mcp.execution.market/mcp\",\n  \"network\": \"base\",\n  \"agentId\": 2106,\n  \"uptime\": 99.77,\n  \"window\": { \"probes\": 100, \"ok\": 99 },\n  \"prober\": \"uvd-bazaar-health/1.0\"\n}\n```\n","operationId":"path_bazaar_attestation","parameters":[{"name":"hash","in":"path","description":"Lowercase sha256 hex digest of the resource URL (64 chars, [0-9a-f]{64})","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Attestation evidence body","content":{"application/json":{"schema":{"type":"object"},"example":{"type":"uptime","endpoint":"https://mcp.execution.market/mcp","network":"base","agentId":2106,"uptime":99.77,"window":{"probes":100,"ok":99},"prober":"uvd-bazaar-health/1.0"}}}},"400":{"description":"Invalid evidence key format (not a 64-char lowercase hex digest)","content":{"text/plain":{"schema":{"type":"string"}}}},"404":{"description":"No evidence stored for that key","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/discovery/config":{"get":{"tags":["Bazaar"],"summary":"The tuning this task actually resolved","description":"\nEvery parameter that governs how much background work the Bazaar does, with the value **this\nrunning task resolved**, plus a few live counters.\n\nIt exists because during the 2026-09-10 incident nobody could ask a running task what it had\nresolved: the numbers were reasoned about from what people believed was configured. Each\nparameter is defined once, in one module, and this endpoint publishes that same resolution.\n\nPublic and unauthenticated: it is a list of tuning numbers and switches, it holds nothing that\ncould not be read from the source, and the whole point is that it can be read during an\nincident. **No credential, endpoint or key is defined in this registry**, so none can appear\nhere.\n\nGroups follow what each one costs: `catalog` (how many records are held, how many are taken\nfrom one source per cycle, and `maxPerHost` -- `maxHostSharePercent` of `maxResources`, never\nfewer than 50, null when the share is off: when a full catalog has to make room, copies that are\nnot verified alive go before any that are, and within each a host's aggregated copies beyond that\nnumber go right after the duplicates of a templated family; a catalog with room is never trimmed\nfor it, and a first-hand listing never; and `scanPastCap` -- the `sources` read past\n`maxItemsPerSource`, `pagesPerCycle` pages of `pageSize` a cycle, resuming where the last cycle\nstopped, keeping only copies of listings already held, so nothing new enters that way),\n`healthProber` (the probe budget -- `budgetPerTick` is\n`maxRps * tickSeconds` and is the number the revalidation queue spends from, never adds to; a\nread of an origin's `/.well-known/x402` is one request of it, and of its host's),\n`revalidation`, `observedTerms`, `ownership` (the origin proof of listings from open routes:\n`requireOriginProof`, off unless phase 2 is on, `cacheSeconds` and `retrySeconds` between reads\nof one origin's `/.well-known/x402` -- `retrySeconds` never above `cacheSeconds`, and both the\nvalues in force -- and `maxFileBytes` read of it), `search` (`maxQueryChars`, the longest `q` that\n`GET /discovery/resources` accepts, which the `/bazaar` page reads instead of typing it), and\n`runtime` (whether this replica owns the periodic jobs, the queue depth, and the catalog size\nright now).\n\nA diagnostic, not a contract: names and groups follow the code.\n","operationId":"path_bazaar_config","responses":{"200":{"description":"Resolved configuration","content":{"application/json":{"schema":{"type":"object"},"example":{"catalog":{"maxResources":2000,"maxItemsPerSource":1000,"maxHostSharePercent":5,"maxPerHost":100},"healthProber":{"tickSeconds":60,"maxRps":2,"concurrency":8,"budgetPerTick":120,"overlayPersistSeconds":300},"revalidation":{"enabled":true,"longTailSharePercent":40,"coalesceWindowSeconds":300,"queueCap":500,"perHostPerTick":2,"backoffBaseSeconds":60,"backoffMaxSeconds":3600},"observedTerms":{"freshnessWindowSeconds":604800,"maxRecords":2000},"search":{"maxQueryChars":400},"runtime":{"ownsPeriodicJobs":true,"revalidationQueueDepth":12,"catalogHeld":2000}}}}}}}},"/discovery/refresh":{"post":{"tags":["Bazaar"],"summary":"Tell the catalog a resource's price moved","description":"\nInvalidates what we last read for a resource and puts it at the front of the revalidation queue.\n\n**It never accepts terms.** The body names a resource; it does not carry a price, and if it did\nthat price would not be stored. The server goes back to the origin and reads the challenge\nitself before believing anything. A notification that could write a price would be a way to\npublish a price for somebody else's endpoint by sending us JSON.\n\nThe resource has to be one already in the catalog. A refresh request for an arbitrary URL would\notherwise be a way to make this service fetch an address on demand.\n\n`202` with `\"queued\": false` is **not** a failure: it means an identical request is already in\nflight for this window, which is the coalescing working as intended.\n\nRequires `Authorization: Bearer <BAZAAR_ADMIN_TOKEN>`. Opening this to resource owners needs\nper-owner credentials, which is a key-management design rather than a change to this handler.\n","operationId":"path_bazaar_refresh","requestBody":{"description":"Resource to revalidate","content":{"application/json":{"schema":{"type":"object"},"example":{"url":"https://api.example.com/premium-data"}}},"required":true},"responses":{"202":{"description":"Queued (or already queued for this window)","content":{"application/json":{"schema":{"type":"object"},"example":{"success":true,"url":"https://api.example.com/premium-data","queued":true}}}},"401":{"description":"Missing or wrong admin token"},"404":{"description":"The resource is not in the catalog"}},"security":[{"bearer_auth":[]}]}},"/discovery/register":{"post":{"tags":["Bazaar"],"summary":"Register a resource","description":"\nRegisters a paid resource in the Bazaar catalog so clients can discover it via\n`GET /discovery/resources`.\n\n**Rate limited** to roughly 5 requests per minute per IP. Registration itself fetches nothing:\nthe health prober reads the URL afterwards, in the background.\n\n**Request body:**\n```json\n{\n  \"url\": \"https://api.example.com/paid\",\n  \"type\": \"http\",\n  \"description\": \"Premium market data API\",\n  \"accepts\": [\n    {\n      \"scheme\": \"exact\",\n      \"network\": \"eip155:8453\",\n      \"asset\": \"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\",\n      \"amount\": \"10000\",\n      \"payTo\": \"0x...\",\n      \"maxTimeoutSeconds\": 300\n    }\n  ],\n  \"metadata\": {\n    \"provider\": \"Example\",\n    \"category\": \"data\",\n    \"tags\": [\"api\"]\n  },\n  \"extensions\": {\n    \"bazaar\": {\n      \"info\": {\n        \"input\": { \"type\": \"http\", \"method\": \"POST\", \"bodyType\": \"json\", \"body\": { \"symbol\": \"AAPL\" } },\n        \"output\": { \"type\": \"json\", \"example\": { \"price\": 189.5 } }\n      }\n    }\n  }\n}\n```\n\n**Fields:**\n- `type` (required): one of `http`, `mcp`, `a2a`, `facilitator`.\n- `accepts` (required, except for `facilitator` entries): payment options. `network` accepts\n  CAIP-2 (`eip155:8453`) or the x402 v1 name (`base`); `amount` accepts `maxAmountRequired` as\n  its v1 spelling.\n- `metadata` (optional): `provider`, `category`, `tags`, and `upstream` -- the service the\n  listing resells or wraps (`exa`, `tavily`, `firecrawl`...; an id or name of the closed list in\n  `GET /discovery/resources`, any case). Each is stored as declared; a listing that declares no\n  `category` has one inferred from what it says about itself.\n- `extensions` (optional): resource-level x402 extensions, stored as registered (within a size\n  and depth bound). `extensions.bazaar` is\n  where you declare what to send and what comes back -- `info.input` / `info.output`, and\n  optionally a JSON Schema in `schema` -- exactly as the x402 bazaar extension publishes it in a\n  402. A listing that declares its input reports `hasInputSchema: true`, and the health prober\n  calls it with the method it declares (with `{}`, and with your example body only when `{}` is\n  refused with a 400 or 422) instead of a bare GET. Register no input and the prober takes the\n  one your own 402 declares in `extensions.bazaar` (`extensionsProvenance: origin_response`, the\n  parts it filled in listed in `extensionsAdopted`), unless that 402's `resource.url` names\n  another resource (another host or path); what you register is never replaced or removed. A\n  method taken that way is where the prober starts, not one it is held to: it keeps the one-retry\n  fallback of a listing that declares none.\n\n**Schemes you cannot settle here are still registrable.** `scheme` is stored as published, so a\nlisting for a scheme this facilitator does not implement is catalogued under its own name rather\nthan rewritten to `exact`. The listing then reports `settleable: false` with a reason.\n\n**Validation (400):** an `amount` that is not a non-negative integer in the asset's atomic units\n(a decimal such as `\"0.002\"`, a negative, a hex literal, or a value beyond 2^256-1); `amount` and\n`maxAmountRequired` both present and disagreeing; an unrecognized `network`; userinfo embedded in\nthe URL (`https://user:pass@host`); a host resolving to a private / loopback / link-local / cloud\nmetadata IP; or an empty `accepts` array on a non-`facilitator` type.\n\nAn unreadable amount is a `400`. It is never accepted and stored as zero, which would publish\nyour endpoint as free.\n\n**Ownership.** Registration takes the URL and the description from anyone, so the listing reports\nwhether its own origin vouches for what it says. `health.ownership` is `origin-attested` when\n`/.well-known/x402` on the URL's host has an entry for the URL, in the same format as the request\nbody above, that declares every `payTo` your `accepts` declare (with its network), the same\n`description`, and the same `category`, `provider` and `tags` wherever your `metadata` names\nthem; `unattested` when there is no such file or entry, a JSON document that lists no resources\n(emptying the file to `{}` takes your word back), or an entry that says something else -- an\nentry that only lists the URL vouches for nothing -- and `unknown` when the file could not be\nread, including a 401/403 or a body that is not JSON (what a WAF or a CDN answers a bot). An\n`unknown` read leaves an earlier verdict on the same listing standing for\n`observedTerms.freshnessWindowSeconds` of `GET /discovery/config`, and no longer. The verdict is\nabout the listing it judged: the same URL registered again with other content does not carry\nit. The entry's `url` is matched exactly as written, apart from the host's case, a trailing dot\nand the default port, and your listing's URL has to be in its plain spelling\n(`https://host./path` is never attested). The health prober reads that file at the root of your\nURL's origin, never during this request and never inside a probe: once your listing verifies\nalive, on a later tick, as one request of the few it makes to your host per tick, and not while\nyour host has asked it to back off (a 429 or 503 to the file, with its `Retry-After`, counts like\none to a probe). That is normally once per origin per `ownership.cacheSeconds`, sooner after a\nread that failed (`ownership.retrySeconds`), and at most `ownership.maxFileBytes` of it. A file\nserved from another host after a redirect counts as none. With `DISCOVERY_REQUIRE_ORIGIN_PROOF`\non, a self-registered listing that is not `origin-attested` is not listed.\n\n**409:** the URL is already in the catalog, from any source, listed or still waiting for its\nfirst verification. There is no public route to update or remove a listing; the operator does\nthat.\n","operationId":"path_bazaar_register","requestBody":{"description":"Resource registration request","content":{"application/json":{"schema":{"type":"object"}}},"required":true},"responses":{"201":{"description":"Resource registered","content":{"application/json":{"schema":{"type":"object"},"example":{"success":true,"message":"Resource registered successfully","url":"https://api.example.com/paid"}}}},"400":{"description":"Validation failure (bad scheme, URL userinfo, private/metadata IP host, empty accepts)","content":{"application/json":{"schema":{"type":"object"}}}},"409":{"description":"Resource already registered","content":{"application/json":{"schema":{"type":"object"}}}},"429":{"description":"Rate limited (roughly 5 requests per minute per IP)","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/discovery/resources":{"get":{"tags":["Bazaar"],"summary":"List curated bazaar resources","description":"\nLists x402-enabled resources known to the curated Bazaar catalog.\n\n**Ordering:** without `q`, and with a one-word `q`, results are sorted by curated tier first\n(`first_party` > `vip` > `verified` > `listed`), then by liveness (`alive` resources first), then\nby `lastUpdated` descending, then by `url`, so a page walked by `offset` is the same page on every\nreplica. A settlement does not reorder the listing: it moves `lastSettledAt`, never `lastUpdated`.\nA `q` in plain words is ordered by relevance (below).\n\n**Search (`q`, `sort`).** `q` takes a keyword or a whole request as an agent would phrase it,\nup to 400 characters: `q=find a person's work email`. Up to 2.46.1 the limit was 128, and\n`uvd-x402-sdk` for Python still checks `q` against 128 before sending; a longer request through\nthat SDK needs a release of it that lifts the check. How `q` matches depends on `sort`:\n\n- `sort=relevance` ranks by BM25 over the listing's host and path, description, provider,\n  category, tags and the field names and descriptions it declares in `extensions.bazaar`. Case,\n  accents and plurals do not matter, English and Spanish function words are ignored, and a small\n  fixed vocabulary joins words that mean the same thing to a buyer (`weather` / `forecast` /\n  `clima`, `price` / `quote` / `precio`, `scrape` / `read` / `extract`, ...). Nothing is sent\n  anywhere to rank: no model, no embedding service. The curated tier **multiplies** relevance\n  (`first_party` x1.3, `vip` x1.2, `verified` x1.1); it never outranks a listing that matches the\n  request better. Relevance is scaled by **how much of the request** the listing covers (each\n  word weighted by how rare it is in the catalog), so one shared word repeated everywhere does\n  not beat a listing that does the task: a CSS scraper that says \"selector\" does not outrank a\n  keccak selector tool for `keccak selector`. A word written with digits after it is also\n  read without them, at half weight (`keccak256` finds `keccak`, `gpt4o` finds `gpt`).\n- Under `relevance`, a listing **about something else** does not answer, however many words it\n  shares. A request that names a chain (`solana`, `base`, `ethereum`, ...) never gets a listing\n  that names only other chains: `solana rpc getLatestBlockhash` against a catalog with no\n  Solana RPC returns nothing rather than a HyperEVM one. A listing's chains are the ones its\n  host or path names, and the ones its description or schema names in a word that is nothing\n  else (`solana`, `ethereum`; never `base`, `polygon`, `optimism` or `linea`); the networks it is\n  paid on are never read. A chain name inside an ordinary phrase (`base de datos`,\n  `knowledge base`, `en línea`) names no chain, in a request or a listing. A request whose words\n  fall in categories (the inference rules of\n  `categories`, below, applied to `q`: `stock quote` is `finance`, `trending meme coins` is\n  `crypto`) is answered by a listing in the best of them; a listing in a runner-up, or in no\n  category (or only `data`), has to cover at least half of the request, and a listing only in\n  other categories has to cover all of it. Paid content (`kind: content`) stays in such a\n  result at a quarter of its relevance, behind the tools. A listing that contains `q` word for\n  word and was excluded is still kept when `q` is at most 128 characters -- every listing the\n  substring match below would have kept stays -- ranked after every listing a word scored.\n- At the top of a relevance result no host keeps more than two places, no set of recipients\n  (every `payTo` a listing's options pay, as one group, so naming a competitor's address in one\n  option does not spend the competitor's places) more than two, and no templated family\n  (`/stock-history/{ticker}`) more than one: their\n  further results follow every other one's, still in relevance order, so a seller with a\n  hundred templated endpoints, or one seller on many hosts, cannot fill a page. This is the\n  order only: nothing is dropped, `total` is unchanged, and no listing is ever refused or\n  evicted from the catalog for it.\n- `sort=tier` is the search this endpoint had through 2.46.1, unchanged: listings whose url,\n  description, provider, category or a tag **contain** `q` (ASCII case ignored), in the catalog\n  order above. It takes `q` of at most 128 characters.\n- Without `sort`, a `q` of two or more words, or longer than 128 characters, gets `relevance`, and\n  a one-word `q` gets `tier` -- so a caller that looks up a word and re-sorts the page keeps\n  getting exactly the page it got before. `total` counts every match either way.\n\n**Router filters.** Each one narrows the result and can be combined with any other parameter.\nA value that cannot mean anything is a 400 naming the parameter, never a filter quietly applied\nto nothing.\n\n- `maxPriceUsd` -- at least one payment option in a **dollar stablecoin** we have registered\n  costs at most this many US dollars (`0.01`). The comparison is in the token's atomic units at\n  that deployment's decimals; digits past them round the limit down. An option in an asset we\n  cannot value in dollars -- an unknown token, EURC -- does not count toward it.\n- `method` -- `GET`, `POST`, `PUT` or `PATCH`, as the listing declares it, read the way the\n  health prober reads a declaration: `extensions.bazaar.info.input.method`, else the method its\n  `bazaar` JSON Schema input names, else `POST` when it declares a body (a declared `HEAD` or\n  `DELETE` reads as `GET`). An HTTP listing that declares none is `GET`; MCP, A2A and\n  facilitator listings have no method and never match.\n- `hasInputSchema` -- `true` keeps listings that say what to send: a non-empty\n  `extensions.bazaar.info.input`, or a non-empty `input` property in `extensions.bazaar.schema`.\n  `false`, the rest.\n- `kind` -- `api` or `content`: the listing's own `kind` field (below).\n- `excludeHost` -- comma-separated host names, at most 20, each removing that host and its\n  subdomains (`excludeHost=example.com` removes `api.example.com`, not `notexample.com`). A\n  scheme, path, port or credentials in a value is a 400.\n\n**Exposure:** only resources **verified alive** are listed: the last probe, made with the request\nthe listing declares, read a valid x402 challenge in a 402 -- or, for an MCP endpoint, completed\nits handshake (`initialize`, then `tools/list`) and listed at least one tool -- no longer ago than\nthe observed-terms freshness window, and the resource is not quarantined. The 402, and each\nhandshake answer, has to be the listing's own answer to that request (not one another host gave\nafter a redirect, nor one a 301/302/303 reached by turning the request into a GET); the 402 has\nto offer at least one payment option we can read. `health.verifiedAt` says when and `health.verifiedBy` how (`x402_challenge` |\n`mcp_handshake`). A listing that came in on a route taking a URL from anyone (`POST\n/discovery/register`, or a settlement asking to be discoverable) also carries `health.ownership`\n(`origin-attested` | `unattested` | `unknown`): whether its own origin's `/.well-known/x402`\ndeclares the same terms for its URL (see `POST /discovery/register`). It narrows nothing unless\nthe operator turns on `DISCOVERY_REQUIRE_ORIGIN_PROOF` (`GET /discovery/config` `ownership`). A handshake shows the MCP server is up and reads no payment terms, so an MCP\nlisting on a curated product's host -- whatever the scheme or path of its URL -- is listed only\nwhen every option it declares pays one of that product's own recipients. Auth-gated,\ndegraded, quarantined, unprobeable and never-probed resources are not listed, and no parameter\nlists them: they stay in the catalog and keep being probed until a verification promotes them.\nSo every listed resource has `health.status` `alive`, and `health` can only narrow what is\nexposed. A full offset walk returns exactly `GET /discovery/stats` `visible`.\nEach resource is probed, unpaid, with the method its `bazaar` extension declares (a body\nmethod is sent `{}`, and the listing's own example only when `{}` is refused with a 400 or\n422); one that declares none is probed with GET, and with one POST `{}` when that GET answers\n405, 400 or 404. An MCP endpoint is probed by its handshake: `initialize`, the `initialized`\nnotification and `tools/list`, with the session the server assigns sent back to it.\n`health.probeMethod` is the method of the last probe of an HTTP listing. `health.uptimeBps` is\nthe share of the `health.probeCount` probes recorded for the resource that found it up, in basis\npoints. (`health.quarantineReason` -- `fail_streak` or `pay_to_drift` -- is only ever set on a\nquarantined resource, so it shows in the admin view of the pending queue, not here.)\n\n**Response:**\n```json\n{\n  \"x402Version\": 2,\n  \"items\": [\n    {\n      \"url\": \"https://api.meshrelay.xyz/payments/access/alpha-test\",\n      \"type\": \"http\",\n      \"x402Version\": 2,\n      \"description\": \"MeshRelay premium IRC channel access\",\n      \"accepts\": [\n        {\n          \"scheme\": \"exact\",\n          \"network\": \"eip155:8453\",\n          \"asset\": \"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\",\n          \"amount\": \"100000\",\n          \"payTo\": \"0xe4dc963c56979E0260fc146b87eE24F18220e545\",\n          \"maxTimeoutSeconds\": 300\n        }\n      ],\n      \"lastUpdated\": 1784818083,\n      \"sourceUpdatedAt\": 1784818083,\n      \"lastSettledAt\": 1784899100,\n      \"recordVersion\": 2,\n      \"contentHash\": \"9f2c1d…\",\n      \"priceFreshness\": \"fresh\",\n      \"termsObservedAt\": 1784900000,\n      \"observationExpiresAt\": 1785504800,\n      \"priceRevalidation\": \"idle\",\n      \"observedTerms\": {\n        \"accepts\": [\n          {\n            \"scheme\": \"exact\",\n            \"network\": \"eip155:8453\",\n            \"asset\": \"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\",\n            \"amount\": \"100000\",\n            \"payTo\": \"0xe4dc963c56979E0260fc146b87eE24F18220e545\",\n            \"maxTimeoutSeconds\": 300\n          }\n        ],\n        \"observedAt\": 1784900000,\n        \"context\": { \"method\": \"GET\", \"resourceType\": \"http\", \"authenticated\": false },\n        \"phase\": \"verification\",\n        \"provenance\": \"origin_response\",\n        \"transport\": \"header\",\n        \"x402Version\": 2,\n        \"httpStatus\": 402\n      },\n      \"metadata\": {\n        \"provider\": \"MeshRelay\",\n        \"category\": \"communication\",\n        \"tags\": [\"irc\"]\n      },\n      \"source\": \"self_registered\",\n      \"sourceFacilitator\": null,\n      \"firstSeen\": 1784818112,\n      \"health\": {\n        \"status\": \"alive\",\n        \"lastChecked\": 1784900000,\n        \"httpStatus\": 402,\n        \"latencyMs\": 240,\n        \"uptimeBps\": 9977,\n        \"probeCount\": 1312,\n        \"probeMethod\": \"POST\",\n        \"verifiedAt\": 1784900000,\n        \"verifiedBy\": \"x402_challenge\"\n      },\n      \"curation\": {\n        \"tier\": \"first_party\",\n        \"label\": \"MeshRelay\",\n        \"firstParty\": true,\n        \"verification\": {\n          \"protocol\": \"erc8004\",\n          \"network\": \"base\",\n          \"agentId\": 2106,\n          \"feedbackCount\": 0,\n          \"uptime\": 99.77\n        }\n      },\n      \"kind\": \"api\",\n      \"categories\": [\"communication\"],\n      \"categorySource\": \"declared\",\n      \"hasInputSchema\": false\n    }\n  ],\n  \"pagination\": { \"limit\": 10, \"offset\": 0, \"total\": 1951 }\n}\n```\n\n**Optional fields:** `metadata`, `sourceFacilitator`, `firstSeen`, `sourceUpdatedAt`,\n`lastSettledAt`, `extensions`, `health`, `curation` and `observedTerms` are omitted when\nunknown. Only `url`, `type`, `x402Version`, `accepts`, `lastUpdated`, `recordVersion` and\n`source` are always present.\n\n**Timestamps** (`firstSeen`, `lastUpdated`, `sourceUpdatedAt`, `lastSettledAt`,\n`termsObservedAt`, `health.lastChecked`) are Unix epoch **seconds**, serialized as JSON numbers\n-- not ISO-8601 strings and not milliseconds.\n\n**Four dates, four different questions.** None of them is interchangeable with another, and\nnone of them is evidence on its own that a price is current:\n\n| Field | Answers | Whose clock |\n| --- | --- | --- |\n| `lastUpdated` | when this registry last wrote the record | ours |\n| `sourceUpdatedAt` | the date the source itself claimed for the content | theirs |\n| `lastSettledAt` | when a payment for this resource last settled through us | ours, observed |\n| `termsObservedAt` | when we last read the origin's live payment challenge | ours, observed |\n\n`sourceUpdatedAt` is **absent when the source published none**; it is not filled in with the\ntime of the fetch, because an undated re-download of stale content is not news.\n`lastSettledAt` is commercial **activity**: somebody paid, which says nothing about whether\nthese terms are still on offer, and for `upto` the amount that settled is legitimately below\nthe ceiling that was authorized. Only `termsObservedAt` is about the price, and only for the\nrequest context recorded next to it.\n\n**`priceFreshness`** is `fresh`, `stale`, `unknown` or `conflict`, and it is **independent of\n`health`**. An endpoint can answer 402 perfectly while nothing has ever read what it charges\n(`unknown`), and a quarantined one can carry a price read an hour ago.\n\n- `fresh` -- the origin's challenge was read inside the freshness window and agrees with\n  `accepts`. It is a statement about a past reading, not a quote: get the 402 for your own\n  request before you sign.\n- `stale` -- read, but the reading has aged out of the window or the listing has been revised\n  since. Revalidation is due.\n- `unknown` -- never read. The listing may be perfectly right; nothing has checked.\n- `conflict` -- a current reading disagrees with `accepts` on a comparable option, or the\n  origin advertises nothing comparable to what is listed. Both sides are returned; neither is\n  deleted in favour of the other.\n\nTwo options are **comparable** only when scheme, network, asset and `payTo` all match. The\nsame number in a different currency, on a different chain, or to a different recipient is not\nthe same commercial offer, so it is never reported as a price change.\n\n**`observedTerms`** is that reading in full: `accepts` as the origin declared them,\n`observedAt`, the `context` it was read in (`method`, `resourceType`, `authenticated` -- the\nprober issues an unauthenticated `GET`, so a variant behind a login or a parameterized `POST`\nstays unverified rather than being reported as free or dead), the `phase`\n(`verification` for a challenge, where an `upto` amount is the ceiling; `settlement` for a\ncompleted payment, where it can be the charge), the `provenance`, and the `transport` the\nchallenge arrived on. When the `PAYMENT-REQUIRED` header and the response body declare\ndifferent terms, the higher protocol version wins, the header wins a tie, and the losing\nreading is kept whole under `conflict` -- the two are never blended into an offer nobody made.\n`observedTerms.accepts` carries no `extra`: the declared listing is where a scheme's\nparameters live.\n\n**`contentHash`** fingerprints what is being sold and for how much -- url, type, description,\nmetadata, extensions and every declared payment option -- and nothing else. Two records with\nthe same hash are the same offer, however many times either was downloaded. It detects change;\nit does not prove origin and it does not prove currency.\n\n**`recordVersion`** is the shape the stored record was written in. `1` predates the date model\nabove: on such a record an absent `lastSettledAt` or `sourceUpdatedAt` means *never recorded*,\nnot *never happened*. Records are rewritten to the current version only when something touches\nthem, so the field is also how a consumer tells \"the new format is deployed\" from \"the catalog\nhas been rewritten in it\".\n\n**`priceRevalidation`** is `idle`, `pending` or `not_verifiable`, and it answers a different\nquestion from `priceFreshness`. Freshness says how old the reading is; this says what is being\ndone about it:\n\n- `pending` -- a refresh is queued or running. **The amounts beside it are the previous\n  reading**, not a current one. A caller that needs current terms should get the `402` from the\n  origin for its own request rather than treat this listing as a quote.\n- `not_verifiable` -- this resource's price cannot be established by observation, and\n  `notVerifiableReason` says why: `not-a-get-resource` (an MCP or A2A endpoint answers a\n  handshake, not a payment challenge), `auth-gated` (the origin wants credentials before it will\n  quote, and the prober has none), `unprobeable` (a URL template or an address the SSRF\n  connector refuses). None of these means the resource is broken and none means it is free.\n- `idle` -- nothing is pending; what you see is what was last read.\n\nThe prober issues exactly one kind of request: an **unauthenticated GET** of the listing URL.\nIt never sends a POST, never attaches credentials, and never fires a resource's real commercial\noperation to discover what it charges. A purchase that is a POST, or that is parameterised, is\na different request that may legitimately cost something else, and it is reported as\n`not_verifiable` rather than guessed at.\n\n**`observationExpiresAt`** is when the current reading stops counting as fresh, so a consumer\nholding its own cache can revalidate on the same clock this service uses instead of inventing\none.\n\n**Reading a stale listing is what schedules its refresh.** No caller has to ask. The refresh is\nnever awaited: the response is composed from what is known now, marked `pending`, and the work\nis done by whichever replica owns the periodic jobs, inside the probe budget it already had.\nMany reads of one stale record produce **one** job.\n\n`contentHash`, `priceFreshness`, `termsObservedAt`, `observationExpiresAt`, `priceRevalidation`,\n`notVerifiableReason` and `observedTerms` are response-only, like `health` and `curation`:\nresolved when the listing is composed and never stored, so a registrant cannot assert that its\nown price is fresh and a stored record cannot keep claiming a freshness nobody rechecked.\n\n**Price semantics on each `accepts` entry:**\n\n- `scheme` is the scheme the source declared, verbatim. It is **not** normalized to `exact`.\n  A scheme this facilitator does not implement (`batch-settlement`, say) appears under its own\n  name; treat any value outside `exact | upto | escrow | commerce` as one whose\n  meaning you must not assume.\n- `amount` is an integer in the asset's **atomic units**, as a decimal string. It can exceed\n  2^53, so parse it as a big integer. `maxAmountRequired` is accepted on input as the x402 v1\n  spelling of the same field; it is not a range and it does not change the scheme. For `exact`\n  the number is the price; for `upto` it is the ceiling the buyer authorizes, and the effective\n  charge is settled separately and may be lower.\n- An option whose amount could not be read is **dropped at import**, with a counted reason. It\n  is never published as `\"0\"`. An `\"0\"` you do see was declared as zero by the source.\n- `settleable` (bool) and `unsupportedReason` say whether **this facilitator** can settle the\n  option, which is a narrower question than whether the offer is real. `false` with\n  `unknown-scheme`, `network-not-served`, `upto-proxy-not-deployed` or `scheme-not-served`\n  still describes a genuine listing that some other facilitator may serve. `network-not-served`\n  means the network is not in this facilitator's `/supported`, even when its name is a known\n  chain; `scheme-not-served` means this build implements the scheme but this deployment has\n  it switched off, so it is not in `/supported` either.\n- `assetSymbol` and `assetDecimals` are resolved per **deployment**, and are absent when the\n  asset is not one we have registered -- absent means unknown, which is not the same as six\n  decimals and a dollar sign. USDC is 6 decimals on Base, 18 on BSC and 7 on Stellar.\n\n`settleable`, `unsupportedReason`, `assetSymbol` and `assetDecimals` are response-only: they are\ncomputed when the listing is composed and are never stored, so they cannot go stale.\n\n**`extensions`** carries the resource-level x402 extensions the source published (chiefly the\n`bazaar` extension's declared input and output schema). Two prices are not comparable without\nknowing what each one buys.\n\n**What a listing sells is kept from every source.** A source that speaks x402 v1 publishes the\ndescription and the `outputSchema` (the declared input and output) on each payment option; they\nare carried to `description` and `extensions.bazaar.info` (`input`, `output`) verbatim, per the\nbazaar spec's v1 mapping, and only when the resource declares none of its own. When two sources\npublish the same listing, the terms follow authority and date as before, but a copy with an empty\ndescription, no `bazaar` extension or no tags never erases another copy's: descriptive fields are\nonly ever filled, never blanked, and only from a source at least as authoritative (a feed's copy\nnever completes the owner's own registration). Nothing is written that no source published.\n\n**`kind`** is `api` (a paid call to a tool) or `content` (a paid piece of content, the same for\nevery buyer, such as an essay). Content never holds the `first_party` or `vip` tier: it is\n`verified` when alive and `listed` otherwise, and keeps its `curation.label`.\n\n**`categories`** lists ids from one closed list: `people`, `company`, `web-search`, `page-read`,\n`social/x`, `social/reddit`, `finance`, `crypto`, `rpc`, `weather`, `image`, `human-work`, `ai`,\n`data`, `developer-tools`, `security`, `research`, `reputation`, `communication`, `compliance`,\n`advertising`, `infrastructure`. They come from what the seller declared (`metadata.category`,\nthen `extensions.bazaar.category`, then a `bazaar.category` inside an option's `extra`), each one\nonce, with known spellings of the same thing mapped to one id (`Data` and `data_processing` are\n`data`, `twitter` is `social/x`, `json-rpc` is `rpc`); a declared spelling the list does not know\nadds nothing rather than a guess. A listing that declares **no** category at all, and is not\ncontent, is placed by deterministic rules over what it says about itself -- its host, its path,\nits description and the field names of its declared schema, never its tags -- at most two\ncategories, best first (`config/bazaar_taxonomy.json`, `inference`). `categories` is absent when\nnothing places it. A `people` listing returns personal data about a person.\n**`categorySource`** says how they were obtained: `declared` (the seller's own value, spelled as\nthe id), `normalized` (the seller's value in another spelling) or `inferred` (nobody declared it:\nthe operator's curation or the inference rules placed it). **`metadata.category` is never\nrewritten**: it is what the seller declared, and the ids travel beside it.\n\n**`upstream`** names the service a listing resells or wraps, from a second closed list (`exa`,\n`tavily`, `firecrawl`, `serpapi`, `brave-search`, `jina`, `perplexity`, `hunter`, `apollo`,\n`fullenrich`, `coingecko`, `coinmarketcap`, `openai`, `anthropic`), so ten resellers of one search\nAPI can be told from ten search APIs. **`upstreamSource`** is `declared` when the seller names it\nat registration (`metadata.upstream` or `extensions.bazaar.upstream`: an id or a name of the list,\nany case; any other value is kept in `metadata` and not published) and `inferred` when the\nlisting's host is the vendor's own domain, a path segment or host label names it\n(`/api/hunter/...`; never for `perplexity` or `apollo`, which are also a common word and another\ncompany's name), or its description names it in a form that is not a common word (`Hunter.io`,\n`Perplexity AI`). Absent when nothing names one; never inferred for content.\n\n**`usage`** says how much the listing was paid for **through this facilitator**:\n`lastSettledAt` (the latest settlement counted for it in the window -- never the listing's own\ntop-level `lastSettledAt`), `calls30d` (successful settlements in the last 30 days) and\n`uniquePayers30d` (distinct payers among them), read from the settlements this facilitator\nrecords, as of `asOf`, refreshed every five minutes. A settlement counts for a listing only when\nit settled on a **mainnet** and matches one of the listing's own payment options -- the same\nnetwork, recipient, asset and scheme, and for `exact` at least the option's price -- by a payer\nother than that recipient, for the listing's own URL (any query string, for a listing whose URL\nhas none): the URL, recipient and amount of a settle are whatever its caller sent, and a testnet\nsettle, or one atomic unit to the right address, would let anyone write counts onto any listing\nfor faucet gas. The amount compared is the one the payment requirements named, which `exact`\nverification never settles for less than; under another scheme (`upto`) it is a declared\nmaximum and is not compared. A seller paying its own listing at its price from fresh wallets on\na mainnet is still counted: the numbers say how much was paid, not by whom. **A floor, never a ledger:** a record is written after\na payment settles and is lost if the store is unreachable, and settlements through other\nfacilitators are not seen. `usage` is absent\non a deployment that records no settlements -- zero there would be a claim nobody measured -- and\non a listing whose URL is a template (`{id}`), which no paid URL equals.\n\n**`hasInputSchema`** is `true` when `extensions.bazaar` declares the input (`info.input`, or an\n`input` property in `schema`); the declaration itself stays in `extensions.bazaar`, with the input\nand the output apart. A self-registered listing that declares no input, whose own 402 declares one\nin its `extensions.bazaar`, takes it from there -- only into what its registration left out -- and\nreports **`extensionsProvenance: origin_response`**, with the parts it filled in as JSON Pointers in\n**`extensionsAdopted`** (everything else in `extensions` is the registration). `kind`, `categories`, `categorySource`,\n`hasInputSchema`, `upstream`, `upstreamSource` and `usage` are response-only, like `health` and\n`curation`.\n\n**Unknown parameters are rejected with a 400**, listing the ones supported. A parameter the\nserver accepted and ignored would be indistinguishable from a filter that matched everything,\nso `?search=logs` fails loudly and points at `q` instead of quietly returning the whole catalog.\n","operationId":"path_bazaar_list","parameters":[{"name":"limit","in":"query","description":"Maximum number of resources to return (default: 10, max: 100)","required":false,"schema":{"type":"integer","format":"int32","minimum":0}},{"name":"offset","in":"query","description":"Number of resources to skip (default: 0)","required":false,"schema":{"type":"integer","format":"int32","minimum":0}},{"name":"category","in":"query","description":"Filter by category: the seller's own metadata.category (case-insensitive), or any spelling of a closed-list id, which matches every listing that resolves to it (e.g., finance, social/x, twitter)","required":false,"schema":{"type":"string"}},{"name":"provider","in":"query","description":"Filter by metadata provider name","required":false,"schema":{"type":"string"}},{"name":"tag","in":"query","description":"Filter by metadata tag","required":false,"schema":{"type":"string"}},{"name":"network","in":"query","description":"Exact CAIP-2 network match (e.g., eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp)","required":false,"schema":{"type":"string"}},{"name":"source","in":"query","description":"Discovery source: self_registered | settlement | crawled | aggregated","required":false,"schema":{"type":"string"}},{"name":"sourceFacilitator","in":"query","description":"Facilitator the entry was aggregated from (e.g., coinbase, payai, thirdweb)","required":false,"schema":{"type":"string"}},{"name":"q","in":"query","description":"Search: a keyword or a whole request in plain words. Max 400 characters (128 with sort=tier); longer returns 400. See Search above","required":false,"schema":{"type":"string"}},{"name":"sort","in":"query","description":"relevance | tier. How results with q are ordered. Default: relevance for a q of two or more words or over 128 characters, tier (the substring match and order of 2.46.1) for one word","required":false,"schema":{"type":"string"}},{"name":"health","in":"query","description":"Liveness filter: alive | degraded | auth_gated | quarantined | unknown | unprobeable | any. It narrows what is exposed and never widens it: only verified-alive resources are listed, so 'alive' and 'any' return them and every other value returns none","required":false,"schema":{"type":"string"}},{"name":"tier","in":"query","description":"Curated tier filter: first_party | vip | verified | listed","required":false,"schema":{"type":"string"}},{"name":"maxPriceUsd","in":"query","description":"Highest price in US dollars (e.g. 0.01) of at least one dollar-stablecoin payment option","required":false,"schema":{"type":"string"}},{"name":"method","in":"query","description":"GET | POST | PUT | PATCH, as the listing declares it and the health prober reads it (extensions.bazaar.info.input.method, else the method of its JSON Schema input, else POST when it declares a body); an HTTP listing that declares none is GET","required":false,"schema":{"type":"string"}},{"name":"hasInputSchema","in":"query","description":"true: only listings that declare their request (a non-empty extensions.bazaar.info.input, or an input property in extensions.bazaar.schema); false: only those that do not","required":false,"schema":{"type":"boolean"}},{"name":"kind","in":"query","description":"api | content","required":false,"schema":{"type":"string"}},{"name":"excludeHost","in":"query","description":"Comma-separated host names to leave out, each with its subdomains (max 20)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Curated resource listing","content":{"application/json":{"schema":{"type":"object"},"example":{"x402Version":2,"items":[{"url":"https://api.meshrelay.xyz/payments/access/alpha-test","type":"http","x402Version":2,"description":"MeshRelay premium IRC channel access","accepts":[{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"100000","payTo":"0xe4dc963c56979E0260fc146b87eE24F18220e545","maxTimeoutSeconds":300}],"lastUpdated":1784818083,"sourceUpdatedAt":1784818083,"lastSettledAt":1784899100,"recordVersion":2,"priceFreshness":"fresh","termsObservedAt":1784900000,"observationExpiresAt":1785504800,"priceRevalidation":"idle","metadata":{"provider":"MeshRelay","category":"communication","tags":["irc"]},"source":"self_registered","sourceFacilitator":null,"firstSeen":1784818112,"health":{"status":"alive","lastChecked":1784900000,"httpStatus":402,"latencyMs":240,"uptimeBps":9977,"probeCount":1312,"probeMethod":"GET"},"curation":{"tier":"first_party","label":"MeshRelay","firstParty":true,"verification":{"protocol":"erc8004","network":"base","agentId":2106,"feedbackCount":0,"uptime":99.77}},"kind":"api","categories":["communication"],"categorySource":"declared","hasInputSchema":false}],"pagination":{"limit":10,"offset":0,"total":21195}}}}},"400":{"description":"Invalid query: an unsupported parameter (body lists `supported`), or a value that cannot be applied (body names the `parameter`): `q` too long, an unknown `sort`, `method` or `kind`, a `maxPriceUsd` that is not a plain decimal, a `hasInputSchema` that is not true/false, an `excludeHost` that is not a list of host names","content":{"application/json":{"schema":{"type":"object"},"example":{"error":"unknown query parameter: search","hint":"did you mean q?","supported":["limit","offset","category","network","provider","tag","source","sourceFacilitator","health","tier","q","sort","maxPriceUsd","method","hasInputSchema","kind","excludeHost"]}}}}}},"delete":{"tags":["Bazaar"],"summary":"Unregister a resource (admin)","description":"\n**Admin only.** Permanently removes a resource from the Bazaar catalog.\n\nRequires an `Authorization: Bearer <BAZAAR_ADMIN_TOKEN>` header. When the server has no admin\ntoken configured the whole admin surface is absent and this route returns **404**.\n\nRate limited to roughly 5 requests per minute per IP.\n\n**Response:**\n```json\n{ \"success\": true, \"url\": \"https://api.example.com/paid\", \"removed\": true }\n```\n","operationId":"path_bazaar_admin_delete","parameters":[{"name":"url","in":"query","description":"Exact resource URL to unregister","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Bearer <BAZAAR_ADMIN_TOKEN>","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Resource removed","content":{"application/json":{"schema":{"type":"object"},"example":{"success":true,"url":"https://api.example.com/paid","removed":true}}}},"401":{"description":"Missing or invalid bearer token","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Unknown URL, or admin surface disabled (no admin token configured)","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/discovery/stats":{"get":{"tags":["Bazaar"],"summary":"Bazaar catalog statistics","description":"\nAggregate metrics for the curated Bazaar catalog. Served from a 60-second in-process cache,\nso counters can lag recent registrations or health probes by up to a minute.\n\nEvery count is over what the Bazaar EXPOSES -- resources verified alive, the same set\n`GET /discovery/resources` lists -- like every other public surface; what is not verified alive\nis not counted here either.\n\n- `verifiedAlive` is the number of exposed resources.\n- `visible` and `total` are the same number, kept for the clients that read them: `visible` is\n  exactly what a full offset walk of the default `GET /discovery/resources` returns.\n- The `by*` breakdowns split that same set, so `byHealth` holds only `alive`.\n- `byTier` counts the tier each listing shows, so content is never counted as `vip`.\n- Over exactly the listings `visible` counts (what the default listing exposes): `byKind` and\n  `byCategory` count their `kind` and closed-list `categories` (a listing in two categories counts\n  under both; `none` when it resolves to none; see `GET /discovery/resources`), and\n  `noDescription` and `noInputSchema` count those with an empty description, and with no declared\n  input (`extensions.bazaar.info.input`, or an `input` property in `extensions.bazaar.schema`):\n  what a router cannot use without guessing. `byCategorySource` counts each listing once by how\n  its categories were obtained (`declared`, `normalized`, `inferred`, `none`), and `byUpstream`\n  the listings that name each `upstream`.\n- `topHosts` lists the ten hosts holding the most of what the listing shows, largest first: how\n  the public listing spreads over hosts, on a running task. Like every count here, it counts\n  only listings the default listing returns -- the per-host share of `/discovery/config`\n  (`catalog.maxPerHost`) applies to every listing held, exposed or not, so this is not a reading\n  of it.\n\n**Response:**\n```json\n{\n  \"total\": 1951,\n  \"visible\": 1951,\n  \"verifiedAlive\": 1951,\n  \"topHosts\": [{ \"host\": \"market.datapackvibe.com\", \"count\": 100 }, { \"host\": \"tenjin.blog\", \"count\": 100 }],\n  \"bySource\": { \"aggregated\": 1823, \"self_registered\": 128 },\n  \"bySourceFacilitator\": { \"payai\": 1700, \"thirdweb\": 75, \"coinbase\": 48 },\n  \"byNetwork\": { \"eip155:8453\": 1930, \"eip155:1\": 21 },\n  \"byTier\": { \"first_party\": 10, \"vip\": 127, \"verified\": 1814 },\n  \"byHealth\": { \"alive\": 1951 },\n  \"byKind\": { \"api\": 1830, \"content\": 121 },\n  \"byCategory\": { \"none\": 640, \"data\": 246, \"finance\": 180 },\n  \"byCategorySource\": { \"declared\": 120, \"normalized\": 90, \"inferred\": 1101, \"none\": 640 },\n  \"byUpstream\": { \"exa\": 4, \"tavily\": 2 },\n  \"noDescription\": 412,\n  \"noInputSchema\": 1120,\n  \"generatedAt\": 1784900000\n}\n```\n","operationId":"path_bazaar_stats","responses":{"200":{"description":"Metrics of the exposed catalog","content":{"application/json":{"schema":{"type":"object"},"example":{"total":1951,"visible":1951,"verifiedAlive":1951,"topHosts":[{"host":"market.datapackvibe.com","count":100},{"host":"tenjin.blog","count":100}],"bySource":{"aggregated":1823,"self_registered":128},"bySourceFacilitator":{"payai":1700,"thirdweb":75,"coinbase":48},"byNetwork":{"eip155:8453":1930,"eip155:1":21},"byTier":{"first_party":10,"verified":1941},"byHealth":{"alive":1951},"byKind":{"api":1830,"content":121},"byCategory":{"none":640,"data":246,"finance":180},"byCategorySource":{"declared":120,"normalized":90,"inferred":1101,"none":640},"byUpstream":{"exa":4,"tavily":2},"noDescription":412,"noInputSchema":1120,"generatedAt":1784900000}}}}}}},"/dx402/anchor":{"post":{"tags":["DX402"],"summary":"Register sealed evidence for a settled payment","description":"A resource server reports that it sealed a response body and wrote the ciphertext somewhere durable. The facilitator notarises the claim with an EIP-712 `EvidenceReceipt` and indexes it.\n\n**This request carries metadata only.** The plaintext never reaches the facilitator, and in `direct` mode neither does anything that could decrypt it — the content key is wrapped to the payer's own public key, recovered from the payment signature. A leak of this facilitator's storage reveals pointers and hashes, never payloads.\n\n**Every anchor is judged against the chain.** Send `proofOfPayment` (from `/settle`) and `sellerSignature` (EIP-712 `DX402 Anchor` by the payee; raw ed25519 for Solana/Stellar payees). The record carries `verified` (the chain confirmed the payee and the payer) and `signed` (the signature matched the payee you declared — a diagnostic, not proof). Authority is a ladder: provisional < signed < verified; a weaker claim never locks out a stronger one, and only `verified` is final. `DX402_REQUIRE_PROOF=false` (phase 1, default) records failing anchors as provisional with `notVerifiedReason`; phase 2 rejects them with 402.\n\n**Payments released from an x402r escrow** must add `escrowRelease` (the escrow authorization plus the funder): on that rail the ERC-20 `from` is the operator's TokenStore, so the facilitator asks the escrow to `getHash` the authorization and requires a `paymentInfoHash` this very transaction captured. A transaction that settled more than one escrow payment is refused (`dx402_escrow_release_ambiguous`). The authorization's `token` must be the one the verified `Transfer` was emitted by and its `operator` must be a PaymentOperator this facilitator knows for the network (`dx402_escrow_operator_unknown`); and on every rail the proof's `token` must be in the facilitator's own deployment table for that network (`proof_token_not_allowed`) -- a `Transfer` from an unknown contract proves nothing about who paid.\n\nAvailable only when `ENABLE_DX402=true`; otherwise the route does not exist.","operationId":"path_dx402_anchor","responses":{"201":{"description":"Evidence recorded; body carries the signed receipt plus `verified`/`signed`/`notVerifiedReason`","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"`dx402_proof_rejected` — phase 2 only; the verdict names the rung that failed"},"409":{"description":"`dx402_already_anchored` — an existing record outranks this one"},"413":{"description":"Body over 64 KiB — emitted by the request-body limit layer, not by DX402"},"422":{"description":"`dx402_signature_not_verified` (a signature that could not supersede) or `dx402_backend_unavailable` (a backend this deployment does not serve)"},"503":{"description":"Store or index unavailable — RETRYABLE, do not record as 'no evidence'"}}}},"/dx402/blob/{paymentId}":{"get":{"tags":["DX402"],"summary":"The sealed ciphertext for a payment","description":"Streams the sealed evidence blob. **Unauthenticated on purpose.**\n\nIn `direct` mode the bytes are sealed to the payer's own public key, so handing them to anyone who asks reveals nothing — the access control lives in the cryptography rather than in an ACL that could be misconfigured. This is also why the evidence bucket is private and never exposed: this route is the only way in, and it can only ever serve ciphertext.\n\nA DX402 pointer (`s3+https://…/dx402/blob/{paymentId}`) resolves here. Pointers address the *payment*, not the storage layout, so one a buyer is holding a year from now keeps working even if the backing keys are reorganised.\n\nResponses are cacheable for the same reason they are public: an intermediary that caches this stores something unreadable. Attack III of *Five Attacks on x402* measured 100% leakage of paid responses through an nginx cache; DX402 makes that leak worthless.","operationId":"path_dx402_blob","parameters":[{"name":"paymentId","in":"path","description":"Payment identifier","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Sealed ciphertext (application/octet-stream)","content":{"text/plain":{"schema":{"type":"string"}}}},"404":{"description":"No evidence recorded"},"410":{"description":"Past the retention window"},"503":{"description":"Store unavailable — RETRYABLE"}}}},"/dx402/evidence/{paymentId}":{"get":{"tags":["DX402"],"summary":"Look up the evidence anchored for a payment","description":"Returns the pointer, the plaintext content hash, the mode, the signed receipt, and the trust level: `verified` (the chain confirmed authorship), `signed` (the declared payee signed), and `notVerifiedReason` when it is not verified. An absent `verified` reads as not proven — a pointer alone is a claim, not evidence.\n\n`contentHash` is over the **plaintext**, deliberately. Hashing the ciphertext would only prove the blob was not corrupted in storage; hashing the plaintext lets a buyer prove the anchored blob decrypts to exactly the bytes they were served — the check that catches a seller anchoring something other than what it delivered.\n\n**404 and 410 are different answers.** 404 means no evidence was ever recorded; 410 means the retention window lapsed. In a dispute those are not interchangeable.","operationId":"path_dx402_evidence","parameters":[{"name":"paymentId","in":"path","description":"keccak256(caip2Network || txHash), or the `payment-identifier` value","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Evidence record","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"No evidence recorded for this payment"},"410":{"description":"Past the retention window"},"503":{"description":"Index unavailable — RETRYABLE"}}}},"/dx402/receipt/{paymentId}":{"get":{"tags":["DX402"],"summary":"The signed evidence receipt, verifiable offline","description":"The EIP-712 receipt alone, plus the domain and the signer address.\n\nAnyone can verify this without calling the facilitator again — which is precisely the property the IETF x402 receipt drafts identify as missing from a bare `PAYMENT-RESPONSE`, where an auditor cannot validate a retained receipt without contacting the facilitator.\n\nDomain: `{name: \"DX402 Evidence\", version: \"1\", chainId}`. The receipt records `mode`, because a `direct` receipt and an `escrowed` receipt make materially different claims about who can read the payload.","operationId":"path_dx402_receipt","parameters":[{"name":"paymentId","in":"path","description":"Payment identifier","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Signed receipt with its domain and signer","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"No evidence recorded"},"410":{"description":"Past the retention window"}}}},"/dx402/recover":{"post":{"tags":["DX402"],"summary":"Release a wrapped content key (escrowed mode)","description":"**Returns 501 — `escrowed` recovery is out of scope in spec v0.2 (§17).**\n\n`direct` mode — the default and the whole point of DX402 — needs no recovery endpoint at all: the buyer already holds the only key that opens the payload, so retrieval is arithmetic rather than an authorization decision anyone could refuse or misconfigure.\n\nThis returns an honest 501 rather than a stub that appears to work, so no integrator builds an escrowed flow against a signature check that does not exist yet.","operationId":"path_dx402_recover","responses":{"501":{"description":"Escrowed recovery is not served; a declared read key is the recommended pattern for custody"}}}},"/dx402/repair/{paymentId}":{"post":{"tags":["DX402"],"summary":"Audit one anchor, and optionally correct a pointer that names nothing","description":"**Admin only.** `Authorization: Bearer <DX402_ADMIN_TOKEN>`, and **404 when no token is configured** — fail-closed, so the route is indistinguishable from absent. Its own token, deliberately not shared with the bazaar or ERC-8004 admin surfaces: this one re-signs a facilitator attestation.\n\nExists for the anchors written while the evidence pointer was a *prediction* nobody reconciled. On the `ipfs` backend a Pinata failure put the bytes in the S3 fallback while the record — and the signed receipt — went on naming an IPFS object that never existed. Reading it fails silently: the fallback store treats the primary's `NotFound` as a verdict and never retries, so the anchor returned 201, the receipt carries our signature, and the evidence is unreachable with no error anywhere.\n\n`write` defaults to **false**. An audit reports `repairable` and changes nothing; only `?write=true` rewrites. Auditing is safe and rewriting a signed attestation is not, so the dangerous half has to be asked for by name — otherwise the safe-looking call would be the dangerous one.\n\nA repair re-signs, because `pointer` is part of the EIP-712 type hash and a corrected pointer under the old signature is a receipt that does not verify. That is why this lives here rather than in a script: the signing key must not leave the service. It can only ever change *where the bytes are* — `verified` and `signed` are carried structurally from the record it read, so a repair cannot escalate authority.\n\n`lost` is never papered over. A record pointing at a real absence is telling the truth, and rewriting it would only hide that the evidence is gone.","operationId":"path_dx402_repair","parameters":[{"name":"paymentId","in":"path","description":"keccak256(caip2Network || txHash)","required":true,"schema":{"type":"string"}},{"name":"write","in":"query","description":"false (default) audits; true rewrites the record and re-signs","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Verdict: healthy | repairable | repaired | lost"},"401":{"description":"Missing or invalid admin credentials"},"404":{"description":"No admin token configured, or the payment has no evidence"},"409":{"description":"The row changed between the audit and the write; nothing was touched"}}}},"/dx402/stats":{"get":{"tags":["DX402"],"summary":"How much evidence this facilitator has notarised","description":"Anchor count, the default backend and retention, the address that signs receipts, and `backends[]` — every store this deployment can name, each with `retention`, `revocable`, `public`, `enabled` and a `disabledReason`. Derived from configuration, so it cannot promise a backend that has never held a byte; clients and the landing page read this instead of a hardcoded list.\n\n`anchored` is a **floor**, not a ledger. Evidence whose index write failed is real and is not counted here, in the same way `/api/stats` undercounts operations.","operationId":"path_dx402_stats","responses":{"200":{"description":"DX402 status and counters","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/erc8004/admin/retire-identity":{"post":{"tags":["ERC-8004"],"summary":"Retire an identity the facilitator holds (admin only)","description":"\nPoints the `agentURI` of an EVM identity the facilitator's wallet holds at\n`https://facilitator.ultravioletadao.xyz/erc8004/retired`, a registration file that says\nthe identity represents no agent. A maintenance call for identities minted before v2.44.0,\nwhen `POST /register` without a `recipient` left them in the facilitator's wallet with\nwhatever URI the caller chose.\n\n**Requires `Authorization: Bearer <ERC8004_ADMIN_TOKEN>`; 404 when no token is configured.**\nIt sends from inside the service, behind the writer lease, so the transaction takes its\nnonce from the same nonce manager as every other write from that wallet.\n\n```json\n{ \"network\": \"base\", \"agentId\": \"42\", \"dryRun\": true }\n```\n\n`dryRun` reads the owner and the current URI and sends nothing. The answer carries\n`status` (`would_retire`, `already_retired`, `retired`), `previousUri`,\n`previousUriViolations` (the `POST /register` rules the old URI breaks), `retiredUri` and,\nonce sent, `transaction`. Repeating a call that already landed answers `already_retired`\nand sends nothing.\n","operationId":"path_erc8004_retire_identity","parameters":[{"name":"Authorization","in":"header","description":"Bearer <ERC8004_ADMIN_TOKEN>","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"{network, agentId, dryRun?}","content":{"application/json":{"schema":{"type":"object"}}},"required":true},"responses":{"200":{"description":"Retired, already retired, or (dry run) would retire","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"`invalid_request`, `invalid_agent_id`, or `unsupported_network` (EVM only)","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"Missing or invalid bearer token","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Admin surface disabled (no ERC8004_ADMIN_TOKEN configured)","content":{"application/json":{"schema":{"type":"object"}}}},"409":{"description":"`not_held_by_facilitator`: only the owner can change an identity","content":{"application/json":{"schema":{"type":"object"}}}},"502":{"description":"`not_sent`: refused at estimation or by the node; nothing landed","content":{"application/json":{"schema":{"type":"object"}}}},"503":{"description":"`read_failed` or `no_provider`; nothing was sent. Retryable","content":{"application/json":{"schema":{"type":"object"}}}},"504":{"description":"`unconfirmed`: sent, receipt not back yet. Repeating is safe","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/erc8004/retired":{"get":{"tags":["ERC-8004"],"summary":"Registration file of a retired identity","description":"What the `agentURI` of every identity retired by `POST /erc8004/admin/retire-identity` points at: an ERC-8004 registration file with `active: false` that says the identity represents no agent.","operationId":"path_erc8004_retired","responses":{"200":{"description":"The retirement document","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/escrow/state":{"post":{"tags":["Escrow"],"summary":"Query escrow payment state","description":"\nQueries the on-chain state of an escrow payment from the AuthCaptureEscrow contract.\nThis is a read-only view call (no gas consumed).\n\nReturns the capturable amount, refundable amount, and whether payment has been fully collected.\n\n**Request body:**\n```json\n{\n  \"paymentInfo\": {\n    \"operator\": \"0x...\",\n    \"receiver\": \"0x...\",\n    \"token\": \"0x...\",\n    \"maxAmount\": \"1000000\",\n    \"preApprovalExpiry\": 281474976710655,\n    \"authorizationExpiry\": 281474976710655,\n    \"refundExpiry\": 281474976710655,\n    \"minFeeBps\": 0,\n    \"maxFeeBps\": 100,\n    \"feeReceiver\": \"0x...\",\n    \"salt\": \"0x...\"\n  },\n  \"payer\": \"0x...\",\n  \"network\": \"eip155:8453\",\n  \"extra\": {\n    \"escrowAddress\": \"0x...\",\n    \"operatorAddress\": \"0x...\",\n    \"tokenCollector\": \"0x...\"\n  }\n}\n```\n\n**Response:**\n```json\n{\n  \"hasCollectedPayment\": false,\n  \"capturableAmount\": \"1000000\",\n  \"refundableAmount\": \"0\",\n  \"paymentInfoHash\": \"0x...\",\n  \"network\": \"eip155:8453\"\n}\n```\n","operationId":"path_escrow_state","requestBody":{"description":"Escrow state query","content":{"application/json":{"schema":{"type":"object"}}},"required":true},"responses":{"200":{"description":"Escrow state","content":{"application/json":{"schema":{"type":"object"},"example":{"hasCollectedPayment":false,"capturableAmount":"1000000","refundableAmount":"0","paymentInfoHash":"0xabcdef...","network":"eip155:8453"}}}},"400":{"description":"Query failed","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/events":{"get":{"tags":["Discovery"],"summary":"Live traffic stream (Server-Sent Events)","description":"Streams one Server-Sent Event per facilitator operation, so observers can render live traffic without scraping logs. The SSE `event:` name is the operation (`verify` or `settle`) and `data:` is the JSON payload below; a `:keepalive` comment every 15s holds the connection open through the load balancer.\n\n`network` is the facilitator's canonical slug, the same one `/supported` uses. A `settle` carries the transaction hash; a `verify` has none, because nothing has settled yet.\n\nThe stream is lossy on purpose: it can never slow down or fail a payment, so a subscriber that falls behind loses events and stays connected. It is also bounded — the endpoint returns **503** with `Retry-After` once the concurrent-subscriber cap is reached, and **404** when the operator has disabled it with `X402_EVENTS_ENABLED=false`.\n\nOperators can narrow what is published without a code change: `X402_EVENTS_DETAIL=minimal` drops `payer`/`tx`/`amount`/`asset`, and `X402_EVENTS_SCOPE=allowlist` restricts the stream to payers in `X402_EVENTS_ALLOWLIST`.\n\nBy default operations that ERROR are not published, so `ok:false` only ever means \"resolved and came back negative\". Set `X402_EVENTS_PUBLISH_FAILURES=true` to emit them; they carry an `error` field holding a bounded CATEGORY (`contract_revert`, `invalid_signature`, `insufficient_funds`, …) and never the error text.","operationId":"path_events","responses":{"200":{"description":"SSE stream of traffic events (`text/event-stream`)","content":{"application/json":{"schema":{"type":"object"},"example":{"ts":1769000000000,"kind":"settle","network":"base","ok":true,"payer":"0x...","tx":"0x...","amount":"20000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","resource":"https://api.example.com/premium-data","payTo":"0x...","description":"Premium data feed","scheme":"exact"}}}},"404":{"description":"Stream disabled by the operator (X402_EVENTS_ENABLED=false)"},"503":{"description":"Concurrent-subscriber cap reached; retry after the `Retry-After` delay"}}}},"/feedback":{"get":{"tags":["ERC-8004"],"summary":"Get feedback submission schema","description":"Returns the JSON schema for ERC-8004 feedback submission requests, including all supported networks and related endpoints.","operationId":"path_feedback_get","responses":{"200":{"description":"Feedback schema with supported networks","content":{"application/json":{"schema":{"type":"object"}}}}}},"post":{"tags":["ERC-8004"],"summary":"Submit reputation feedback","description":"\nSubmits on-chain reputation feedback for an AI agent via the ERC-8004 Reputation Registry (EVM) or Agent Registry with ATOM Engine CPI (Solana).\n\n**Supported networks:** 25 networks (EVM + Solana).\n\n**agentId format:** Numeric (42) for EVM, base58 Pubkey string for Solana. Both JSON numbers and strings are accepted.\n\n**EVM request:**\n```json\n{\n  \"x402Version\": 1,\n  \"network\": \"base\",\n  \"feedback\": {\n    \"agentId\": 42,\n    \"value\": 87,\n    \"valueDecimals\": 0,\n    \"tag1\": \"starred\",\n    \"tag2\": \"quality\",\n    \"endpoint\": \"https://agent.example/api\",\n    \"feedbackUri\": \"ipfs://Qm...\"\n  }\n}\n```\n\n**Solana request:**\n```json\n{\n  \"x402Version\": 1,\n  \"network\": \"solana\",\n  \"feedback\": {\n    \"agentId\": \"7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgHkv\",\n    \"value\": 87,\n    \"valueDecimals\": 0,\n    \"tag1\": \"quality\",\n    \"tag2\": \"api\",\n    \"endpoint\": \"https://agent.example/api\",\n    \"feedbackUri\": \"ipfs://Qm...\",\n    \"score\": 95\n  }\n}\n```\n\n**Proof of payment (anti-sybil gate).** The Reputation Registry lets any address rate any agent, so\na `proof` (the `ProofOfPayment` the settle response already returns) plus a `rater` address turn a\nrating into something backed by a real payment. When both are present the facilitator checks, on-chain\nand server-side: the transaction exists on that network and succeeded, sits in the block the proof\nclaims, contains an ERC-20 `Transfer` of exactly `amount` in `token` from `payer` to `payee`, the payer\nis the `rater`, the payee is an address the Identity Registry ties to the agent (`getAgentWallet` when\nset, otherwise `ownerOf`), the block timestamp is within `ERC8004_PROOF_MAX_AGE_SECS`, `paymentHash`\nrecomputes, and this (payment, agent) pair has not already been spent on a rating.\n\nThe verdict comes back in the response `proof` field with a bounded reason. While\n`ERC8004_REQUIRE_PROOF` is off, a failing proof is reported but the feedback is still written; with it\non, the submission is rejected with 400. Two verdicts never block a write: `proof_rpc_unavailable`\n(no verdict reached - our outage must not erase reputation) and `proof_unverifiable_chain` (a Solana\nfeedback, where the payment half of the gate has no EVM receipt to read).\n\nIf a `feedbackUri` + `feedbackHash` pair is supplied, the facilitator also fetches the document and\nverifies `keccak256(document) == feedbackHash`, reporting whether the anchor is `auditable`,\n`hash_only`, `unreachable` or a `mismatch`. A mismatch is refused: the hash would commit to something\nother than what was shown.\n\nSolana feedback triggers ATOM Engine CPI for trust scoring (trust tiers, HyperLogLog diversity, EMA quality).\n\n**Send `score` (0-100) on Solana.** Without it the engine records the feedback on the\nagent but scores nothing - the program reports `had_impact=false` and reputation stays\nat zero no matter how much feedback accumulates.\n","operationId":"path_feedback_post","requestBody":{"description":"ERC-8004 feedback request","content":{"application/json":{"schema":{"type":"object"}}},"required":true},"responses":{"200":{"description":"Feedback submission result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Feedback submission failed","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/feedback/evm/prepare":{"post":{"tags":["ERC-8004"],"summary":"Prepare a rater-authored feedback (EVM, EIP-7702)","description":"\nReturns everything the **rater** must sign so that the chain records THEM as the author of the\nrating while the facilitator pays the gas.\n\n**Why this exists.** The Reputation Registry records `msg.sender` as the author and the deployed\nimplementation has no delegation path at all - no `giveFeedbackWithSignature`, no ERC-2771\nforwarder. A rating the facilitator relays normally is a rating attributed to the *facilitator*:\n87,2% of the feedback on Base, and the same address can revoke any of it.\n\nEIP-7702 fixes it without touching the registry. The rater delegates their own EOA to Execution\nMarket's `FeedbackDelegate`, and the facilitator sends the transaction **to the rater's own\naddress**, so the registry observes the rater as `msg.sender`.\n\n`rater` is REQUIRED (EVM address). The response carries:\n\n- `delegate` - the FeedbackDelegate the account must be pointed at\n- `data` - the registry calldata being authorised\n- `digest` - the value the signature must recover against. **The EIP-191 envelope is already\n  applied.** Sign it RAW, as a prehash (`unsafe_sign_hash`, `signHash`, `sign_hash_sync`)\n- `typedData` - **present only on a v4 delegate**, and when it is there, sign IT. The full\n  `eth_signTypedData_v4` payload: the wallet renders the agent, the score, the tags and the\n  deadline as named fields, so the rater sees what they authorise instead of a hex blob. v4\n  carries no `signingPayload` and needs none — `signTypedData` has no envelope to apply twice\n- `signingPayload` - **v3 delegates only.** The same hash with the envelope still OFF, and what a\n  wallet signs there.\n  `personal_sign` / `eth_sign` / `signMessage` apply the envelope themselves, so handing them\n  `digest` wraps it twice and recovers an address that is not the rater -- a well-formed signature\n  that fails with `relay_bad_signature` and no other hint. `keccak256(\"\\\\x19Ethereum Signed\n  Message:\\\\n32\" || signingPayload) == digest`, so a client can check the two against each other\n  instead of rebuilding the preimage from `data`\n- `deadline`, `nonce` - the authorisation window and its single-use value\n- `delegated` - whether the account already carries the delegation; when `false` the submission\n  must include an EIP-7702 `authorization` signed by the rater, and `accountNonce` is the nonce\n  to put in it\n\n**Availability:** only where a `FeedbackDelegate` has actually been deployed and verified on-chain.\nToday that is `base`, `ethereum`, `polygon`, `arbitrum`, `optimism`, `celo`, `bsc`, `monad`, `arc`\nand `base-sepolia`; other networks answer 400. The delegate takes its registry address through an\nimmutable constructor argument, so its address differs per chain and each one is verified\n(`eth_getCode`, a `REPUTATION_REGISTRY()` read back, and an ERC-165 probe) before it is served.\n\n**Two protocol versions are served in parallel, chosen per chain per request.** The ERC-165 probe\nreports v4 (`0x378a0c90` → EIP-712 `typedData`) or v3 (`0x150b7a02` → the EIP-191 `digest`), and a\ndelegate that answers neither is a superseded v1 and is refused. Nothing about this is pinned to a\nrelease: a chain starts serving `typedData` the moment a v4 delegate is deployed there, with no\ndeploy of ours in between.\n\n`POST /feedback/response/evm/prepare` + `/feedback/response/evm/submit` are the same rail for\n`appendResponse`, and they are **v4 only**: the v3 delegate accepts exactly two selectors and this\nis not one of them, so a v3 network answers 400 `relay_response_needs_v4` instead of falling back\nto the route where the FACILITATOR is the author on record. `clientAddress` and `feedbackIndex`\nare inside the signed struct — without them one signature would answer any client's rating, or any\nrating at that index.\n\nA rater still pointed at a SUPERSEDED version of the delegate is reported as `delegated: false`,\nnot as an error — they sign a fresh authorisation and move to the current version. An account\ndelegated to somebody ELSE's implementation stays a 400: re-pointing it would break whatever\nwallet provider put it there.\n\nThe ERC-165 probe is a **version** check, not a feature check. The delegates are deployed with\nCREATE rather than CREATE2, so an address is a function of (deployer, nonce) and the same address\ncan hold a different version on a different chain. A superseded delegate still has code and is\nstill pinned to the right registry, so without this probe a stale entry would relay silently\nagainst a version that breaks the rater's wallet. Such a delegate is refused with\n`relay_delegate_superseded_version`.\n\n`avalanche` is not on that list and is not waiting to join it: the C-Chain rejects the transaction\ntype itself (`-32000 transaction type not supported`), so relayed feedback is unavailable there by\ndesign. Anchor the rating on a chain that supports EIP-7702 instead; the payment stays where it\nwas made.\n\nDeadlines are deliberately short (default 15 minutes, `ERC8004_RELAY_DEADLINE_SECS`): relaying is\npermissionless by design, so a signed authorisation is live in the wild until it expires.\n","operationId":"path_feedback_evm_prepare","requestBody":{"description":"ERC-8004 feedback request with a `rater`","content":{"application/json":{"schema":{"type":"object"}}},"required":true},"responses":{"200":{"description":"Digest and parameters for the rater to sign","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Missing rater, no delegate on this network, or the account is delegated elsewhere","content":{"application/json":{"schema":{"type":"object"}}}},"503":{"description":"Could not reach the chain, or the delegate is not usable","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/feedback/evm/submit":{"post":{"tags":["ERC-8004"],"summary":"Relay a rater-authored feedback (EVM, EIP-7702)","description":"\nRelays a rating the rater authorised, as an EIP-7702 type-4 transaction sent to the rater's own\naddress. The facilitator pays the gas and never becomes the author.\n\nSend back the same feedback parameters used for `/feedback/evm/prepare`, plus `deadline`, `nonce`,\nthe rater's `signature` over the prepared digest, and - when the account is not delegated yet - the\nEIP-7702 `authorization`:\n\n```json\n{\n  \"x402Version\": 1,\n  \"network\": \"base-sepolia\",\n  \"feedback\": { \"...\": \"exactly what you sent to /prepare\" },\n  \"deadline\": 1786400000,\n  \"nonce\": \"0x2222...\",\n  \"signature\": \"0x...\",\n  \"authorization\": {\n    \"chainId\": 84532,\n    \"address\": \"0x9551263b9B83b1A737D55fd5e67Fb6D60e4eF787\",\n    \"nonce\": 7,\n    \"yParity\": 0,\n    \"r\": \"0x...\",\n    \"s\": \"0x...\"\n  }\n}\n```\n\n**The parameters are not redundant.** The facilitator rebuilds the registry calldata from them and\nrecomputes the digest; a signature that does not cover exactly that calldata is refused\n(`relay_bad_signature`). It also refuses an authorization pointing at any delegate other than the\none it offered (`relay_authorization_wrong_delegate`) or signed by anyone other than the rater\n(`relay_authorization_not_by_rater`) - otherwise a caller could have the facilitator pay to delegate\nan account to a contract of their choosing.\n\nThe proof-of-payment gate applies here exactly as it does to `POST /feedback`: who authored a rating\nand whether a payment backs it are separate questions.\n","operationId":"path_feedback_evm_submit","requestBody":{"description":"Feedback parameters, the rater's signature, and the EIP-7702 authorization","content":{"application/json":{"schema":{"type":"object"}}},"required":true},"responses":{"200":{"description":"Feedback relayed, authored by the rater","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Signature, authorization, deadline or replay check failed","content":{"application/json":{"schema":{"type":"object"}}}},"500":{"description":"The relayed transaction failed","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/feedback/response":{"post":{"tags":["ERC-8004"],"summary":"Append response to feedback","description":"\nAppends a response to existing feedback.\n\n**This is NOT restricted to the agent, and the responder recorded on-chain is the facilitator.**\nVerified against Base mainnet on 2026-08-18 by simulating `appendResponse` on a real feedback\nentry: the call succeeds from an unrelated address, from the agent owner and from the facilitator\nalike (with a negative control — the same call on a non-existent index reverts `index out of\nbounds` — so the probe does distinguish success from failure).\n\nTwo consequences worth stating plainly rather than discovering later:\n\n- the **registry** applies no access control, so anyone can attach a response to anyone's feedback;\n- this **endpoint** is unauthenticated and the facilitator signs the transaction, so the\n  `ResponseAppended` event records the FACILITATOR as `responder`. Real authorship here would need\n  `appendResponse` added to the delegate's selector allowlist, which is a contract change.\n\nDo not read a response as coming from the agent.\n\n**EVM request:**\n```json\n{\n  \"x402Version\": 1,\n  \"network\": \"base\",\n  \"agentId\": 42,\n  \"clientAddress\": \"0x...\",\n  \"feedbackIndex\": 1,\n  \"responseUri\": \"ipfs://Qm...\",\n  \"responseHash\": \"0x...\"\n}\n```\n\n**Solana request** (requires `sealHash` for SEAL v1 integrity, `clientAddress` as Solana Pubkey):\n```json\n{\n  \"x402Version\": 1,\n  \"network\": \"solana\",\n  \"agentId\": \"7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgHkv\",\n  \"clientAddress\": \"Bz5K7...\",\n  \"feedbackIndex\": 1,\n  \"responseUri\": \"ipfs://Qm...\",\n  \"responseHash\": \"0x...\",\n  \"sealHash\": \"0xabc123...\"\n}\n```\n","operationId":"path_feedback_response","requestBody":{"description":"Append response request","content":{"application/json":{"schema":{"type":"object"}}},"required":true},"responses":{"200":{"description":"Response appended","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Failed to append response","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/feedback/revoke":{"post":{"tags":["ERC-8004"],"summary":"Revoke feedback (admin only)","description":"\nRevokes previously submitted reputation feedback.\n\n**Requires an `Authorization: Bearer <ERC8004_ADMIN_TOKEN>` header. When the server has no\nERC-8004 admin token configured this route answers 404, so it is indistinguishable from a\nroute that does not exist.**\n\nThe credential is deliberately NOT `BAZAAR_ADMIN_TOKEN`: the registry authorises\n`revokeFeedback` by `msg.sender`, which is the facilitator, so this endpoint can erase any\nfeedback the registry attributes to the facilitator wallet - permanently, and for third\nparties. It is gated separately from the catalog admin surface for that reason.\n\n**EVM request:**\n```json\n{\n  \"x402Version\": 1,\n  \"network\": \"base\",\n  \"agentId\": 42,\n  \"feedbackIndex\": 1\n}\n```\n\n**Solana request** needs the SEAL v1 hash of the feedback being revoked. Send the\ncontent under `originalFeedback` and the facilitator derives it; the values must match\nthe original submission exactly.\n```json\n{\n  \"x402Version\": 1,\n  \"network\": \"solana\",\n  \"agentId\": \"7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgHkv\",\n  \"feedbackIndex\": 1,\n  \"originalFeedback\": {\n    \"value\": 95, \"valueDecimals\": 0,\n    \"tag1\": \"uptime\", \"tag2\": \"verify\",\n    \"endpoint\": \"https://api.example.com\",\n    \"feedbackUri\": \"https://example.com/feedback.json\"\n  }\n}\n```\n`sealHash: \"0x...\"` is still accepted if you computed it yourself (keccak256 over the\nprogram's SEAL v1 layout) and takes precedence over `originalFeedback`.\n","operationId":"path_feedback_revoke","parameters":[{"name":"Authorization","in":"header","description":"Bearer <ERC8004_ADMIN_TOKEN>","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Revoke feedback request","content":{"application/json":{"schema":{"type":"object"}}},"required":true},"responses":{"200":{"description":"Revocation result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Revocation failed","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"Missing or invalid bearer token","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Revoke surface disabled (no ERC8004_ADMIN_TOKEN configured)","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/feedback/solana/prepare":{"post":{"tags":["ERC-8004"],"summary":"Prepare a rater-signed feedback transaction (Solana)","description":"\nBuilds an UNSIGNED Solana transaction whose `client` account is the **rater**, for the rater to sign\nin their own wallet. The facilitator remains the fee payer.\n\n**Why this exists.** Account 0 of the program's `give_feedback` instruction is\n`[signer, writable] client (feedback author / fee payer)`, and `POST /feedback` puts the\n*facilitator's* keypair there - so the chain records the facilitator as the author of the rating,\nnot the person who made it. Solana supports several signers per transaction natively, so the rater\nsigns as `client` while the facilitator still pays. No delegation, no program change.\n\n`rater` is REQUIRED here (base58 pubkey), and the returned transaction expects two signatures: the\nfee payer's (added by `/feedback/solana/submit`) and the rater's.\n\n```json\n{\n  \"x402Version\": 1,\n  \"network\": \"solana\",\n  \"feedback\": {\n    \"agentId\": \"7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgHkv\",\n    \"rater\": \"9oSLm8Rk1kQ9y8dFcqbAcTNqYqcrTUR6cQ4mL8mYNXpB\",\n    \"value\": 87, \"valueDecimals\": 0, \"score\": 95,\n    \"tag1\": \"quality\", \"tag2\": \"api\"\n  }\n}\n```\n\nThe response carries `transaction` (base64 of the bincode-serialised transaction), `blockhash` and\n`lastValidBlockHeight`. Sign it and send it to `/feedback/solana/submit` before the blockhash expires.\n","operationId":"path_feedback_solana_prepare","requestBody":{"description":"ERC-8004 feedback request with a `rater`","content":{"application/json":{"schema":{"type":"object"}}},"required":true},"responses":{"200":{"description":"Unsigned transaction for the rater to sign","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Missing rater, unsupported network, or invalid parameters","content":{"application/json":{"schema":{"type":"object"}}}},"503":{"description":"Could not reach the network","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/feedback/solana/submit":{"post":{"tags":["ERC-8004"],"summary":"Submit a rater-signed feedback transaction (Solana)","description":"\nCo-signs a rater-signed feedback transaction as fee payer and sends it.\n\nSend back the SAME feedback parameters used for `/feedback/solana/prepare`, plus the transaction\nwith the rater's signature on it:\n\n```json\n{\n  \"x402Version\": 1,\n  \"network\": \"solana\",\n  \"feedback\": { \"...\": \"exactly what you sent to /prepare\" },\n  \"transaction\": \"<base64 of the rater-signed transaction>\"\n}\n```\n\n**The parameters are not redundant.** The facilitator does not sign what it is given: it re-derives\nthe message from those parameters plus the blockhash carried by your submission, and refuses to\nco-sign anything that is not byte-for-byte what it would have offered (`400`, error\n`submitted transaction does not match the one this facilitator built`). Signing arbitrary blobs\nwould turn the fee-payer keypair into a public signing oracle - a single `system_program::transfer`\nwould empty the wallet with the facilitator's signature on it.\n\nThe rater's signature is verified *before* the facilitator adds its own, so a transaction the\nnetwork would reject never costs a fee.\n","operationId":"path_feedback_solana_submit","requestBody":{"description":"Feedback parameters plus the rater-signed transaction","content":{"application/json":{"schema":{"type":"object"}}},"required":true},"responses":{"200":{"description":"Feedback submitted, authored by the rater","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Transaction does not match, or the rater's signature is missing or invalid","content":{"application/json":{"schema":{"type":"object"}}}},"500":{"description":"Submission failed","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/health":{"get":{"tags":["Health"],"summary":"Health check","description":"Returns the health status of the facilitator service.","operationId":"path_health","responses":{"200":{"description":"Service is healthy","content":{"application/json":{"schema":{"type":"object"},"example":{"status":"healthy"}}}}}}},"/health/ready":{"get":{"tags":["Health"],"summary":"Can this facilitator settle, chain by chain","description":"`/health` only proves the process answers HTTP; it is what the load balancer probes, and it never reports a chain problem (a load-balancer check that did would have ECS cycle healthy tasks during a chain outage). This route is the operator's view.\n\nFor every configured EVM chain it asks the RPC for its chain id, reads the fee cap the settle path would set and each signer's native balance, and grades the signer by how many settles that balance still admits (`balance / (130000 gas * fee cap)`): below `minSettles` is `down`, at the row's own `warnSettles` or fewer is `degraded`.\n\n**Each chain is warned by what its gas costs.** A row's `warnSettles` is as many settles as `thresholds.warnBudgetUsd` dollars of that chain's gas pay for, at the fee cap just read and a table of reference prices for each gas currency declared in the code (dated `thresholds.warnPricesAsOf`; no price is fetched while probing), held between `thresholds.warnSettlesFloor` and `thresholds.warnSettles`. So a chain whose settle costs dollars (Ethereum, at its 5 gwei floor fee cap) is warned fewer settles ahead than one whose settle costs a fraction of a cent; when a chain's fee cap rises its warning falls toward the floor, and when it falls the warning rises toward the ceiling. A testnet, a chain whose gas currency is not priced, and a chain that prices gas at zero get the ceiling. `thresholds.warnOverrides` lists the chains whose warning is set explicitly instead. `warnSettles` is absent from a row whose chain could not be read.\n\nA chain whose RPC does not answer within the probe timeout is `down` with reason `rpc_unreachable` or `rpc_timeout`; one whose RPC answers for another chain is `down` with `rpc_chain_id_mismatch`. Native Hedera is graded from its sponsor account (one settle per max transaction fee of HBAR) and can also read `signer_key_mismatch` or `store_unavailable`. Other chains are listed under `unchecked`, never counted as green.\n\n**Every configured chain is listed, whatever its state**, under its v1 name (`network`) and its CAIP-2 id (`caip2`). A chain's health never takes it out of `/supported`: this route is where the health is reported.\n\n**`sanctionsList` grades the OFAC list** every payer and payee is screened against, by its own `generatedAtUnix`: `ageDays` since then, `maxAgeDays`, `records`. Past `maxAgeDays` it is `degraded` with reason `sanctions_list_stale`; `sanctions_list_age_unknown` when the list carries no parseable date or one in the future, `sanctions_list_not_loaded` when there is no list. It is never `down`: an old list still blocks every address it holds, and the task can still settle.\n\n**Cached**: one probe per `ttlSecs` (default 60) per task, however often the route is called and however its callers disconnect: the refresh runs in its own task, so a caller that hangs up does not cancel it. `checkedAtUnix` and `ageSecs` say when it was measured, and `probeTimeoutMs` bounds each chain's read. Rate limited per IP like the other on-chain reads (429 past the burst). **No secrets**: no RPC URL, key, signer address or balance appears in the body.\n\nOverall `status` is `down` (HTTP 503) when any MAINNET chain is down, `degraded` when anything else is short of green (the sanctions list included) or nothing was probed, `ok` otherwise. With `?network=` the status and the code are that chain's alone.\n\nTunables: `HEALTH_READY_TTL_SECS` (5-3600, default 60), `HEALTH_READY_PROBE_TIMEOUT_MS` (250-30000, default 5000), `HEALTH_READY_MIN_SETTLES` (1-100000, default 10), `HEALTH_READY_WARN_SETTLES` (the ceiling, default 100, never below the minimum), `HEALTH_READY_WARN_SETTLES_FLOOR` (default 20, between the minimum and the ceiling), and `HEALTH_READY_WARN_SETTLES_<NETWORK>` (one chain's warning instead of the rule's: the v1 name in upper case with `-` as `_`, e.g. `HEALTH_READY_WARN_SETTLES_ETHEREUM`; raised to the minimum when below it), and `HEALTH_READY_SANCTIONS_MAX_AGE_DAYS` (1-365, default 7). An out-of-range value logs a warning and keeps the default.","operationId":"path_health_ready","parameters":[{"name":"network","in":"query","description":"Scope to one chain: `base` or `eip155:8453`","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"`ok` or `degraded`","content":{"application/json":{"schema":{"type":"object"},"example":{"status":"ok","checkedAtUnix":1789416000,"ageSecs":12,"ttlSecs":60,"probeTimeoutMs":5000,"thresholds":{"minSettles":10,"warnSettles":100,"warnSettlesFloor":20,"warnBudgetUsd":20,"warnPricesAsOf":"2026-09-27","warnOverrides":{},"settleGasBudget":130000},"summary":{"ok":2,"degraded":0,"down":0},"networks":[{"network":"base","caip2":"eip155:8453","mainnet":true,"status":"ok","rpc":"ok","warnSettles":100,"signers":[{"index":0,"status":"ok","gasOk":true,"settlesRemaining":380}]},{"network":"ethereum","caip2":"eip155:1","mainnet":true,"status":"ok","rpc":"ok","warnSettles":20,"signers":[{"index":0,"status":"ok","gasOk":true,"settlesRemaining":24}]}],"unchecked":["solana"],"sanctionsList":{"list":"OFAC_SDN","status":"ok","generatedAtUnix":1789329600,"ageDays":1,"maxAgeDays":7,"records":1035}}}}},"400":{"description":"`unknown_network`"},"404":{"description":"`network_not_probed`: the chain is not configured, or is neither EVM nor native Hedera"},"429":{"description":"Rate limited: same per-IP governor as the other on-chain reads"},"503":{"description":"`down`: a mainnet (or the chain named in `?network=`) cannot settle; or `probe_failed` if the refresh task died without an answer","content":{"application/json":{"schema":{"type":"object"},"example":{"status":"down","networks":[{"network":"base","caip2":"eip155:8453","mainnet":true,"status":"down","reason":"signer_gas_critical","rpc":"ok","warnSettles":100,"signers":[{"index":0,"status":"down","gasOk":false,"settlesRemaining":0}]}]}}}}}}},"/identity/{network}/owner/{address}":{"get":{"tags":["ERC-8004"],"summary":"Resolve an agent by its owner","description":"\nReturns the first agent held by an address, for callers that need to know whether\nan owner already has one before minting another.\n\n**EVM networks:** `balanceOf` then batched `ownerOf` via Multicall3.\n\n**Solana networks:** a `getProgramAccounts` scan filtered by the AgentAccount\ndiscriminator and the `owner` field. `balance` is the number of agents matched.\nThe value read is `AgentAccount.owner`, which the registry caches from the Core\nasset: an asset moved outside the registry's own transfer leaves it stale until\nsomeone calls `sync_owner`.\n\n```json\n{\n  \"agentId\": \"247Y4QLwz9ZbcuHR2nX2EQLZHCsMs1GTqvgd6fpdn85Q\",\n  \"owner\": \"6xNPewUdKRbEZDReQdpyfNUdgNg8QRc8Mt263T5GZSRv\",\n  \"agentUri\": \"https://example.com/agent.json\",\n  \"network\": \"solana\",\n  \"balance\": \"1\"\n}\n```\n\n**404 means the owner holds nothing; 503 means the lookup could not reach a\nverdict.** Treat them differently: persisting \"not registered\" from a 503 is how\na transient RPC failure becomes a permanent wrong answer, and on a mint path it\nleads to minting a duplicate agent. A 503 carries `\"retryable\": true`.\n","operationId":"path_identity_by_owner","parameters":[{"name":"network","in":"path","description":"Network name (e.g., base, solana, solana-devnet)","required":true,"schema":{"type":"string"}},{"name":"address","in":"path","description":"Owner address: 0x-hex for EVM, base58 for Solana","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Agent found","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid network or address","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Address owns no agent on this network","content":{"application/json":{"schema":{"type":"object"}}}},"503":{"description":"Lookup inconclusive, retry","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/identity/{network}/total-supply":{"get":{"tags":["ERC-8004"],"summary":"Get total registered agents","description":"\nReturns the total number of registered agents on a specific network.\n\n**EVM networks** return the ERC-721 totalSupply from the AgentRegistry contract.\nThe ATOM Engine tracks quality through EMA scores, not positive/negative tallies, so\nthere are no such counters.\n\n**Solana networks** read the Metaplex Core collection referenced by the RootConfig PDA:\n`totalSupply` is its `current_size` (net of burns) and `numMinted` its all-time mint count.\nThe registry itself keeps no agent counter on-chain.\n\n**EVM Response:**\n```json\n{\n  \"network\": \"base\",\n  \"totalSupply\": 156\n}\n```\n\n**Solana Response:**\n```json\n{\n  \"network\": \"solana\",\n  \"totalSupply\": 42\n}\n```\n","operationId":"path_identity_total_supply","parameters":[{"name":"network","in":"path","description":"Network name (e.g., ethereum, base, solana)","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Total supply","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid or unsupported network","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/identity/{network}/{agent_id}":{"get":{"tags":["ERC-8004"],"summary":"Get agent identity","description":"\nRetrieves agent identity information from the ERC-8004 Identity Registry.\n\n**EVM networks:** ethereum, base, polygon, arbitrum, optimism, celo, bsc, monad, avalanche, scroll, skale-base, arc, robinhood + testnets\n\n**Solana networks:** solana, solana-devnet (reads AgentAccount PDA from 8004-solana program)\n\n**EVM Response:**\n```json\n{\n  \"agentId\": 42,\n  \"owner\": \"0x...\",\n  \"agentUri\": \"ipfs://Qm...\",\n  \"agentWallet\": \"0x...\",\n  \"network\": \"base\"\n}\n```\n\n**Solana Response:**\n```json\n{\n  \"agentId\": \"7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgHkv\",\n  \"owner\": \"5FHwkrdxPMsgAJBDkWmcoLiN9m1K95VCGw7qr4eXfjsP\",\n  \"agentUri\": \"https://example.com/agent.json\",\n  \"nftName\": \"My AI Agent\",\n  \"feedbackCount\": 47,\n  \"network\": \"solana\"\n}\n```\n","operationId":"path_identity","parameters":[{"name":"network","in":"path","description":"Network name (e.g., ethereum, base, solana, solana-devnet)","required":true,"schema":{"type":"string"}},{"name":"agent_id","in":"path","description":"Agent ID: numeric for EVM (e.g., 42), base58 Pubkey for Solana","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Agent identity","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid network or agent","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Agent not found","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/identity/{network}/{agent_id}/metadata/{key}":{"get":{"tags":["ERC-8004"],"summary":"Read agent metadata","description":"\nReads a specific metadata key from an agent's Identity Registry entry.\n\nSupports both EVM and Solana networks. On Solana, metadata is stored in MetadataEntryPda accounts derived from the agent's NFT address and metadata key hash.\n\n**Response:**\n```json\n{\n  \"agentId\": 42,\n  \"key\": \"description\",\n  \"value\": \"0x48656c6c6f\",\n  \"valueUtf8\": \"Hello\",\n  \"network\": \"base\"\n}\n```\n","operationId":"path_identity_metadata","parameters":[{"name":"network","in":"path","description":"Network name (e.g., ethereum, base, solana)","required":true,"schema":{"type":"string"}},{"name":"agent_id","in":"path","description":"Agent ID: numeric for EVM, base58 Pubkey for Solana","required":true,"schema":{"type":"string"}},{"name":"key","in":"path","description":"Metadata key (e.g., description, website, version)","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Metadata value","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid network or agent","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Agent or metadata key not found","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/index.md":{"get":{"tags":["Agentic"],"summary":"Landing page in Markdown","description":"The landing page as text, for an agent that would rather not render a 240 KB HTML monolith to learn what this service is.","operationId":"path_index_md","responses":{"200":{"description":"Markdown overview","content":{"text/markdown":{"schema":{"type":"string"}}}}}}},"/llms-full.txt":{"get":{"tags":["Agentic"],"summary":"llms.txt, index.md, skill.md and auth.md in one file","description":"The whole agent-facing documentation set concatenated, for pasting into one context window. Generated by `scripts/build_llms_full.sh`; a test fails the build when it drifts from its sources.","operationId":"path_llms_full_txt","responses":{"200":{"description":"Plain-text bundle","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/llms.txt":{"get":{"tags":["Agentic"],"summary":"llms.txt site map for LLMs","description":"The llmstxt.org map of this service: what it is, what it costs (nothing), which networks and schemes it settles, and where every other machine-readable document lives.","operationId":"path_llms_txt","responses":{"200":{"description":"Plain-text map","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/mcp":{"get":{"tags":["MCP"],"summary":"No SSE stream here","description":"Always 405 with `Allow: POST`. This MCP server is stateless, so there is no server-initiated event stream to subscribe to. The body is JSON, not text, so a scanner grading content types does not read it as a broken surface.","operationId":"path_mcp_get","responses":{"405":{"description":"Use POST","content":{"application/json":{"schema":{"type":"object"},"example":{"error":"GET is not supported on /mcp","transport":"streamable-http","method":"POST"}}}}}},"post":{"tags":["MCP"],"summary":"MCP endpoint (JSON-RPC 2.0 over Streamable HTTP)","description":"\nThe facilitator as an MCP server. Stateless Streamable HTTP: every request is a\nJSON-RPC 2.0 document, there is no session id, and `GET /mcp` answers 405 because\nthere is no server-initiated stream to open.\n\n**Tools** (each one is dispatched through the REST handler it names, so an MCP call\nand the HTTP call it stands for cannot answer differently):\n\n| Tool | Is | Moves money |\n|---|---|---|\n| `x402_supported` | `GET /supported` | no |\n| `x402_accepts` | `POST /accepts` | no |\n| `x402_verify` | `POST /verify` | no |\n| `x402_settle` | `POST /settle` | yes, irreversibly |\n| `x402_networks` | `GET /networks.json` | no |\n| `x402_chain_health` | `GET /health/ready` | no |\n| `x402_escrow_onchain_state` | `POST /escrow/state` | no |\n| `x402_durable_evidence` | `GET /dx402/evidence/{paymentId}` or `/dx402/receipt/{paymentId}` | no |\n\nA tool's `arguments` are the JSON body of the request it stands for (for the GET\nreads, its path and query, percent-encoded); its result is that request's response\nbody verbatim in one text content block. A non-2xx answer comes back as\n`isError: true` carrying the facilitator's own message, not as a JSON-RPC error --\nexcept a `GET /health/ready` reading of a chain that is down, which is\n`x402_chain_health`'s result. The reads (`x402_supported` and the last four) move\nand sign nothing and also answer in `structuredContent`.\n\nThe body is the only channel: a tool call cannot set headers. The one exception is\n`x402_settle`, which takes an optional `idempotencyKey` argument that is lifted out\nof the body and sent as the `Idempotency-Key` header, so an MCP client can ask for\nexactly-once the same way an HTTP client does. The v2 `PAYMENT-SIGNATURE` header\ntransport has no equivalent here; send the payload in the body.\n\n**`Accept` must name BOTH `application/json` and `text/event-stream`.** The MCP\nStreamable HTTP transport requires it and answers `406` otherwise, even though this\nserver is stateless and always replies with JSON. Use\n`accept: application/json, text/event-stream`.\n\n**Authentication:** none, same as every other route (`/auth.md`).\n**Rate limit:** shared with `POST /verify` and `POST /settle` -- one per-IP bucket,\nnot two.\n\nHandshake (note the two Accept types):\n\n```json\n{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"initialize\",\"params\":{\n  \"protocolVersion\":\"2025-06-18\",\"capabilities\":{},\n  \"clientInfo\":{\"name\":\"my-agent\",\"version\":\"1.0\"}}}\n```\n\nTool call:\n\n```json\n{\"jsonrpc\":\"2.0\",\"id\":2,\"method\":\"tools/call\",\"params\":{\n  \"name\":\"x402_supported\",\"arguments\":{}}}\n```\n","operationId":"path_mcp_post","requestBody":{"description":"A JSON-RPC 2.0 request: initialize, tools/list, tools/call, ping","content":{"application/json":{"schema":{"type":"object"}}},"required":true},"responses":{"200":{"description":"JSON-RPC 2.0 response","content":{"application/json":{"schema":{"type":"object"},"example":{"jsonrpc":"2.0","id":1,"result":{"protocolVersion":"2025-06-18","capabilities":{"tools":{}},"serverInfo":{"name":"x402-facilitator","version":"0.0.0"}}}}}},"400":{"description":"Not a JSON-RPC document","content":{"application/json":{"schema":{"type":"object"}}}},"403":{"description":"Host header not on the MCP allowlist (MCP_ALLOWED_HOSTS)","content":{"application/json":{"schema":{"type":"object"}}}},"406":{"description":"Accept did not name both application/json and text/event-stream","content":{"application/json":{"schema":{"type":"object"},"example":{"error":"Not Acceptable","status":406,"hint":"Accept must name BOTH application/json and text/event-stream, e.g. `accept: application/json, text/event-stream`."}}}},"415":{"description":"Content-Type is not application/json","content":{"application/json":{"schema":{"type":"object"}}}},"429":{"description":"Per-IP rate limit, shared with /verify and /settle","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/networks.json":{"get":{"tags":["Discovery"],"summary":"How to present each served network","description":"\nOne row per network `/supported` serves, with what a network picker needs and `/supported` does not carry: a name, an icon, an explorer and the testnet flag.\n\n**The rows are `/supported`.** The document is built from the `/supported` body itself, grouped by chain: a network has a row if and only if `/supported` names it, and `id` / `caip2` are the two identifiers `/supported` uses for it (native Hedera has no v1 name, so its `id` is its CAIP-2 id, as on `/supported`). Every `network` in `/supported` is some row's `id` or `caip2`. `schemes`, and each token's `address` and `decimals`, are read off the same entries.\n\n- `family`: `evm`, `svm`, `near`, `stellar`, `algorand`, `sui`, `xrpl` or `hedera`. `chainId` is the EVM chain id, `null` elsewhere.\n- `explorer`: `{base, tx, address}`, where `tx` and `address` are templates with a `{tx}` / `{address}` placeholder. Substitute a URL-encoded value.\n- `icon`: absolute URL of a PNG this facilitator serves.\n- `tokens[]`: `{symbol, address, decimals, eip712, usdPegged, icon}`. `eip712` is the `{name, version}` domain `/verify` resolves for that EVM deployment (`null` off EVM); `usdPegged` is false for EURC and XRP; `icon` is `null` where no image exists (XRP).\n\nOnly the presentation (names, icons, explorers, `usdPegged`) comes from `config/supported_tokens.json` in the repository, compiled into the binary. A served network it does not describe still gets its row, with `explorer` and `icon` null, rather than disappearing. Cached for five minutes. `/supported` itself is unchanged: it is protocol, and this is not.\n","operationId":"path_networks_json","responses":{"200":{"description":"One row per served network","content":{"application/json":{"schema":{"type":"object"},"example":{"networks":[{"id":"base","caip2":"eip155:8453","family":"evm","chainId":8453,"testnet":false,"displayName":"Base","explorer":{"base":"https://basescan.org","tx":"https://basescan.org/tx/{tx}","address":"https://basescan.org/address/{address}"},"icon":"https://facilitator.ultravioletadao.xyz/base.png","schemes":["commerce","escrow","exact","upto"],"tokens":[{"symbol":"USDC","address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","decimals":6,"eip712":{"name":"USD Coin","version":"2"},"usdPegged":true,"icon":"https://facilitator.ultravioletadao.xyz/usdc.png"}]},{"id":"hedera:mainnet","caip2":"hedera:mainnet","family":"hedera","chainId":null,"testnet":false,"displayName":"Hedera","explorer":{"base":"https://hashscan.io/mainnet","tx":"https://hashscan.io/mainnet/transaction/{tx}","address":"https://hashscan.io/mainnet/account/{address}"},"icon":"https://facilitator.ultravioletadao.xyz/hedera.png","schemes":["exact"],"tokens":[{"symbol":"USDC","address":"0.0.456858","decimals":6,"eip712":null,"usdPegged":true,"icon":"https://facilitator.ultravioletadao.xyz/usdc.png"}]}]}}}}}}},"/openapi.json":{"get":{"tags":["Agentic"],"summary":"This document","description":"The OpenAPI specification, at the root path scanners and RFC 9727 catalogs look for. Identical to `/api-docs/openapi.json`, which is where Swagger UI reads it.","operationId":"path_openapi_json","responses":{"200":{"description":"OpenAPI 3.1 document","content":{"application/json":{"schema":{"type":"object"}}}},"500":{"description":"The document could not be serialised","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/receipts":{"get":{"tags":["Core"],"summary":"Discover facilitator receipt capabilities","responses":{"200":{"description":"Discover facilitator receipt capabilities","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/receipts/{receiptId}":{"get":{"tags":["Core"],"summary":"Read and reconcile a private receipt; never broadcasts a payment","parameters":[{"name":"receiptId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Authorization","in":"header","description":"Bearer followed by the original purchase accessToken","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Latest durable receipt","content":{"application/json":{"schema":{"type":"object","properties":{"receipt":{"$ref":"#/components/schemas/FacilitatorReceipt"}}}}}},"404":{"description":"Unknown receipt or incorrect capability"},"503":{"description":"Receipt storage unavailable"}}}},"/register":{"get":{"tags":["ERC-8004"],"summary":"Get agent registration schema","description":"Returns the JSON schema for ERC-8004 agent registration requests, including supported networks and body format.","operationId":"path_register_get","responses":{"200":{"description":"Registration schema","content":{"application/json":{"schema":{"type":"object"}}}}}},"post":{"tags":["ERC-8004"],"summary":"Register a new agent","description":"\nRegisters a new ERC-8004 agent on-chain. The facilitator pays all gas fees.\n\n**`recipient` and `agentUri` are required (v2.44.0).** The facilitator does not keep the\nidentities it mints: a request without `recipient`, or naming the facilitator itself, is\nrefused. `agentUri` must be `https://` on a public DNS name, or `ipfs://<cid>`. Refused,\neach with its own `errorCode`, before anything is sent:\n\n| `errorCode` | Status | Why |\n|---|---|---|\n| `agent_uri_missing`, `agent_uri_too_long` (over 2048 bytes), `agent_uri_malformed` (spaces, control characters or a `\\`) | 400 | No usable URI |\n| `agent_uri_scheme` | 400 | Not `https://` or `ipfs://` (`http://`, `data:` ...) |\n| `agent_uri_credentials` | 400 | A user or password before the host |\n| `agent_uri_ip_literal` | 400 | The host is an IP address, in any form a URL parser reads as one |\n| `agent_uri_non_public_host` | 400 | `localhost`, `.local`, `.internal`, a single label |\n| `agent_uri_embedded_ip` | 400 | A host that embeds an IP (`198-51-100-7.example.com`) or a wildcard-DNS service (`sslip.io`, `nip.io`, ...) |\n| `agent_uri_tunnel` | 400 | A tunnelling service (`ngrok`, `trycloudflare`, ...) |\n| `recipient_required`, `recipient_is_facilitator`, `recipient_invalid` (the zero address) | 400 | See above |\n| `recipient_cannot_receive` | 400 | EVM: a contract that does not answer `onERC721Received`; the transfer would revert and leave the identity with the facilitator |\n| `erc8004_gas_over_limit` | 400 | `robinhood`, `robinhood-testnet`: the mint's gas estimate is above the network's ceiling for one transaction; nothing is sent |\n| `recipient_blocked` | 403 | The recipient is on a compliance list; nothing is minted or handed over |\n| `recipient_screening_unavailable`, `recipient_check_unavailable` | 503 | The lists, or the recipient's code, could not be read; retryable |\n| `mint_not_atomic` (in `mint.errorCode`) | 400 | Solana: the mint would not fit one transaction: more than 4 `metadata` entries, or over 1232 bytes with long values |\n| `metadata_duplicate_key` (in `mint.errorCode`) | 400 | Solana: a `metadata` key appears twice |\n| `held_identity_not_resumable` (in `mint.errorCode`) | 409 | Solana: an identity with this `agentUri` is held by the facilitator and this is not a retry of the request that minted it (see below); nothing is sent |\n\nThe domain lists are `config/erc8004_agent_uri_rules.json` in the repository.\n\n**EVM: a transfer that fails after the mint (v2.45.0).** The identity is minted to the\nfacilitator and then transferred. If the delivery fails (the transfer reverts, or `ownerOf` is\nnot the recipient afterwards), the identity is retired on the spot (its `agentURI` is set to\n`https://facilitator.ultravioletadao.xyz/erc8004/retired`) and the response is a `500` whose\n`error` says so. Repeating the same request (same `agentUri` and\n`recipient`) within 24 hours puts the `agentURI` back and retries the delivery of that same\nidentity.\n\n**Supported networks:** 25 networks (EVM + Solana). EVM chains use ERC-721 NFTs, Solana uses Metaplex Core NFTs.\n\n**EVM request:**\n```json\n{\n  \"x402Version\": 1,\n  \"network\": \"base\",\n  \"agentUri\": \"ipfs://Qm.../agent.json\",\n  \"metadata\": [{\"key\": \"description\", \"value\": \"0x...\"}],\n  \"recipient\": \"0x...\"\n}\n```\n\n**Solana request:** `recipient` is a base58 Solana address.\n```json\n{\n  \"x402Version\": 1,\n  \"network\": \"solana\",\n  \"agentUri\": \"ipfs://Qm.../agent.json\",\n  \"metadata\": [{\"key\": \"x402Support\", \"value\": \"true\"}],\n  \"recipient\": \"6xNPewUdKRbEZDReQdpyfNUdgNg8QRc8Mt263T5GZSRv\"\n}\n```\n\nOn Solana the facilitator mints, initializes the agent's ATOM stats account, then\ntransfers the Metaplex Core asset to `recipient`, paying every fee. The ordering is\nrequired: only the owner can initialize the stats, so it happens before the transfer.\nWithout that account the ATOM Engine records feedback but scores none of it.\n\n`agentWallet` does not survive the transfer and must be re-set by the new owner,\nthe same as on EVM.\n\n**Solana mints are atomic (v2.17.0).** All three instructions ride in a single\ntransaction, so no prefix of the mint can land on its own. A mint that would not fit one\ntransaction is refused before the chain (`400 mint_not_atomic`, v2.45.0): at most 4\n`metadata` entries, each key once. The three used to be\nthree transactions, and a fee payer that ran dry mid-batch left identities created\nbut never transferred, reported as a plain success.\n\nSolana responses therefore carry a `mint` object. **Read `mint.status`, not\n`success`, to decide whether to retry:**\n\n| `mint.status` | Meaning |\n|---|---|\n| `complete` | Everything the request asked for confirmed. |\n| `pending_stats` | The identity exists without its ATOM stats and the facilitator still holds it. Repeat the same request to finish it. |\n| `pending_transfer` | The identity exists and is initialized but the facilitator still holds it. Repeat the same request to finish it. |\n| `not_minted` | No identity exists and nothing was left behind. Safe to retry. |\n\n`mint.resumed` is true when the call finished an identity an earlier call had left\nhalf minted, rather than creating a new one. A half-minted identity is resumed only by\na retry of the request that minted it (same `agentUri` and `recipient`, within 24\nhours): the facilitator finds it among the agents it still holds and runs only the\nmissing steps. Any other match is `409`, `mint.errorCode =\n\"held_identity_not_resumable\"`, `mint.status = \"not_minted\"`, nothing sent; it is left\nfor manual recovery.\n\n`mint.atomic` is true when one transaction carried every step, in which case\n`transaction`, `mint.statsTransaction` and `transferTransaction` are the same\nsignature.\n\nA mint whose fee payer cannot cover it is refused **before** anything is sent:\n`503` with `mint.errorCode = \"fee_payer_insufficient_balance\"` and\n`mint.feePayer` carrying `availableLamports`, `requiredLamports` and\n`mintsRemaining`. Nothing is written, so there is no partial identity to clean up.\nA mint costs about 0.0134 SOL, almost all of it rent for the accounts it creates.\n\n**EVM response:** `agentId` is a numeric string (ERC-721 tokenId). No `mint` object.\n**Solana response:** `agentId` is a base58 Pubkey (Metaplex Core NFT mint address).\n\n```json\n{\n  \"success\": true,\n  \"agentId\": \"7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgHkv\",\n  \"transaction\": \"5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d6...\",\n  \"transferTransaction\": \"5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d6...\",\n  \"owner\": \"6xNPewUdKRbEZDReQdpyfNUdgNg8QRc8Mt263T5GZSRv\",\n  \"network\": \"solana\",\n  \"mint\": {\n    \"status\": \"complete\",\n    \"resumed\": false,\n    \"atomic\": true,\n    \"metadataSkipped\": false,\n    \"statsTransaction\": \"5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d6...\",\n    \"feePayer\": {\n      \"address\": \"F742C4VfFLQ9zRQyithoj5229ZgtX2WqKCSFKgH2EThq\",\n      \"availableLamports\": 1000000000,\n      \"requiredLamports\": 13402400,\n      \"mintsRemaining\": 74\n    }\n  }\n}\n```\n\n**Async mode (EVM):** send header `Prefer: respond-async` (or `X-Async: true`) to\nget an immediate `202 Accepted` with a `jobId` instead of blocking on the ~28s\non-chain confirmation. Poll `GET /register/status/{jobId}` until `status` is\n`done` and `agentId` is populated. The `Location` header of the 202 points at the\nstatus URL, keeping the facilitator's on-chain latency out of the caller's\ntimeout budget.\n\n**Idempotency / in-flight lock:** a second registration for the same\n`network|agentUri|recipient` while the first is still confirming is not\nre-minted — the async path returns the existing job, the sync path returns\n`409 Conflict`.\n","operationId":"path_register_post","requestBody":{"description":"Agent registration request","content":{"application/json":{"schema":{"type":"object"}}},"required":true},"responses":{"200":{"description":"Registration result (sync)","content":{"application/json":{"schema":{"type":"object"}}}},"202":{"description":"Async registration accepted; poll /register/status/{jobId}","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Registration failed, or refused before the chain: `errorCode` says which rule (`agent_uri_*`, `recipient_required`, `recipient_is_facilitator`, `recipient_invalid`, `recipient_cannot_receive`, `erc8004_gas_over_limit`)","content":{"application/json":{"schema":{"type":"object"}}}},"403":{"description":"`recipient_blocked`: the recipient is on a compliance list","content":{"application/json":{"schema":{"type":"object"}}}},"409":{"description":"A registration for this agent is already in progress, or on Solana `held_identity_not_resumable`: an identity with this `agentUri` is held by the facilitator and this is not a retry of the request that minted it; nothing is sent","content":{"application/json":{"schema":{"type":"object"}}}},"500":{"description":"Solana: the identity exists but is still held by the facilitator (`mint.status` is `pending_stats` or `pending_transfer`). Repeat the request to finish it","content":{"application/json":{"schema":{"type":"object"}}}},"503":{"description":"Refused before minting: the recipient could not be screened (`recipient_screening_unavailable`), its code or its balance could not be read (`recipient_check_unavailable`), or on Solana the fee payer cannot cover the mint, or the facilitator could not tell whether this agent already has a half-minted identity","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/register/status/{job_id}":{"get":{"tags":["ERC-8004"],"summary":"Poll async registration status","description":"\nReturns the status of an asynchronous ERC-8004 registration started with\n`Prefer: respond-async` on `POST /register`.\n\n`status` progresses `pending -> mint_confirmed -> done` (or `failed`). Once\n`mint_confirmed`/`done`, `agentId` is populated. Terminal jobs are retained for\none hour before they age out (then this returns `404`).\n\nA job that cannot yet tell whether the recipient already holds an agent, or\nwhere the agent went after a transfer that did not confirm, stays `pending` or\n`mint_confirmed` while the facilitator asks again, for up to ten minutes per\nquestion; only past that does it end `failed`, with a retryable error.\n\nAny instance answers: one that does not run the job asks the one that does.\n`503` with `Retry-After` means it could not ask; poll again. Only `404` means\nthe job is unknown or expired.\n\n```json\n{\n  \"jobId\": \"reg_3f2a9c0e5b7d4e1f8a6c2b9d0e4f7a13\",\n  \"status\": \"done\",\n  \"network\": \"base\",\n  \"agentId\": \"17\",\n  \"transaction\": \"0x...\",\n  \"transferTransaction\": \"0x...\",\n  \"owner\": \"0x...\"\n}\n```\n","operationId":"path_register_status","parameters":[{"name":"job_id","in":"path","description":"Job id from the async POST /register","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Current job status","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Job not found or expired","content":{"application/json":{"schema":{"type":"object"}}}},"503":{"description":"This instance could not ask the one running the job (`retryable: true`, `Retry-After`); poll again","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/reputation/{network}/{agent_id}":{"get":{"tags":["ERC-8004"],"summary":"Get agent reputation","description":"\nQueries the reputation summary for an AI agent from the ERC-8004 Reputation Registry.\n\n**EVM networks:** ethereum, base, polygon, arbitrum, optimism, celo, bsc, monad, avalanche, scroll, skale-base, arc, robinhood + testnets\n\n**Solana networks:** solana, solana-devnet (reads from ATOM Engine for enriched reputation data)\n\n**Client address filtering (EVM only):** The `clientAddresses` query parameter accepts comma-separated Ethereum addresses to filter reputation data by specific clients. If omitted, the endpoint auto-discovers all clients who have given feedback via the on-chain `getClients()` function.\n\n**When one read cannot cover every client (EVM):** the registry walks every feedback entry of every client inside one `getSummary` call, so one client with enough entries makes that call revert (Arc testnet agent 1, measured 2026-09-23: one of its 1,315 clients has 77,447 entries). The route then reads groups of 100 clients, at most 32 calls and 4 at a time, splits a refused group until the refusal is pinned to single clients, and adds a `coverage` object: `complete`, `clientsTotal`, `clientsRead`, `clientsUnreadable`, `clientsNotRead`, up to 20 `unreadableClients`, `calls` and the two limits. The summary is then combined from the groups' averages weighted by their counts, and can differ from a single read in its last digit. `feedback` is not returned in that case. That answer is cached for 60 s per agent and query, one such read runs per network at a time, and `coverage.readAtUnix` says when the registry was read. A node that cannot be reached still answers 500.\n\n**Examples:**\n- `/reputation/base/42` - EVM agent (all clients, auto-discovered)\n- `/reputation/solana/7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgHkv` - Solana agent (with ATOM stats)\n- `/reputation/base/42?includeFeedback=true&tag1=quality` - with feedback entries filtered by tag\n\n**EVM Response:**\n```json\n{\n  \"agentId\": 42,\n  \"summary\": { \"count\": 15, \"summaryValue\": 87, \"summaryValueDecimals\": 0 },\n  \"feedback\": [...],\n  \"atomStats\": null,\n  \"network\": \"base\"\n}\n```\n\n**Solana Response (includes ATOM Engine bonus data):**\n```json\n{\n  \"agentId\": \"7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgHkv\",\n  \"summary\": { \"count\": 47, \"summaryValue\": 78, \"summaryValueDecimals\": 0 },\n  \"atomStats\": {\n    \"trustTier\": 3, \"trustTierName\": \"Trusted\",\n    \"qualityScore\": 78, \"loyaltyScore\": 64, \"confidence\": 85, \"riskScore\": 12,\n    \"diversityRatio\": 67, \"minScore\": 40, \"maxScore\": 99, \"lastScore\": 95,\n    \"feedbackCount\": 47, \"lastFeedbackSlot\": 301118422\n  },\n  \"network\": \"solana\"\n}\n```\n","operationId":"path_reputation","parameters":[{"name":"network","in":"path","description":"Network name (e.g., ethereum, base, solana, solana-devnet)","required":true,"schema":{"type":"string"}},{"name":"agent_id","in":"path","description":"Agent ID: numeric for EVM (e.g., 42), base58 Pubkey for Solana","required":true,"schema":{"type":"string"}},{"name":"include_feedback","in":"query","description":"Include individual feedback entries","required":false,"schema":{"type":"boolean"}},{"name":"client_addresses","in":"query","description":"Comma-separated client addresses to filter by. If omitted, auto-discovers all clients via getClients()","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Reputation data","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid network or agent","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Agent not found","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/robots.txt":{"get":{"tags":["Agentic"],"summary":"Crawler policy","description":"RFC 9309 policy with every AI crawler allowed explicitly, Content-Signal set to yes on all three signals, and no Disallow: this service is public payment infrastructure with no paid routes to hide.","operationId":"path_robots_txt","responses":{"200":{"description":"Crawler policy","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/schemas/facilitator-receipt-v1.json":{"get":{"tags":["Core"],"summary":"Portable facilitator receipt JSON Schema","responses":{"200":{"description":"Portable facilitator receipt JSON Schema","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/settle":{"get":{"tags":["Core"],"summary":"Get settlement schema","description":"Returns the JSON schema for payment settlement requests.","operationId":"path_settle_get","responses":{"200":{"description":"Settlement schema","content":{"application/json":{"schema":{"type":"object"}}}}}},"post":{"tags":["Core"],"summary":"Settle payment on-chain","description":"\nSubmits a verified payment authorization to the blockchain for settlement.\n\n**Process:**\n1. Verifies the payment (same as /verify)\n2. Calls `transferWithAuthorization` on the token contract\n3. Returns transaction hash on success\n\n**Upto Settlement (scheme: \"upto\"):**\n\nWhen `scheme: \"upto\"`, the client provides a Permit2-signed authorization for a maximum amount.\nThe server settles for the actual usage amount (<= authorized max). If actual amount is 0, no\non-chain transaction is submitted.\n\nUses `x402UptoPermit2Proxy.settle(permit, amount, owner, witness, signature)` via Uniswap Permit2.\n\n**Escrow / Commerce Lifecycle (scheme: \"escrow\" or \"commerce\"):**\n\nBoth `\"escrow\"` and `\"commerce\"` schemes are supported and functionally identical.\nThe `\"commerce\"` alias was introduced by x402r for marketplace integrations (e.g., Execution Market).\nThe `action` field controls the operation:\n\n| Action | Description | Signature Required |\n|--------|-------------|-------------------|\n| `authorize` (default) | Lock funds in escrow | Yes (ERC-3009, by the payer) |\n| `release` | Send escrowed funds to receiver | EIP-712 lifecycle order by the payer, the operator's declared lifecycle signer, or the operator owner (`payload.lifecycleAuth`) |\n| `refundInEscrow` | Return escrowed funds to payer | EIP-712 lifecycle order by the receiver, the operator's declared lifecycle signer, the operator owner, or the payer once `authorizationExpiry` has passed |\n\nEscrow contracts deployed on 14 networks. See `/supported` for networks with active PaymentOperator deployments.\n\n`/settle` relays `authorize`, `release` and `refundInEscrow` only to the PaymentOperators this facilitator declares\nfor the network -- each `escrow` entry of `/supported` names one of them. A request whose `paymentInfo.operator`, or\nthe address the call would go to (`authorizeAddress`, else `operatorAddress`), is any other answers\n`400 escrow_operator_not_served`, before anything is read or sent. To have an operator added, see \"Escrow\nPaymentOperators\" in the repository's README.\n\n**NEAR escrow (scheme `escrow` on `near` / `near-testnet`)** is a path of its own, into the Arras escrow\ncontracts: served only while `ENABLE_NEAR_ESCROW` is on and a contract is configured for the network\n(`/supported` then lists an `escrow` kind there). The payload is `{\"signedDelegateAction\": \"<base64 borsh>\"}`,\nrelayed by NEP-366 like `exact` on NEAR, and the requirements name the one payment in `extra.nearEscrow`:\n- a payment: `{contract, operatorId, msg, paymentId}`. The payer's delegate action calls `ft_transfer_call` on\n  the network's USDC with `contract` as receiver, the required amount (never 0) and `msg` byte for byte.\n- a lifecycle call: `{contract, action}`, `action` one of `release`, `refund`, `reclaim`, `withdraw`,\n  `withdraw_for`, and no amount. The delegate action calls that method on `contract`; who may have it relayed\n  is read from the escrow first (the operator's capturers, the payment's payer, status and deadlines, a\n  claimable balance on an account registered on USDC).\n\nEvery relay counts against its sender's hour, authorizations and lifecycle calls alike: settle takes the slot\nbefore sending (`NEAR_ESCROW_SENDER_PER_HOUR`, published as `senderPerHour`), and a sender whose hour is full is\nrefused with `near_escrow_sender_rate_limited` before anything is sent.\n\nWhat the chain would refuse is refused before relaying, as far as the chain shows it. A payment is held to the\nescrow's own state, read from its views (`get_config`, `get_operator`, `get_payment`, the payer's NEP-145\nbalance on the escrow), and a partial `release` to the payment's live amount; each refusal names the condition\n(`near_escrow_paused`, `near_escrow_over_per_payment_cap`, `near_escrow_amount_exceeds_live`, ...). A\ndelegate action whose `max_block_height` is at or below the head the node answers is\n`near_escrow_delegate_expired`, and one whose nonce is at or over that head's height times 1000000 is\n`near_escrow_delegate_nonce_too_large`.\n\n`authorize_from_budget` is validated, not relayed until v2 exposes a budget view\n(`near_escrow_method_not_allowed`). A refusal is `isValid: false` / `success: false` with a `near_escrow_*`\nreason; an outcome that shows no verdict is `502 settlement_unconfirmed` with the hash. A success carries\n`extensions.nearEscrow` (`action`, `contract`, and `paymentId` or `account`).\n\n**Arc, Arc testnet and Robinhood Chain (`robinhood`, not its testnet)** run the canonical commerce-payments v1.0.0 set -- AuthCaptureEscrow\n`0xBdEA0D1bcC5966192B070Fdf62aB4EF5b4420cff`, ERC-3009 collector `0x0E3dF9510de65469C4518D7843919c0b8C7A7757`,\nPaymentOperatorFactory v1.0.2 `0xc24153B7ED8DC03e551F29DDEeA5CadFe57e2716` -- and a request there must name\nthat escrow and collector. Every write there (`authorize`, `release`, `refundInEscrow`) goes to `paymentInfo.operator`\nitself, and only once that address has code: a request whose call would go anywhere else answers\n`400 escrow_operator_not_served` (above), and one whose operator has no code on the network answers\n`422 operator_has_no_code`; neither sends a transaction. Their operators have no `release` / `refundInEscrow`: `release` is sent as\n`capture(paymentInfo, amount, 0x)` and `refundInEscrow` as `void(paymentInfo, 0x)`, which returns the WHOLE\ncapturable amount, so `refundInEscrow` must name exactly that amount. Nothing capturable left answers\n`409 nothing_to_void`; an `amount` of `0` answers `422 amount_required_on_generation` (it is never read as\n\"all of it\"); any other amount answers `422 partial_refund_unsupported_on_generation`; and a chain read that\nfails answers `502 chain_read_unavailable` with `retryable: true`. None of them sends a transaction.\n`authorize` on these networks takes EOA signatures only, and is placed against a listed PaymentOperator only once that\noperator has passed its on-chain self-check: until then it answers `503 operator_not_verified`, retryable --\nthe expected case being an operator that is declared but not deployed yet. On Robinhood Chain the token is\nUSDG (`0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168`, EIP-712 domain `Global Dollar` / `1`), and the only one its rail\nmoves: on `/settle` a request moving any other `paymentInfo.token` answers `400 escrow_token_not_served`, for all\nthree writes and before anything is read or sent.\n\n**Lifecycle orders.** `release` and `refundInEscrow` carry no ERC-3009 signature (the funds are\nalready escrowed) but they do move money, so they carry `payload.lifecycleAuth`: an EIP-712\nsignature over `LifecycleOrder(string action, uint256 amount, uint256 deadline, bytes32 nonce, PaymentInfo paymentInfo)`\nwith domain `{ name: \"x402 escrow lifecycle\", version: \"1\", chainId }` and `PaymentInfo` the\nAuthCaptureEscrow type verbatim. The \"operator owner\" is the operator's `FEE_RECIPIENT()`\n(`FEE_RECEIVER()` on Arc and Robinhood Chain), read on chain. The operator's declared lifecycle signer is the key this\nfacilitator's operator table names for `paymentInfo.operator` on that network (role `declared_signer`), checked\nwithout reading the chain; every x402r (EVM) `escrow` entry of `/supported` announces the network's declared\nsigners in `extra.lifecycleSigners` (operator -> signer, `{}` when none, lowercase addresses, the same map on every\nescrow entry of the network) with `extra.lifecycleSignersVersion: 1`, and both fields are absent from every other\nentry (the NEAR `escrow` one included). Without `lifecycleSignersVersion`, or with a version other than `1`, there\nis no declared signer. Whether the order is required is governed by `ESCROW_LIFECYCLE_AUTH` (`off` | `log` |\n`enforce`); `GET /settle` publishes the effective mode. Under `enforce` a missing or invalid order\nis 403 with a bounded `errorReason` (`missing`, `bad_signature`, `expired`, `deadline_too_far`,\n`replayed`, `unauthorized_role`); `owner_unverifiable` is 502 and retryable.\n\n**Escrow release/refund payload**:\n```json\n{\n  \"scheme\": \"escrow\",\n  \"action\": \"release\",\n  \"payload\": {\n    \"paymentInfo\": { \"operator\": \"0x...\", \"receiver\": \"0x...\", ... },\n    \"payer\": \"0x...\",\n    \"amount\": \"1000000\",\n    \"lifecycleAuth\": {\n      \"signer\": \"0x...\",\n      \"deadline\": 1757088000,\n      \"nonce\": \"0x<32 bytes>\",\n      \"signature\": \"0x<65 bytes>\"\n    }\n  },\n  \"paymentRequirements\": {\n    \"network\": \"eip155:8453\",\n    \"extra\": { \"escrowAddress\": \"0x...\", \"operatorAddress\": \"0x...\", \"tokenCollector\": \"0x...\" }\n  }\n}\n```\n\n**Response on success:**\n```json\n{\n  \"success\": true,\n  \"transaction\": \"0x...\",\n  \"transactionHash\": \"0x...\",\n  \"paymentId\": \"0x...\",\n  \"network\": \"base\",\n  \"payer\": \"0x...\"\n}\n```\n\n`transaction`, `transactionHash` and `transaction_hash` are the same value under\nthe three names clients read it by. `paymentId` is `keccak256(caip2 || txHash)`,\nthe key DX402 evidence is stored under, so it is what `/dx402/evidence/{paymentId}`\nand `/dx402/receipt/{paymentId}` take.\n\nSend an `Idempotency-Key` header to make a retry safe: the same key with the same\nbody replays the first response (marked `Idempotent-Replayed: true`), the same\nkey with a different body is refused with `409`, and an unreachable idempotency\nstore fails closed with `503` rather than settling something it could not\ndeduplicate.\n\n**Response on failure:**\n```json\n{\n  \"success\": false,\n  \"errorReason\": \"insufficient_funds\",\n  \"payer\": \"0x...\",\n  \"network\": \"base\"\n}\n```\n\n**Response when the transaction may already be on chain** (`502`):\n```json\n{\n  \"error\": \"settlement_unconfirmed\",\n  \"transaction\": \"0x...\",\n  \"paymentId\": \"0x...\",\n  \"retryable\": false\n}\n```\n\nThis is not a verdict. The transaction was handed to the network, or may have\nbeen, and the facilitator never learned its fate: the receipt did not arrive,\nthe node's answer to the send itself was lost (a timeout, a dropped connection,\na gateway error), or the node said it already holds the transaction. It may be\nmined. `retryable` is `false` and is load-bearing: retrying re-signs a **fresh**\nauthorization for the same purchase, which is a new and perfectly valid payment\nthat the token's own EIP-3009 nonce check cannot stop, so a retry here is how a\nbuyer pays twice. Look the `transaction` up on chain instead. `paymentId` is\nderived exactly as on the success path, so a transaction later found confirmed\ncarries the same identifier.\n\nEvery network family answers this way, with the hash in its own chain's\nencoding: EVM, Solana, NEAR, Stellar, Algorand, Sui, XRPL and native Hedera\n(where it is the transaction id). On Solana that includes the sweep of a\nsettlement account (`settleSecretKey`), which answered `400\ncontract_call_failed` until 2.39.6. Until 2.39.6 NEAR, Stellar, Algorand, Sui and\nXRPL reported a submission whose answer was lost as `200` with\n`success: false` and no transaction, which reads as \"the payment did not\nhappen\".\n\nDo not collapse this with the other `502`, `upstream_rpc_unavailable`, which\ncarries `Retry-After` and is a plain upstream failure. Branch on `error`.\n\n**The rule for every `/settle` failure.** An answer produced after the\ntransaction may have left says so in its body: `\"retryable\": false`, no\n`Retry-After`, and `transaction` with its `paymentId` whenever the facilitator\nknows them. For a seller that means one thing: **do not ask the buyer to sign\nagain.** Look the transaction up (on the receipt rail, poll the receipt) and\ndeliver if it settled; only a transaction not found after that chain's finality\nwindow is gone, and only then is a new authorization safe. An answer that\ncarries neither `retryable: false` nor a `transaction` was produced before\nanything was sent.\n\n**Why a chain write failed, as a token.** Since 2026-09-10 the `error` field on a\nfailed write names the stage and reason rather than only saying \"node or caller\".\nThe set is closed:\n\n| `error` | Status | `Retry-After` | Body | What it means for a seller |\n|---|---|---|---|---|\n| `settlement_unconfirmed` | 502 | **none** | `retryable: false`, `transaction`, `paymentId` | Sent, no verdict. **Do not ask for a new signature**: look the transaction up. |\n| `broadcast_uncertain` | 502 | **none** | `retryable: false` | The transaction may have been handed to the network and no hash can be named (the send was refused on nonce grounds after the signer's count moved). **Do not ask for a new signature**: check the payer's transfer on chain first. |\n| `receipt_pending` | 502 | **none** | `retryable: false` | Broadcast succeeded, the receipt has not arrived. **Do not ask for a new signature.** |\n| `contract_call_failed` | 400 | — | — | The chain executed the call and rejected it, or the failure could not be classified. Fix the request. |\n| `facilitator_signer_unfunded` | **503** | ~300s | — | **The facilitator's own signer cannot cover gas on this network.** Nothing about the request is wrong. Until 2026-09-10 this was reported as `upstream_rpc_unavailable` with `Retry-After: 30`, because the node returns it under JSON-RPC code `-32000` like a genuine outage. A retry cannot help before an operator restores the signer's usable margin, so the hint is minutes and jittered. |\n| `upstream_nonce_or_mempool` | 502 | 30s | — | The node refused on nonce or mempool grounds and never queued the transaction. Safe to resend the same request. |\n| `upstream_rate_limited` | 503 | 60s | — | The facilitator is being rate limited by this network's RPC provider. |\n| `upstream_rpc_unavailable` | 502 | 30s | — | The node could not answer before anything was sent. Unchanged. |\n| `writer_lease_unavailable` | 503 | 5s | — | This facilitator task was not authorised to sign for the shared EVM signer at the moment it asked. Nothing about the request is wrong; another task can serve it within a lease interval. |\n\nA task that is not the EVM signer forwards the settle to the one that is. When\nthat hop fails before the signer received it, the answer is `503` with\n`reason: forward_failed` and `Retry-After: 5`: resend. When the signer may have\nreceived it (the hop timed out or dropped after sending, or its answer was\nlost), the answer is `502` with `reason: forward_unconfirmed`,\n`retryable: false` and no `Retry-After`: it may have been executed, so do not\nask for a new signature.\n\n`upto`, `escrow` and the `refund` extension answer a transaction that may have\nleft the same way: `502` with `success: false`, `retryable: false`, `error`\n(`settlement_unconfirmed` with `transaction` and `paymentId`, or\n`broadcast_uncertain`) and `errorReason`. Until 2.39.6 `upto` and `refund`\nanswered `400` with the error text, and the escrow scheme answered without the\nhash.\n\nOn the receipt rail (the networks `GET /receipts` lists), a failure answered after the send\nlatched or its bytes were prepared carries `retryable: false`, no\n`Retry-After`, and the prepared `transaction` with its `paymentId`; so does\n`502 receipt_response_unreadable`, with the receipt. The `503` answers with\n`safeToRetry: true` sent nothing and are unchanged.\n\nThe body is the signal, not the status code: three of these are `502` and must\nnever be retried automatically, and each says so with `\"retryable\": false`.\n\n**Envelope shapes.** `/settle` and `/verify` share one parser, so both the x402\nv1 envelope (`paymentPayload` + `paymentRequirements`) and the x402 v2 envelope\n(`paymentPayload` + `resource` + `accepted`, no `paymentRequirements`) are\naccepted here on identical terms. Both are written out under `POST /verify`.\n\n\nExact payments on the networks GET /receipts lists include an additive `receipt`: on an EVM network, in the ERC-3009 tokens /supported lists for its `exact` kind; on Hedera, native USDC. It carries network, asset, atomic amount, payTo, requestHash, settlement ID, status and refusalReason. See /schemas/facilitator-receipt-v1.json. Send X-UVD-Purchase (base64 JSON with purchaseId, secret accessToken, method, url, bodySha256) for private lookup and restart-safe purchase retries, until the receipt rows expire (see the receipt guide). The merchant must validate the actual HTTP request. Preserve the same context and authorization after uncertainty; never sign a replacement. Payment confirmation does not prove merchant delivery. Other networks retain their existing responses.","operationId":"path_settle_post","parameters":[{"name":"X-UVD-Purchase","in":"header","description":"Private purchase context; never log its accessToken or signed authorization.","required":false,"schema":{"type":"string"}}],"requestBody":{"description":"x402 settle request","content":{"application/json":{"schema":{"type":"object"}}},"required":true},"responses":{"200":{"description":"Settlement result","content":{"application/json":{"schema":{"type":"object","properties":{"receipt":{"$ref":"#/components/schemas/FacilitatorReceipt"}},"additionalProperties":true}}}},"202":{"description":"Reserved payment remains pending or unknown. Returned to the X-UVD-Purchase or Idempotency-Key that admitted it. Poll the private receipt or retry exactly the same request; no new payment is admitted."},"400":{"description":"Settlement failed","content":{"application/json":{"schema":{"type":"object"}}}},"409":{"description":"Purchase, authorization or idempotency key conflicts with the original request, or the authorization was already admitted and this request lacks the X-UVD-Purchase or Idempotency-Key that admitted it: `authorization_already_settled` or `authorization_in_flight`, with the receipt when the payment has no purchase context. No replacement payment is admitted and no success is repeated."},"502":{"description":"`settlement_unconfirmed` / `broadcast_uncertain` / `receipt_pending`: the                            transaction may already be on chain -- the body carries                            `retryable: false` (and `transaction` + `paymentId` when known) and                            there is NO `Retry-After`. Do not ask the buyer to sign again. Also                            `upstream_rpc_unavailable` and `upstream_nonce_or_mempool`, which                            were answered before anything was sent and carry `Retry-After`.\n\nOn the receipt rail, a failure answered after the send latched or its bytes were prepared, and `receipt_response_unreadable` once the settlement ran, carry `retryable: false`, no `Retry-After`, the prepared `transaction` with its `paymentId`, and the receipt (`status: unknown`). Poll the receipt or resend the same request with the binding that admitted it; never sign a replacement.","content":{"application/json":{"schema":{"type":"object"}}}},"503":{"description":"`facilitator_signer_unfunded` (the facilitator's signer cannot cover gas                            on this network), `upstream_rate_limited`, or                            `writer_lease_unavailable` (this task was not authorised to sign).                            None is caused by the request; all carry `Retry-After`.\n\nOn the receipt rail, a 503 with `safeToRetry: true` and `Retry-After` sent nothing: receipt storage or signing failed before admission (`receipt_store_unavailable`, `receipt_signing_unavailable`, `receipt_reservation_uncertain`), or the admission was released before any transaction existed (receipt `rejected` with `refusalReason: reservation_abandoned`). Resend the same request; it is admitted again under the same receipt. Never sign a replacement.","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/sitemap.xml":{"get":{"tags":["Agentic"],"summary":"Sitemap","description":"The pages a reader can land on: the HTML pages and the agent-facing Markdown documents.","operationId":"path_sitemap_xml","responses":{"200":{"description":"Sitemap","content":{"application/xml":{"schema":{"type":"string"}}}}}}},"/skill.md":{"get":{"tags":["Agentic"],"summary":"Agent operating manual","description":"How to call verify and settle: the request and response shapes, the four schemes, the per-chain EIP-712 domain-name trap, and which failures mean retry rather than stop.","operationId":"path_skill_md","responses":{"200":{"description":"Markdown manual","content":{"text/markdown":{"schema":{"type":"string"}}}}}}},"/supported":{"get":{"tags":["Discovery"],"summary":"List supported payment kinds","description":"\nReturns all supported payment kinds (network + scheme + version combinations).\n\n**Schemes:** every one of them is advertised under BOTH ways of naming a chain (v1 and v2 formats).\n- `exact` - Direct EIP-3009 payment settlement\n- `upto` - Permit2-based variable amount settlement. Client authorizes a max amount; server settles actual usage (<= max). Ideal for usage-based pricing (LLM tokens, bandwidth, metered APIs).\n- `escrow` / `commerce` - x402r PaymentOperator escrow\n\nUntil 2026-09-03 `escrow`, `commerce` and `upto` appeared **only** under CAIP-2 network ids, so a client that discovered schemes by reading the v1 entries concluded this facilitator had no escrow at all. They now appear under both.\n\n**Upto networks (11):** Base, Optimism, Arbitrum, Polygon, BSC, Ethereum, HyperEVM, Monad, Base Sepolia, Avalanche Fuji, Arbitrum Sepolia — via the x402UptoPermit2Proxy contract (Permit2-based, canonical CREATE2 address `0x4020A4f3b7b90ccA423B9fabCc0CE57C6C240002`).\n\n`upto` is **not** available on every EVM network that supports `exact`. The proxy address is identical on all chains because it is deployed with CREATE2, but the deployment still has to be replayed per chain, and on Avalanche, Celo, Scroll, Unichain, Optimism Sepolia and HashKey Chain (mainnet and testnet) it never was — the address has no code there. Query `/supported` rather than assuming: it now lists `upto` only where settlement can actually succeed.\n\n**Escrow networks (14):** `base`, `ethereum`, `polygon`, `arbitrum`, `celo`, `monad`, `avalanche`, `optimism`, `skale-base`, `arc`, `robinhood`, `base-sepolia`, `ethereum-sepolia`, `arc-testnet`.\nEach lists `commerce`, and `escrow` once per PaymentOperator the facilitator declares for it; on `arc`, `arc-testnet` and `robinhood` an operator is listed only once it has passed its on-chain self-check.\n\n**NEAR escrow:** `near` / `near-testnet` list an `escrow` kind only while `ENABLE_NEAR_ESCROW` is on and a contract is configured for the network; they are not PaymentOperator networks. Its `extra.nearEscrow` is plural -- `{contracts, operatorIds, minGasTgas, maxGasTgas, senderPerHour}`, every contract and operator accepted -- while a 402 names one of each in its own `extra.nearEscrow` (see `POST /settle`). `POST /accepts` never merges the plural one into a requirement.\n\n**Extensions:** the `extensions` array lists what this deployment actually serves — `bazaar`, and `durable-evidence` **only when DX402 is serviceable** (enabled *and* its store and index are configured), so no client builds against `/dx402/*` routes that would 404.\n\n**Response includes both v1 and v2 formats:**\n- v1: `\"network\": \"base\"` (string enum)\n- v2: `\"network\": \"eip155:8453\"` (CAIP-2 format)\n\nThe two entries for one chain are separate objects. `networkAliases` is what ties them together: it lists every identifier naming that same chain, the entry's own included, so a reader never has to pair them by guesswork. The field is optional and additive - it is absent for a network the facilitator cannot resolve, and no other field changed shape or name.\n","operationId":"path_supported","responses":{"200":{"description":"Supported payment kinds","content":{"application/json":{"schema":{"type":"object"},"example":{"kinds":[{"x402Version":1,"scheme":"exact","network":"base","networkAliases":["base","eip155:8453"]},{"x402Version":2,"scheme":"exact","network":"eip155:8453","networkAliases":["base","eip155:8453"]},{"x402Version":1,"scheme":"upto","network":"base","networkAliases":["base","eip155:8453"]},{"x402Version":2,"scheme":"upto","network":"eip155:8453","networkAliases":["base","eip155:8453"]},{"x402Version":2,"scheme":"escrow","network":"eip155:8453","networkAliases":["base","eip155:8453"],"extra":{"escrowAddress":"0xb9488351E48b23D798f24e8174514F28B741Eb4f","operatorAddress":"0x...","tokenCollector":"0x48ADf6E37F9b31dC2AAD0462C5862B5422C736B8"}}]}}}}}}},"/transactions":{"get":{"tags":["Discovery"],"summary":"Recent operations the facilitator recorded","description":"Recent verify/settle operations, newest first.\n\n**This is an index, not a ledger.** The record is written best-effort AFTER the operation resolved, so an unreachable store loses rows and never blocks a payment. The chain is authoritative; a row missing here does not mean the payment did not happen.\n\nCounting starts when the store was enabled — earlier operations are absent, not zero. `limit` is capped at 200.","operationId":"path_transactions","parameters":[{"name":"limit","in":"query","description":"Rows to return (1-200, default 50)","required":false,"schema":{"type":"integer","minimum":0}},{"name":"network","in":"query","description":"Canonical slug, e.g. `base`","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Recent operations","content":{"application/json":{"schema":{"type":"object"}}}},"503":{"description":"Transaction store unavailable or not configured"}}}},"/verify":{"get":{"tags":["Core"],"summary":"Get verification schema","description":"Returns the JSON schema for payment verification requests.","operationId":"path_verify_get","responses":{"200":{"description":"Verification schema","content":{"application/json":{"schema":{"type":"object"}}}}}},"post":{"tags":["Core"],"summary":"Verify payment authorization","description":"\nVerifies an x402 payment authorization without settling it on-chain.\n\n**Checks performed:**\n- Payload structure validation\n- Network-specific signature verification (EIP-712 on EVM; native buyer signatures on Hedera)\n- Nonce validity\n- Amount matching\n- Network-specific validity windows (validAfter/validBefore on EVM; native transaction validity on Hedera)\n- Token and network support\n\n**Request body:**\n```json\n{\n  \"x402Version\": 1,\n  \"paymentPayload\": {\n    \"x402Version\": 1,\n    \"scheme\": \"exact\",\n    \"network\": \"base\",\n    \"payload\": {\n      \"signature\": \"0x111111111111111111111111111111111111111111111111111111111111111122222222222222222222222222222222222222222222222222222222222222221b\",\n      \"authorization\": {\n        \"from\": \"0x0000000000000000000000000000000000000001\",\n        \"to\": \"0x0000000000000000000000000000000000000002\",\n        \"value\": \"1000000\",\n        \"validAfter\": \"1700000000\",\n        \"validBefore\": \"1700100000\",\n        \"nonce\": \"0x0000000000000000000000000000000000000000000000000000000000000001\"\n      }\n    }\n  },\n  \"paymentRequirements\": {\n    \"scheme\": \"exact\",\n    \"network\": \"base\",\n    \"maxAmountRequired\": \"1000000\",\n    \"resource\": \"https://example.com/protected\",\n    \"description\": \"One API call\",\n    \"mimeType\": \"application/json\",\n    \"payTo\": \"0x0000000000000000000000000000000000000002\",\n    \"maxTimeoutSeconds\": 60,\n    \"asset\": \"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\"\n  }\n}\n```\n\nThat body is runnable as printed. The signature and nonce are well-formed\nplaceholders, not a real authorization, so copied verbatim it answers `200` with\n`\"isValid\": false` and `\"invalidReason\": \"invalid_signature\"`.\n\n`invalidReason` is a snake_case token, one per cause: `invalid_signature`,\n`invalid_timing`, `insufficient_funds`, `insufficient_value`,\n`receiver_mismatch`, `invalid_network`, `invalid_scheme`,\n`unexpected_settle_error`. Switch on it, but keep a default arm -- the list is\nopen. It was `null` for every cause before 2.13.0. On NEAR,\n`recipient_not_registered` means `payTo` is not registered on the USDC\ncontract and the facilitator is not paying for new registrations right now;\nregistering it (`storage_deposit`) or retrying later clears it.\n\n**Five things in that shape are load-bearing:**\n- `paymentPayload` carries its own `x402Version`, `scheme` and `network` at its root.\n- The signed data sits under `payload.authorization`, not directly under `payload`.\n- The authorization's amount field is `value` (`maxAmountRequired` is the\n  requirements' name for its own limit).\n- `validAfter` and `validBefore` are **strings**: `\"1700000000\"`, not `1700000000`.\n- `resource`, `description`, `mimeType` and `maxTimeoutSeconds` are required in\n  `paymentRequirements` and have no defaults.\n\n`network` is accepted in either spelling, in both objects: the x402 v1 name\n(`\"base\"`) or the CAIP-2 identifier (`\"eip155:8453\"`). This is what lets an offer\ntaken straight from `/discovery/resources`, which is CAIP-2, be paid unmodified.\n\n**The x402 v2 request body:**\n```json\n{\n  \"x402Version\": 2,\n  \"paymentPayload\": {\n    \"x402Version\": 2,\n    \"payload\": {\n      \"signature\": \"0x111111111111111111111111111111111111111111111111111111111111111122222222222222222222222222222222222222222222222222222222222222221b\",\n      \"authorization\": {\n        \"from\": \"0x0000000000000000000000000000000000000001\",\n        \"to\": \"0x0000000000000000000000000000000000000002\",\n        \"value\": \"1000000\",\n        \"validAfter\": \"1700000000\",\n        \"validBefore\": \"1700100000\",\n        \"nonce\": \"0x0000000000000000000000000000000000000000000000000000000000000001\"\n      }\n    }\n  },\n  \"resource\": {\n    \"url\": \"https://example.com/protected\",\n    \"description\": \"One API call\",\n    \"mimeType\": \"application/json\"\n  },\n  \"accepted\": {\n    \"scheme\": \"exact\",\n    \"network\": \"eip155:8453\",\n    \"amount\": \"1000000\",\n    \"payTo\": \"0x0000000000000000000000000000000000000002\",\n    \"maxTimeoutSeconds\": 60,\n    \"asset\": \"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\"\n  }\n}\n```\n\nv2 is a **different envelope**, not the v1 one with a `2` in it. There is no\n`paymentRequirements`: the requirements split into `accepted` (what is charged:\n`scheme`, `network`, `asset`, `amount`, `payTo`, `maxTimeoutSeconds`, optional\n`extra`) and `resource` (what is sold: `url`, `description`, `mimeType`), both at\nthe top level. `maxAmountRequired` becomes `accepted.amount`, and\n`paymentPayload` no longer carries `scheme`/`network` at its root — they live in\n`accepted`. Unknown keys in `accepted` are ignored, so a `402` offer that also\ncarries `maxAmountRequired` or `resource` can be forwarded unedited.\n\n`accepted.network` is **CAIP-2 only** — the one field where the two spellings are\nnot interchangeable. The v1 `paymentRequirements.network` and\n`paymentPayload.network` take `\"base\"` or `\"eip155:8453\"`; `accepted.network`\ntakes `\"eip155:8453\"` and refuses `\"base\"`.\n\nThe two bodies above are the same payment written two ways, and they reduce to\nthe same internal request. Both are runnable as printed.\n\n**On the inner copy of `resource`/`accepted`.** Earlier builds also required them\nrepeated *inside* `paymentPayload` and answered `400 data did not match any\nvariant of untagged enum VerifyRequestEnvelope` without it. The inner copy is now\noptional and derived from the outer pair when absent; sending it still works\nunchanged.\n\n`POST /settle` takes exactly this body, in either version.\n\n**Native Hedera v2 request:**\n```json\n{\n  \"x402Version\": 2,\n  \"paymentPayload\": {\n    \"x402Version\": 2,\n    \"resource\": {\n      \"url\": \"https://example.com/protected\",\n      \"description\": \"One API call\",\n      \"mimeType\": \"application/json\"\n    },\n    \"accepted\": {\n      \"scheme\": \"exact\",\n      \"network\": \"hedera:testnet\",\n      \"asset\": \"0.0.429274\",\n      \"amount\": \"1000\",\n      \"payTo\": \"0.0.10576387\",\n      \"maxTimeoutSeconds\": 180,\n      \"extra\": {\n        \"feePayer\": \"0.0.10576385\"\n      }\n    },\n    \"payload\": {\n      \"transaction\": \"BASE64_BUYER_SIGNED_TRANSACTION_LIST\"\n    }\n  },\n  \"paymentRequirements\": {\n    \"scheme\": \"exact\",\n    \"network\": \"hedera:testnet\",\n    \"asset\": \"0.0.429274\",\n    \"amount\": \"1000\",\n    \"payTo\": \"0.0.10576387\",\n    \"maxTimeoutSeconds\": 180,\n    \"extra\": {\n      \"feePayer\": \"0.0.10576385\"\n    }\n  }\n}\n```\n\nThe base64 value is a placeholder for the buyer-signed protobuf TransactionList;\nbuild it with the Hedera client. The inner `accepted` and outer\n`paymentRequirements` must match exactly. The generic EVM convenience rule about\nomitting inner `accepted` does not apply to native Hedera. Unknown requirements,\nextra fields and unsupported extensions are rejected. The buyer signs every frozen\nnode variant; the facilitator adds its signature only after inspection. Retry the\nsame payload and transaction ID after uncertainty. A successful settlement returns\na native ID such as `0.0.10576385@1789609553.483480778`; it is not an EVM hash.\n\n\n\n\nExact payments on the networks GET /receipts lists include an additive `receipt`: on an EVM network, in the ERC-3009 tokens /supported lists for its `exact` kind; on Hedera, native USDC. It carries network, asset, atomic amount, payTo, requestHash, settlement ID, status and refusalReason. See /schemas/facilitator-receipt-v1.json. Send X-UVD-Purchase (base64 JSON with purchaseId, secret accessToken, method, url, bodySha256) for private lookup and restart-safe purchase retries, until the receipt rows expire (see the receipt guide). The merchant must validate the actual HTTP request. Preserve the same context and authorization after uncertainty; never sign a replacement. Payment confirmation does not prove merchant delivery. Other networks retain their existing responses.","operationId":"path_verify_post","parameters":[{"name":"X-UVD-Purchase","in":"header","description":"Private purchase context; never log its accessToken or signed authorization.","required":false,"schema":{"type":"string"}}],"requestBody":{"description":"x402 verify request","content":{"application/json":{"schema":{"type":"object"}}},"required":true},"responses":{"200":{"description":"Verification result","content":{"application/json":{"schema":{"type":"object","properties":{"receipt":{"$ref":"#/components/schemas/FacilitatorReceipt"}},"additionalProperties":true},"example":{"isValid":true}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object"},"example":{"error":"Invalid signature"}}}},"503":{"description":"On the receipt rail, `receipt_store_unavailable` with `Retry-After` and `safeToRetry: true`: receipt storage did not answer, so no verdict is given. Resend the same request; never sign a replacement."}}}},"/version":{"get":{"tags":["Discovery"],"summary":"Get facilitator version","description":"Returns the current version of the facilitator. The version always matches the Cargo.toml package version.","operationId":"path_version","responses":{"200":{"description":"Version info","content":{"application/json":{"schema":{"type":"object"},"example":{"version":"(current Cargo.toml version)"}}}}}}},"/workflows.json":{"get":{"tags":["Agentic"],"summary":"Workflow manifest","description":"The four state machines this facilitator drives (one-shot payment, two-phase escrow, asynchronous ERC-8004 registration, feedback prepare/submit), with the operation that triggers each transition.","operationId":"path_workflows_json","responses":{"200":{"description":"Workflow manifest","content":{"application/json":{"schema":{"type":"object"}}}}}}}},"components":{"schemas":{"FacilitatorReceipt":{"type":"object","title":"FacilitatorReceipt","required":["schemaVersion","receiptId","revision","issuer","issuedAt","operation","network","scheme","x402Version","asset","amount","payTo","requestHash","requestHashVersion","request","paymentRequestHash","authorizationId","status","retry"],"properties":{"amount":{"type":"string","title":"Amount","pattern":"^[0-9]+$"},"asset":{"type":"string","title":"Asset"},"authorizationId":{"type":"string","title":"Authorizationid"},"decimals":{"anyOf":[{"type":"integer"},{"type":"null"}]},"diagnosticCode":{"anyOf":[{"type":"string"},{"type":"null"}]},"issuedAt":{"type":"integer","title":"Issuedat"},"issuer":{"type":"string","title":"Issuer"},"network":{"type":"string","title":"Network"},"operation":{"type":"string","title":"Operation"},"payTo":{"type":"string","title":"Payto"},"payer":{"anyOf":[{"type":"string"},{"type":"null"}]},"paymentRequestHash":{"type":"string","title":"Paymentrequesthash"},"proof":{"anyOf":[{"type":"object","additionalProperties":true},{"type":"null"}]},"purchaseId":{"anyOf":[{"type":"string"},{"type":"null"}]},"receiptId":{"type":"string","title":"Receiptid"},"refusalReason":{"anyOf":[{"type":"string"},{"type":"null"}]},"request":{"type":"object","title":"Request","additionalProperties":true},"requestHash":{"type":"string","title":"Requesthash"},"requestHashVersion":{"type":"string","title":"Requesthashversion"},"retry":{"type":"object","title":"Retry","additionalProperties":true},"revision":{"type":"integer","title":"Revision"},"schemaVersion":{"type":"integer","title":"Schemaversion"},"scheme":{"type":"string","title":"Scheme"},"settlement":{"anyOf":[{"type":"object","additionalProperties":true},{"type":"null"}]},"status":{"type":"string","title":"Status","enum":["verified","pending","confirmed","rejected","unknown"]},"x402Version":{"type":"integer","title":"X402Version"}},"additionalProperties":true}}},"tags":[{"name":"Core","description":"Core x402 payment verification and settlement (exact, upto, escrow schemes)"},{"name":"Escrow","description":"Gasless escrow lifecycle (authorize, release, refund, state query)"},{"name":"Discovery","description":"Network and scheme discovery"},{"name":"ERC-8004","description":"AI Agent reputation and identity (ERC-8004 Trustless Agents) - 25 networks (EVM + Solana)"},{"name":"Bazaar","description":"Decentralized resource discovery registry"},{"name":"Compliance","description":"OFAC compliance and sanctions screening"},{"name":"Health","description":"Service health and status"},{"name":"Agentic","description":"Machine-readable discovery surfaces (llms.txt, A2A card, x402 discovery, RFC 9727 catalog, skills index, MCP server card)"},{"name":"MCP","description":"Model Context Protocol server (Streamable HTTP, stateless) exposing verify/settle/supported/accepts as tools"}]}