badhttp — the server that misbehaves on purpose
https://badhttp.dev/402/pay/baseA test server for x402 clients and agents: the payment IS the scenario under test. /402/pay/base is one real, settling x402 paywall (0.01 USDC on Base, ?amount= 0.001-1.00; v2 PAYMENT-REQUIRED header and a spec-valid v1 body in the same 402) that returns a 200 with a PAYMENT-RESPONSE receipt and the transaction hash, and nothing else of value. Every other route under /402/ is a paywall that misbehaves on purpose and never settles. Around it: a free, no-signup catalogue of ~150 documented HTTP edge cases (content codings, ranges, conditional requests, cookies, auth challenges, SSE, cross-host redirects) as NDJSON at /corpus.jsonl, and dated observations of how eight real HTTP clients handle them at /clients.jsonl. No MCP server. Stateless; nothing stored about callers; CC0 output, MIT source; costs and revenue published and chain-reconciled at /books.
Paid verification
How it worksNo sponsored paid call yet.
Pay this endpoint once from your own wallet (Base USDC, up to $1.00) and we call it and record what came back. Your wallet pays the listed recipient directly; Agent Tools never holds funds. Sponsored checks prove delivery; they do not count as demand.
Quality grade
How grading works- ✗ Answers a real HTTP 402 challenge
- ✓ Publishes a /.well-known/x402 descriptor
- ✓ Payment address on record
- ✓ Settlement network declared
- ✓ Price declared
x402 readiness
Readiness is how fully this listing follows its protocol and how it behaved in our probes over 30 days. For x402 and A2A listings it contributes up to 15 of the 100 quality points; for MCP listings it is shown for reference only. Search order and leaderboards use the separate quality grade (here C+, 51.0/100), which weighs availability, payability and on-chain demand. How the two differ
| Valid payment requirements | 10/10 | Payment requirements carry a payee, a mainnet network and a price. |
| Live 402 challenge | 5/25 | Endpoint answers with an error (256 ms). |
| x402 version | 10/10 | Speaks x402 v2. |
| Signed descriptor | n/a | No x402 standard defines a signed descriptor. |
| Uptime (30 days) | 0/15 | 0/34 probes succeeded over 30 days (0%). |
| Resource declaration | 10/10 | Declares 42 paid resource(s). |
| Verified identity | 3/10 | Domain control verified, but no publisher declared. |
| Security declaration | n/a | Payment is the access control for an x402 resource. |
What we measured
Over the last 30 days we probed this API 34 times on 28 days; it answered 34 (100%). Median response 333 ms, 95th percentile 538 ms.
On-chain, 11 distinct wallets paid its payment address 28 times in the last 30 days.
Among the 9,081 reachable x402 APIs in our snapshot of 2026-12-02 02:39 UTC, it is faster than 42% and higher on readiness than 4%.
From agent-tools.cloud's own probes, last checked 2026-12-01. How we measure
Compared with peers
Against 9,081 reachable x402 APIs in our daily snapshot (2026-12-02 02:39 UTC). Display only; it does not change search order.
- Readiness
- Higher than 4% of peers
- This listing 48 · peer median 83
- Latency
- Faster than 42% of peers
- This listing 256 ms · peer median 215 ms
Where it loses the most points, and how to win them back
- Live 402 challenge −20
— Answer the paid path with a valid 402 challenge.
Now: Endpoint answers with an error (256 ms).
- Uptime (30 days) −15
— Stay reachable in our daily probes.
Now: 0/34 probes succeeded over 30 days (0%).
- Verified identity −7
— Claim the listing and prove control of its domain.
Now: Domain control verified, but no publisher declared.
Paid endpoints
42 resource(s) advertised by this origin. Each price below is that resource's own x402 price; the headline price is the range across them.
https://badhttp.dev/402
https://badhttp.dev/402/%7Bscenario%7D
https://badhttp.dev/402/broken/%7Bflavor%7D
https://badhttp.dev/402/pay/base
$0.0100 / call
https://badhttp.dev/auth
https://badhttp.dev/auth/%7Bflavor%7D
https://badhttp.dev/badjson/%7Bflavor%7D
https://badhttp.dev/books.json
https://badhttp.dev/clients
https://badhttp.dev/clients.jsonl
https://badhttp.dev/compress
https://badhttp.dev/compress/%7Bflavor%7D
https://badhttp.dev/cookies
https://badhttp.dev/cookies/%7Bflavor%7D
https://badhttp.dev/corpus
https://badhttp.dev/corpus.jsonl
https://badhttp.dev/crosshost
https://badhttp.dev/crosshost/%7Bflavor%7D
https://badhttp.dev/crosshost/land
https://badhttp.dev/delay/%7Bseconds%7D
How to call
curl -sS -i -X GET https://badhttp.dev/402/pay/base # expect HTTP 402 Payment Required (about $0.01/call)
- Method
- GET
- Response example (json)
{ "amount_atomic": "10000", "amount_usd": 0.01, "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "explorer": "https://basescan.org/tx/0x0000000000000000000000000000000000000000000000000000000000000000", "facilitator": "https://example.invalid", "network": "eip155:8453", "network_name": "base", "paid": true, "pay_to": "0x2b14ad50d63c7fee5a33847f95153ac37a690170", "payer": "0x0000000000000000000000000000000000000000", "real_money": true, "scenario": "/402/pay", "transaction": "0x0000000000000000000000000000000000000000000000000000000000000000" }
Shown as the seller published it. Our availability check uses this example without payment and only reads the 402.
https://badhttp.dev/sse
Known listings
Directories and registries where we have seen this entry. Others may list it too.