Signed receipts: how to verify one
Current unpaid-check and test-purchase receipts are signed on their own, and you can check a signature without asking us.
What a receipt is
A receipt is the record of one check: which host and route we requested, when, what came back (status, valid 402, amount, payTo, latency, or for MCP servers the handshake result and tool-list hash), and an ed25519 signature over that record. It is produced at check time by the prober and stored as is. The signature exists so that anyone holding a receipt can tell whether it is ours and whether it has been altered, without having to take our word for it.
What the signature shows, and what it does not
A matching signature is tamper-evident evidence of two things: the record was signed by a key we publish, and a later change would be detectable. It does not show anything about the seller. A receipt showing a valid 402 and a stable payTo is one observation at one moment, signed. That is the whole claim.
Where the keys are
Public keys are published at /.well-known/botsrated-key. New dataset snapshots are signed with botsrated-prod-3 and new paid receipts with botsrated-paid-3 (since 2026-11-24T19:50:39Z). The keys botsrated-prod-2 and botsrated-paid-2 were retired then because their private copies were lost (not leaked, no evidence of compromise); files they signed before then still verify. The old key botsrated-prod-1 was retired on Nov 18, 2026 because its private copy was lost (not leaked, no evidence of compromise). Files signed before then, including test purchase receipts, still verify against that public key. Automatic checks use botsrated-prober-1. Retired keys, including botsrated-staging-1 and botsrated-prod-1, stay listed so older signatures still check. Each receipt names the key id it was signed with.
Three ways to verify
- In the browser. Open the receipt's URL (every preflight and check answer carries a
receipt_url). The receipt page fetches the public key and checks the signature locally, in your browser, and shows the result. - With the free API.
GET /v1/verifywith the receipt locator checks the signature server-side and returns the outcome. Add&fields=pd1for a richer projection of the underlying unpaid probe once the signature matches. No key, no payment. - Offline, with the open spec. The receipt format and the canonicalisation rule are published in the open spec repository;
node spec/verify.mjs <receipt_url>re-derives the signed bytes and checks them against the key you fetched yourself. This is the path to use if you want to depend on nothing we run.
Reading a receipt
Fields marked as seller-supplied (descriptions, route text, the payTo in the listing) are copied from public directories or from the seller's own 402. They are the seller's words; the signature covers that we recorded them, not that they are accurate. Measured fields (status, latency, the 402 we received) are ours. The receipt tells you which is which.
How BotsRated measures this
- Unpaid probes and MCP handshakes each produce one receipt; paid test purchases are signed one by one the same way. Nothing is aggregated before signing, so a receipt always stands for exactly one request.
- Signing is ed25519 over a canonical JSON form of the record. Webhook alerts use the same key family: headers
X-BotsRated-Key-Id,X-BotsRated-TimestampandX-BotsRated-SignatureoverJSON.stringify({ m: timestamp + "." + rawBody }), so an alert can be checked the same way a receipt can. - The change timeline on
/s/<host>#changesand every Desk alert link to the receipt that showed the new state, so each "changed" claim on this site resolves to a signed observation. - Guard reports its reason codes (
payto_not_observed,price_above_observed,data_stale,not_covered) together with the receipt behind the comparison, so a blocked payment in your logs points at the record that caused it.
If a receipt looks wrong
A signature that does not match means the record was altered or is not ours; do not rely on it. A signature that matches but describes a measurement you believe is incorrect (for example, your service was briefly down during our check) is a dispute about the measurement, not the record: /disputes explains what we do, including the re-check.