Using the API
x402 pay-per-request
Let agents pay per request in USDC, with no account and no API key.
Where the payment chain supports it (EIP-3009 USDC, such as Base), agents can call the gateway with no account and no API key.
How it works
Call without a key
The gateway answers
402 with x402 payment requirements.Sign and retry
The client signs a USDC authorization and retries with an
X-PAYMENT header.Get the answer
We settle it, serve the request and return the transaction in
X-PAYMENT-RESPONSE. Overpayment stays in that wallet's withdrawable balance.Clients
Standard x402 clients such as x402-fetch work. GET https://api.spillway.now/public/config shows whether x402 is currently enabled.