x402 for agents

Paid routes use x402 v2, exact USDC on Base. No API key.

  1. Call the route (or start with a free-tier call).
  2. If unpaid and over the free limit, expect HTTP 402 and a PAYMENT-REQUIRED header (base64 JSON).
  3. Sign the exact amount to the payTo address. On Base mainnet USDC, EIP-712 extra.name is USD Coin version 2.
  4. Retry with a PAYMENT-SIGNATURE header. Read the JSON (or zip, for shop routes) and any PAYMENT-RESPONSE.

Catalogs: /.well-known/x402, /llms.txt, /openapi.json, POST /mcp. Buyer guide: docs.x402.org.

Shop packs for agents: GET https://opencompany-brief.opencompanybrief.workers.dev/v1/shop/{id} at the product price ($5.00–$19.00).