How x402 uses HTTP 402 and EIP-3009 to let AI agents pay per API call

In an explainer reported on December 4, 2026, at 14:02 EST, Circle described how x402 lets an AI agent pay for an API call in USDC without asking a person to approve each purchase. The operator sets a spending cap, the server states its price, and the agent signs an authorization for that payment.

How a request becomes a payment

HTTP status code 402 means “Payment Required.” Under x402, a server uses that response when an agent requests a paid resource, such as an API call or a dataset. The response specifies the payment terms. If the agent proceeds, it signs a payment authorization and retries the request with the signature.

HTTP 402 communicates the price; EIP-3009 transfer methods let the agent authorize the USDC transfer. The signature approves a specific payment without giving the service account credentials or a stored card number. Settlement typically takes about one to two seconds on supported chains, according to the reported findings.

Circle identified paid APIs, metered AI services and autonomous purchases as use cases. A developer can charge per call rather than require a subscription. Circle described two separate safeguards: an operator-set cap limits what an agent can spend if it repeatedly requests the same service, while a delivery check helps confirm that the paid response arrived before the transaction is treated as complete.

Governance, network support and usage

Coinbase launched x402 on May 6, 2025. The independent x402 Foundation began operations on July 14, 2026, with about 40 founding members. By the December report, membership had grown to more than 50, with AWS, Circle, Google and Mastercard among the governance participants. Supported networks included Base, Solana and Polygon.

As of December 4, 2026, x402 had processed more than 211 million transactions since launch, with approximately $44 million in stablecoins settled on-chain. The difference between the transaction count and the dollar volume reflects the protocol’s use for small per-request charges rather than large payments.

Further reading