x40docs — docs for x402 paid APIs and x403 Harbinger notify  |  Our sites: x402 Marketplace · Smithery migration · grokzilla.shop · Harbinger app · Harbinger docs

x402 overview

x402 turns HTTP 402 Payment Required into a working payment step. Every service in the marketplace is a small HTTPS API priced per call (most are $0.003 USDC).

  1. POST to the service route without payment.
  2. Get 402 with a PAYMENT-REQUIRED header: price, network eip155:8453 (Base), asset USDC, scheme exact, payTo.
  3. Retry with a PAYMENT-SIGNATURE header from any x402 v2 client.
  4. Get 200 with the data and a PAYMENT-RESPONSE settlement header.

No signup, no API key. Invalid requests are rejected without charge.

Next: quickstart · discovery files · concierge formats