Back to directory

badhttp — the server that misbehaves on purpose

https://badhttp.dev/402/pay/base
● degraded developer-tools

A 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.

Category
developer-tools
Chains
base, eip155:8453
Price
$0.0100 USDC / call

Quality grade

How grading works
C+ 51.0 / 100
Availability 9.0 / 20
Reachable but returned HTTP 200
Payability 7.5 / 15
  • ✗ Answers a real HTTP 402 challenge
  • ✓ Publishes a /.well-known/x402 descriptor
  • ✓ Payment address on record
  • ✓ Settlement network declared
  • ✓ Price declared
Demand 12.7 / 35
11 distinct payers, 28 EIP-3009 USDC payments in the last 30 days
Performance 9.7 / 10
Last probe answered in 256 ms (full marks at 200 ms or less)
Readiness 7.1 / 15
Agent readiness 48/100
Owner verified 5.0 / 5
Operator proved control of this domain
Endpoint last checked 11 h ago. On-chain activity last read 5 h ago. Availability and on-chain demand are both re-probed daily; the grade updates automatically on the next pass. This grade sets search order and leaderboards; the readiness score below is shown for reference only.

x402 readiness

D · 48/100

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.
Applicable criteria total 80 points, scaled to 100.
Responsiveness: Responsive (256 ms; bands ≤2.5 s, ≤5 s, ≤8 s, slower; penalty only).
Payment evidence: catalog_listing — A third-party catalog says it accepts payment. Qualifies the payment claim; adds no points.
Measured 2026-12-01.
Eight criteria, the same as the A2A readiness score, read from our daily probe of the paid endpoint, its payment requirements and 30-day probe history. Signed descriptor and security declaration are n/a for x402 (payment is the access control), as is an x402 version we have not observed; the remaining points are scaled to 100. Grades: A>=90, B>=75, C>=60, D>=40, F<40. It also feeds 15 points of the x402 quality grade.

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.

How many agent tools actually work · All statistics

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
GET 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 · x402-fetch / x402-axios will auto-handle 402
curl -sS -i -X GET https://badhttp.dev/402/pay/base  # expect HTTP 402 Payment Required (about $0.01/call)
Declared by the seller · x402 Bazaar extension in its 402 response
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.

MCP endpoint
https://badhttp.dev/sse
/.well-known/x402.json
https://badhttp.dev/.well-known/x402

Known listings

Directories and registries where we have seen this entry. Others may list it too.

x402scan since 2026-09-13