Promptwatch Logo

x402

x402 is an open protocol that revives the HTTP 402 status code so AI agents can pay for resources—shaping the economics of agentic search and GEO.
Updated September 6, 2026
AI

Definition

x402 is an open protocol, introduced by Coinbase in 2025, that turns HTTP 402 Payment Required into a working payment rail for machines. A client requests a resource, receives a 402 response describing the price and how to pay, submits payment, and retries the request. No account creation, API key provisioning, or human checkout step is involved, which is what makes it usable by autonomous AI agents.

The first reference implementations settle in stablecoins on-chain, and adoption grew quickly through 2025 and 2026 as agent traffic increased. A later revision added wallet credentials that prove both identity and payment authorization in the same exchange, which gives sites something user-agent strings never could: evidence of which specific user delegated authority to an agent.

x402 is deliberately narrow. It does not model carts, refunds, or the commerce lifecycle—that is the job of protocols like the Agentic Commerce Protocol for checkout and AP2 for authorization mandates. x402 just embeds payment into HTTP. In practice these layers stack: AP2 says the agent is authorized, x402 moves the money, and a licensing layer such as RSL says what the buyer may do with what they bought.

For publishers, x402 is the machine-to-machine plumbing behind pay per crawl and metered APIs. For GEO teams, it is worth understanding as part of the emerging economics of agentic search: as agents gain the ability to pay for access, the question shifts from whether a bot can reach your content to whether paying for it is worth more to you than being cited for free across AI search.

Examples of x402

  • An AI agent requests a metered API endpoint, receives HTTP 402 with payment details, settles the payment, and retries the request successfully.
  • A documentation site charges agents a fraction of a cent per fetch through x402 while keeping the same pages free for human visitors.
  • A crawler presents wallet credentials that prove both which operator it belongs to and that a specific user authorized the purchase.
  • A platform team stacks x402 for settlement, AP2 for authorization, and RSL for licensing terms rather than trying to solve all three with one protocol.

Terms related to x402

Pay Per Crawl

Pay per crawl is an access model where a site charges AI crawlers per request via HTTP 402, instead of serving content free or blocking it.

SEO

Agent Payments Protocol (AP2)

AP2 is Google's open protocol for agent-driven payments, using signed mandates to define what an AI agent is authorized to purchase in agentic commerce flows.

GEO

Agentic Commerce Protocol (ACP)

The Agentic Commerce Protocol (ACP) is an open standard from OpenAI and Stripe for secure, delegated checkout by AI agents inside chat surfaces like ChatGPT.

GEO

Agentic Commerce

Agentic commerce is a buying model where AI agents discover, compare, and buy products on behalf of users, shifting visibility to machine selection.

GEO

AI Agents

Autonomous AI systems that plan, use tools, and execute multi-step tasks to achieve goals in agentic search and GEO workflows.

AI

Agentic Search

Agentic search is AI search that plans, browses, compares, uses tools, and completes multi-step research or transaction tasks on behalf of users.

GEO

Web Bot Auth

Web Bot Auth is an IETF protocol that lets AI crawlers sign HTTP requests so sites can verify bot identity—improving AI search and GEO analytics.

AI

Really Simple Licensing (RSL)

Really Simple Licensing (RSL) is an open XML standard for publishers to declare licensing terms for AI crawlers—shaping AI search and GEO visibility.

AI

Model Context Protocol (MCP)

Model Context Protocol (MCP) is Anthropic's open standard for AI models to connect to external tools and data—core to agentic search and LLM tooling.

AI

Agent Experience Optimization (AEO)

Agent Experience Optimization (AEO) structures a site so AI agents can discover, understand, trust, and act on a business in AI search and agentic workflows.

GEO

AI Search

Explore how AI search engines like ChatGPT, Perplexity, and Google AI Mode are reshaping discovery with a growing share of global search behavior.

AI

Frequently Asked Questions about x402

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

Traditional payment flows assume a human with an account, a card, and a checkout page. Autonomous agents have none of those. x402 lets a client pay for a single resource inline over HTTP and immediately retry the request, which makes per-request pricing 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