DEV Community

agent402dev
agent402dev

Posted on

What 18 x402 sellers return before you pay

I build Agent402, an open-source x402 buyer wallet for MCP agents. Before a buyer pays, it has to read the 402. I wanted to know how often that first step goes wrong, so I read the 402 from a set of public sellers without paying. These are small numbers from one week. Treat them as a snapshot, not a survey.

How

  • 30 sellers: 20 from the pay.sh catalog and 10 Base sellers from the CDP discovery list. I took them in list order because neither list ranks sellers by buyers.
  • One GET per candidate URL, with no payment header. Nothing was signed or paid.
  • A second pass on 8 sellers from a public ranking of settled calls on Base over the last 7 days, to see what sellers who already get paid return.

What came back

  • 18 of 30 answered with a 402. The other 12 did not on the URLs I tried: the paid route was a POST, needed arguments, or used API keys. I don't count that as a seller problem.
  • All 18 used the x402 v2 header. None used the older v1 body format.
  • 16 of them could be read into network, asset and amount. 12 offered both Base and Solana and 4 offered Base only. Some also listed Polygon, Arbitrum, NEAR or Algorand.
  • The cheapest USDC price per seller ranged from $0.001 to $10, with a median of $0.01.
  • On Base, no seller asked for Permit2. All of them used EIP-3009 transfers.

What a strict buyer refuses

  • 2 of 18 had a resource.url that a strict client refuses before it even reads the price. One was a relative path, sent by a gateway. The other was http on a host that answered over https.
  • 1 of 18 showed a price of $0. That turned out to be a documented wallet sign-in gate (SIWX), not a price. A buyer that only pays stops there, which is correct.
  • I read the same 18 sellers again four times over the next day. The two URL findings did not change.

Sellers who already get paid

  • Of the 8 sellers from the settled-calls ranking, 5 listed paid routes in their discovery files, and their 402s had nothing to fix.
  • For 1, the routes I tried did not answer with a 402. For the other 2, I could not find a paid route in their public files.

What I take from it

The 402 itself is mostly in good shape. What trips a buyer is around it: a URL a careful client won't trust, or a $0 that means "sign in" rather than "free". The bigger risks show up after payment. In a recent 100-seller purchase test by another builder, those were wrong payees, doubled prices and useless responses. A 402 that reads cleanly is not a reason to drop your own limits.

If you sell over x402 and want to see your 402 the way a buyer reads it, without paying:

npx -y @agent402-dev/pay-server check https://your-endpoint.example.com/paid
Enter fullscreen mode Exit fullscreen mode

Small sample, one week, one tool. If your numbers look different, I'd like to hear how.

Top comments (0)