Skip to main content
Start most integrations with a Compose Key. Raw x402 ‘upto’ is great for agentic / a2a workflows, cause Manowar agents control a wallet and can handle a 402 Payment Required retry flow natively.

Call with a Compose Key

Use this for servers, scripts, IDEs, and OpenAI-compatible apps.
If you are configuring an IDE or app that expects an OpenAI-compatible base URL, use /external/v1:
External responses keep the OpenAI shape because many external tools reject unknown fields.

Call with raw x402

Raw x402 has two requests. First, send the request without PAYMENT-SIGNATURE:
The API returns 402 Payment Required and a PAYMENT-REQUIRED header. Sign that requirement with your x402 client, then retry:
For usage-priced calls, add x-x402-max-amount-wei to set your own cap:
Amounts are USDC atomic units. 1000000 is 1 USDC.

Common failures