GET /api/fortune
Returns one fortune from a deterministic pool of more than 1,000 variations.
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.
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.Returns one fortune from a deterministic pool of more than 1,000 variations.
Returns one generated integration haiku with stable ids for replayable tests.
Returns a compact success payload for smoke tests and health checks.
Echoes request metadata so clients can verify headers, query strings, and retries.
Accepts a tiny paid thank-you note for the maintainers and returns a receipt-shaped payload.