x402 seller pitfalls we hit

Field notes from running api.zato.org, a small pay-per-call API (USDC on Base via x402). Each item says what we observed, when, and what we changed. No claims beyond our own logs and the linked docs.

1 · The CDP facilitator rejected $0.0005 payments

Observed 2026-11-20. Two independent paid test calls (by the checker Lumière PayCheck, 01:14:38 and 01:14:42 UTC) offered exactly the quoted amount of 500 atomic USDC ($0.0005) on Base. The CDP facilitator's /verify answered isValid: false with invalidReason: "amount_too_low"; nothing was charged. A 3000-atomic ($0.003) payment from the same tester settled through CDP eight seconds later.

What we changed: no route below $0.001 any more. We picked $0.001 because many resources at exactly $0.001 appear in the CDP Bazaar with paying users (for example 697 unique payers in 30 days for one $0.001 block-height route in our 2026-11-19 snapshot), and the Bazaar only contains CDP-settled resources.

Takeaway: if your quote is below $0.001 and CDP is your facilitator, your 402 looks valid to scanners but real payments can be refused.

2 · The CDP Bazaar lists a resource only after a CDP-settled payment

Observed 2026-11-19/20. We read all 36,356 resources of the public discovery API (/platform/v2/x402/discovery/resources) on 2026-11-19: none of our ~30 routes was in it, although they had been live and listed elsewhere for two days. After our first payment settled through CDP (2026-11-20 01:14:50 UTC), the facilitator returned the response header extension-responses: {"bazaar":{"status":"processing"}} on verify and settle, and by about 01:47 UTC the agentic.market search API listed our domain – with exactly the one endpoint that had been paid, not the others.

Per the CDP docs (Get discovered): there is no registration form; indexing happens after a settled payment and can take up to 15 minutes; changed metadata is picked up with the next settled payment; resources without a settlement for 30 days are removed; the description must be at most 500 characters.

Takeaway: every route needs its own first real payment before agents using the Bazaar can find it. Write the description for that moment ("Use when …"), and include input/output schemas and a real example.

3 · Trust checkers compare your listing example with the real response

Observed 2026-11-20. Lumière PayCheck graded all our endpoints C (74/100) while no paid test had confirmed delivery. Its seller docs say a response that does not match the listing's example or schema caps the grade at B. When we compared our listings with real handler output, 11 routes returned fields the example did not show and 17 routes had an empty placeholder (data: {}) as example.

What we changed: on start-up (and every 6 h) our server runs each handler once with its own example input and puts a shortened copy of the real response into the Bazaar example. We also publish /.well-known/paycheck.json with our payout wallet and two known-answer tests (Lumière read it: "knownAnswerTests: 2"). The route that was paid for passed its paid test.

Takeaway: generate examples from real output instead of writing them by hand, and declare your payout wallet so a wallet change is never mistaken for a hijack.

4 · Quick tunnels and plain restarts cost uptime

Observed 2026-11-19/20. Our API runs on a home machine behind a Cloudflare quick tunnel and a small reverse proxy. When the machine's Linux VM restarted (2026-11-19 20:43 UTC) the tunnel came back with a new random URL and the API was unreachable for about a minute until the proxy learned it. Every plain restart of the API process (stop, then start) also produced "connection refused" for a few seconds. A checker measured 96.4 % uptime for one route over 7 days; the CDP docs name ≥ 99 % availability as a curation requirement.

What we changed: the server listens with reusePort: true and closes gracefully on SIGTERM; a restart script starts the new process first, waits until it is ready, then stops the old one. Test: 80 health requests during a restart, 80 × HTTP 200. A watchdog checks the local server, the tunnel URL and the public URL every 30 s and restarts only the part that failed.

Takeaway: a quick tunnel is fine for experiments; for a listed paid API use a stable address and restart without dropping the port.

5 · Public RPCs reject eth_getLogs without an address filter

Observed 2026-11-18. Querying ERC-20 Transfer logs for a wallet with only topic filters (no contract address) was rejected by the free public Ethereum RPC endpoints we use. Filtering per token contract (incoming and outgoing topic positions) worked within a few hundred blocks.

Takeaway: if your route promises "recent transfers", say which tokens and which block window it covers – that is what we do in our wallet reports.

Our API: overview & prices · quickstart · OpenAPI · llms.txt · MCP https://api.zato.org/mcp.

api.zato.org · v2.3.0 · Docs · OpenAPI · llms.txt · /.well-known/x402 · Status · Terms · Privacy · Best-effort service, no SLA. Failed requests are never charged.