Promptwatch Logo

x402

x402 is an open protocol that uses the HTTP 402 Payment Required status so AI agents and apps can pay for an API call or web page inline, without an account.
Updated October 15, 2026
AI

Definition

x402 is an open payment protocol that puts the long-unused HTTP 402 'Payment Required' status code to work. A client (an AI agent, an app or a person's browser) requests a resource, receives a 402 response stating the price and accepted payment options, sends a signed payment and gets the resource back in the same exchange. There is no account to create, API key to provision or checkout page to fill in, which is why it suits autonomous AI agents paying per request.

Coinbase launched x402 in May 2025. In April 2026 the Linux Foundation announced the x402 Foundation to govern it, and on July 14, 2026 the foundation became operational with Coinbase's contribution complete and 40 member organizations, including Coinbase, Cloudflare, Google, AWS, Stripe, Visa, Mastercard, American Express, Adyen and Shopify (Linux Foundation).

The current version is V2 (x402 V2 announcement). It moved all payment data into HTTP headers (PAYMENT-REQUIRED, PAYMENT-SIGNATURE and PAYMENT-RESPONSE), identifies networks and assets with CAIP standards so one format works across chains such as Base and Solana, and lets facilitators plug in traditional rails like ACH, SEPA or card networks. It also added wallet-based identity and reusable sessions, so a client that has already paid for access does not repay on every call, along with a discovery extension that lets facilitators index paid endpoints and their prices. In practice most settlement so far has been in USDC stablecoin through facilitators that verify and settle payments for the server.

Usage is real but smaller and more concentrated than headline counts suggest. The x402 team said the protocol processed over 100 million payments in its first six months or so. CoinDesk reported in July 2026 about 75 million transactions worth roughly $24 million over the previous 30 days, mostly sub-dollar payments. An independent tracker's October 2026 report counted 91 businesses earning meaningful organic revenue in the prior 30 days, with the top ten wallets holding 76% of volume, which suggests a large share of raw transactions are tests or automated traffic.

x402 handles only the payment step. It does not model carts, refunds or authorization limits. Other standards cover those layers: the Agent Payments Protocol proves an agent was authorized to spend, and Google has connected x402 to it as a settlement option; the Agentic Commerce Protocol handles product feeds and checkout; Web Bot Auth identifies which agent is making a request; and Really Simple Licensing states what a buyer may do with content.

For publishers and GEO teams, x402 is part of the machinery behind pay per crawl and metered APIs. It makes it technically simple to charge AI agents for content or data per request. That creates a trade-off worth thinking through: anything an AI system will not pay for is content it cannot retrieve, summarize or cite. Charging agents can make sense for proprietary data and APIs, while content meant to build brand visibility in AI answers usually works better when it stays freely accessible to retrieval crawlers.

Examples of x402

  • An AI research agent requests a financial data endpoint, receives a 402 response with a price of a few cents in USDC, signs the payment and retries the request with the payment header, all within one tool call.
  • A weather API offers free access to humans with an account and charges agents per request through x402, so agents can use it without signing up or storing an API key.
  • A developer uses V2's wallet-based sessions so an agent that bought an hour of access to a dataset can make repeated calls without paying on every request.
  • A news publisher considers putting its archive behind x402 for AI agents but keeps current explainers free, because those pages earn citations in AI answers that bring readers to the site.

Terms related to x402

Pay Per Crawl

Pay per crawl lets a site charge AI crawlers a fee for each page fetch, using HTTP 402 Payment Required. Cloudflare's version is still in closed beta.

SEO

Agent Payments Protocol (AP2)

The Agent Payments Protocol (AP2) is an open standard that uses signed mandates to prove what an AI agent may buy and pay for, now run by the FIDO Alliance.

GEO

Agentic Commerce Protocol (ACP)

The Agentic Commerce Protocol (ACP) is an open standard from OpenAI and Stripe for sharing product feeds and running checkout between AI agents and merchants.

GEO

Agentic Commerce

Agentic commerce is buying in which an AI agent searches, compares and completes purchases for a user, using protocols such as ACP, UCP and AP2 to transact.

GEO

AI Agents

AI agents are AI systems that pursue a goal over many steps: they plan, use tools such as search, a browser or code, act on results and ask humans when needed.

AI

Web Bot Auth

Web Bot Auth is an IETF draft protocol in which bots sign each HTTP request with a private key, so websites can verify which operator actually sent it.

AI

Really Simple Licensing (RSL)

Really Simple Licensing (RSL) is an open XML standard for declaring how AI systems may use web content and on what terms. RSL 1.0 came out in December 2025.

AI

Model Context Protocol (MCP)

Model Context Protocol (MCP) is an open standard for connecting AI apps to tools and data. Anthropic created it; the Linux Foundation's AAIF now hosts it.

AI

Publisher Licensing

Publisher licensing covers the deals, marketplaces and standards that let AI companies pay publishers to train on or ground answers in their content.

AI

Frequently Asked Questions about x402

Learn about AI visibility monitoring and how Promptwatch helps your brand succeed in AI search.

Traditional online payments assume a person with an account, a card and a checkout page. Autonomous agents have none of those. x402 lets any HTTP client pay for a single resource inline, using a 402 response that states the price and a signed payment in the retry, so per-request pricing for APIs, data and content becomes practical for machine traffic.

Be the brand AI recommends

Monitor your brand's visibility across ChatGPT, Claude, Perplexity, and Gemini. Get actionable insights and create content that gets cited by AI search engines.

Promptwatch Dashboard