x402test.com

Pay the 402. Get the JSON.

A small public target for x402 client integrations. Every protected endpoint is intentionally boring, deterministic, and machine readable, so your payment flow is the thing under test.

integration smoke test
curl -i https://x402test.com/api/fortune

# With an x402-aware client, retry the 402 challenge with payment.
# Node clients can use @x402/fetch or @x402/axios.

GET /api/fortune

Returns one fortune from a deterministic pool of more than 1,000 variations.

GET /api/haiku

Returns one generated integration haiku with stable ids for replayable tests.

GET /api/status

Returns a compact success payload for smoke tests and health checks.

GET /api/echo

Echoes request metadata so clients can verify headers, query strings, and retries.

POST /api/tip

Accepts a tiny paid thank-you note for the maintainers and returns a receipt-shaped payload.

network eip155:8453asset USDCfacilitator api.cdp.coinbase.com/platform/v2/x402catalog /api/catalogrobots welcome