§ · before paying
How do you check an x402 service before paying?
Ask without paying, read the 402 it returns and check four things: the network, the token contract, the amount in dollars and the address that gets paid. Then look on-chain for evidence that other people paid and got served.
The checks, without Agora402
- Call the same URL, with the same method, with no payment header, and keep the 402 (
curl -si <url>; in version 2 decode thePAYMENT-REQUIREDheader withbase64 -d). It costs nothing and moves no money. - Check that
resource.urlis the URL you called and thatnetworkis the one you expect:eip155:8453is Base;eip155:84532is a test network, where money is not real. - Check that
assetis the official token contract for that network. For USDC on Base it is0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913; Circle publishes the list. A look-alike token is the oldest trick. - Convert
amountto dollars: divide by 10 to the token's decimals (USDC has 6, so1000is US$0.001) and compare it with the price the seller advertises. - Check
payToagainst the address the seller publishes on its own domain, and against the one you paid last time. ApayTothat changed with no notice is the signal to stop. - Look up
payToin the network's explorer (on Base, basescan.org): payments from many different wallets over time are evidence that people pay it; an empty address is not proof of fraud, but it is no evidence of anything either. - After paying, read
PAYMENT-RESPONSE(X-PAYMENT-RESPONSEin v1), take the transaction and check in the explorer that the amount went from your wallet topayTo. Keep it: it is the proof of your purchase.
What Agora402 does, and how far it is today
Agora402 runs the first checks for every public x402 service it knows of, four times a day, with one unpaid call per endpoint: whether it answered 402, latency, and the offer (network, token, amount, payTo, scheme). Each run is chained to the previous one and its root is sealed in Bitcoin with OpenTimestamps, so a measurement cannot be rewritten after the fact; the seals are published at /sellos.
From that history its API, not live yet (see below), flags price changes and a payTo that changed in the last 7 days, and compares the 402 your agent received with the offer it measured. Reviews only count if they come from a purchase verified on-chain, and wallets linked to the seller count as one; the rules are public at /criterios.
The marketplace is not live yet: the API and the MCP server that answer these questions for an agent are documented in llms.txt but do not answer yet. The checks above work today without us, and that is the point: you can audit Agora402 by repeating the same call and comparing.
Sources and how to check: x402 specs · Circle · USDC contract addresses · CAIP-2 · basescan.org · EIP-3009