Skip to content

How to tell an x402 seller is reliable before your agent pays

Ask before you pay: GET /api/reputation?seller=<host> answers a record of what this server measured about that seller over a rolling 30-day window. It is free, and it reads no payment count, buyer count or settlement total, so nobody can buy a better score by paying themselves.

curl -s "https://agent402.tools/api/reputation?seller=seller.example"

Where the evidence comes from

Two sources, both this server's own observations of the seller:

  1. The seller index's crawl. Whether the seller's own documents answered, whether its paid route answered an unpaid request with a 402 and how long that took, and whether the price in that 402 matches the price its documents list.
  2. The router's own paid calls. When the router buys from the seller for a buyer: did the purchase settle and answer, or did the seller take the payment and fail. Calls made for this server's own probes, canaries and wallets are left out.

The metrics

Metric What it measures
manifestUptime the share of crawls where the seller's documents answered with routes
paywallUptime the share of unpaid probes of its paid route that answered 402
responsiveness the share of those probes answered within 2000 ms, beside the median
priceMatchesListing the share of routes whose live 402 asks the price the documents list (within 1%)
delivery the share of the router's paid calls that answered 200 after taking the payment

Each metric reads one word. It is high at a score of 0.9 or more, medium at 0.6 or more and low under that, and not-enough-data until its sample reaches the metric's minimum (for example 5 probes for paywallUptime and 5 paid calls for delivery). The record's verdict is the same word for the overall measure, and each metric names when it was last measured. A day on which this server's own crawl failed broadly is left out and named under measurementIssue. The free answer carries no score, sample size or count. The paid seller-reputation tool (GET /api/seller-reputation) returns the scores, sample sizes, methods, per-route outcomes and day-by-day history behind each word.

Read it before paying

  • not-enough-data means unmeasured, not unreliable. Pay small first, or let the router decide.
  • A low delivery word is the strongest signal: that seller has taken payments and failed to answer.
  • A low price word means the 402 asks something other than the listing: read the 402 before signing, and keep a per-call cap in your client.

A seller sends POST /api/reputation/recheck?seller=<host> to ask for a fresh measurement of its own record.

Let the router use it for you

GET /api/index?seller=<host> adds the router's verdict for that seller on each chain it can pay on: whether it will buy from the seller now, and the reason when it will not. Candidates are shortlisted by how well they match the task, then ordered by crawl health, by distinct payers over the last 30 days, by price, by a discovery listing's curated flag and by slug length, shorter first; a judgment model can then pick the one that does the job from that shortlist, or decline them all, and when it is not consulted the shortlist order stands. Send the task to POST /api/route/execute and the router picks, probes the seller's live 402 and checks its price before any money moves.

This server's own record

The reputation record scores other sellers. For this server, /api/reliability pairs each claim with a URL to check it, and /status is measured from outside production.

Back to guides