{"slug": "the-state-of-x402-ai-agent-payments-market-data-from-running-90-apis-entry-and", "title": "The State of x402 AI Agent Payments: Market Data from Running 90 APIs, Entry Strategies, and Building on AWS", "summary": "A developer published market data from running 90 x402 pay-per-request APIs, documenting actual call volumes and revenue for the HTTP 402-based stablecoin payment protocol, alongside an analysis of call counts and prices on the Bazaar API marketplace. The book also lays out a low-cost AWS architecture for serving x402 APIs that earn only fractions of a cent per call. x402, released by Coinbase in May 2025 and now governed by the x402 Foundation under the Linux Foundation, lets AI agents pay for APIs in USDC without sign-ups, API keys, or contracts.", "body_md": "*This article is the free opening of the book [The State of x402 AI Agent Payments](https://leanpub.com/state-of-x402).*\n\nx402 is a payment protocol that uses the HTTP 402 status code to complete a payment inside a request. The client attaches a payment signed with its wallet to each request, and the server only has to verify that payment before it responds. This makes pay-per-request billing possible without sign-ups, API keys, or contracts. Payments use stablecoins such as USDC, so prices stay stable in US dollars and APIs are easy to price. Because the whole payment can be completed without a human in the loop, x402 is drawing attention as the payment layer for paid APIs that serve AI agents.\n\nHowever, almost no data has been published on how often x402 APIs are actually called or how much their providers earn.\n\nThis book outlines how x402 works and then publishes real request and revenue data that the author recorded while running 90 APIs. It also analyzes the call counts and prices of the APIs listed on Bazaar to show where the market stands today. Finally, drawing on the author's operating experience, it presents a scalable, low-cost architecture on AWS, which is essential for making money from x402 APIs that earn very little per call.\n\nAI agents carry out tasks by calling external services, such as search, code execution, and web browsing, as tools. Most paid APIs, however, are designed on the assumption that a human signs up in advance. Using a typical paid API takes the following steps.\n\nA human performs these steps in a web browser. As a result, an agent can only use the APIs that its user has signed up for and configured with an API key in advance. If an agent needs a new API in the middle of a task, it cannot sign up on its own.\n\nProviders face problems too. Even an API that costs a few cents per call needs account management, API key issuance, and billing. Credit card payments also carry a fixed fee per transaction, so processing a payment of a few cents at a time costs more than it earns. For this reason, small APIs are often sold as monthly subscriptions, a pricing model that suits agents that only call an API occasionally poorly.\n\nx402 is a protocol that standardizes the steps from presenting a price to approving the payment, verifying it, and issuing a receipt, all within HTTP requests and responses. The provider verifies the payment before responding, so it never goes unpaid. The client approves a payment only for the amount and recipient it was shown, so it never receives an unexpected bill. These steps let parties without a prior contract trade safely, which solves the problems above.\n\nx402 was [released by Coinbase in May 2025](https://www.coinbase.com/developer-platform/discover/launches/x402) and is now governed by the [x402 Foundation](https://www.linuxfoundation.org/press/linux-foundation-announces-operational-launch-of-x402-foundation-to-standardize-internet-native-payments-for-ai-agents-and-applications) under the Linux Foundation. The status code it is named after, `402 Payment Required`, is marked as \"reserved for future use\" in the [HTTP specification (RFC 9110)](https://www.rfc-editor.org/rfc/rfc9110#section-15.5.3), and no standard usage had been defined for it. x402 defines how to pay with stablecoins using this status code.\n\nA stablecoin is a digital currency on a blockchain designed to keep its value pegged to a fiat currency such as the US dollar. [USDC](https://www.circle.com/usdc), the stablecoin used most with x402, is a US dollar stablecoin issued by Circle and backed by an equal amount of cash and short-term US Treasuries, so that 1 USDC can be exchanged for 1 dollar. Most x402 payments run on [Base](https://www.base.org/), a low-fee blockchain developed by Coinbase.\n\nAlmost all x402 payments today use USDC. However, the [x402 specification](https://github.com/x402-foundation/x402/blob/main/specs/x402-specification-v2.md) does not depend on a particular currency. A provider can accept other stablecoins by specifying a different currency in the `asset` field of its payment terms.\n\nWith x402, an agent can find an API it needs in the middle of a task and pay for it without human help. For example, suppose an agent that has been asked to arrange a business trip needs to check the status of a flight. It proceeds as follows.\n\n*How an AI agent uses an API with x402*\n\nIn this flow, the only things a human does are deposit USDC into the wallet and set a spending limit. The agent does not need to create an account or sign a contract with the API provider. On the provider's side, once an API is published and listed on Bazaar, it can collect payment on the spot from agents it has never seen before.\n\nThe infrastructure that gives agents a way to pay is also taking shape.\n\nWallets, protocols, and cloud services that give agents a way to pay within a limit are coming together.\n\nx402 has the three components below. In terms of a trade, the client is the buyer, the resource server is the seller, and the facilitator mediates the payment between them.\n\n| Component | Role in the trade | What it does | \n|---|---|---|\n| Client | API user (buyer) | Calls the API and signs the payment. AI agents and the SDKs they use fall into this category | \n| Resource server | API provider (seller) | Provides the paid API. Returns 402 to requests without a payment and responds after confirming the payment | \n| Facilitator | Payment intermediary | Verifies the payment signature and executes the transfer on the blockchain | \n\n*The components involved in an x402 payment and their roles*\n\nA facilitator is similar to a payment processor in card payments. Unlike a payment processor, however, a facilitator does not hold the funds; it transfers them directly from the client's wallet to the provider's wallet. Anyone can run a facilitator, and providers can choose which one to use. A well-known example is the [CDP facilitator](https://docs.cdp.coinbase.com/x402/welcome) operated by Coinbase.\n\nA payment is processed in the following order.\n\n*How an x402 payment is processed*\n\nEach step is designed so that both the provider and the client can trade safely.\n\n`PAYMENT-REQUIRED` header. The terms include the amount, currency, network, and receiving address. The client can check the price and the recipient before paying.`PAYMENT-SIGNATURE` header. The signature covers the amount, the receiving address, and an expiration time, so a third party cannot change the amount or recipient or use the signature after it expires.`/verify` endpoint. The provider can confirm that it will be paid before it starts processing.`/settle`. Because the transfer happens after processing, the server can be implemented so that no transfer happens if processing fails.`PAYMENT-RESPONSE` header contains the result of the transfer, which the client can keep as a record of the payment.\nThe payment terms returned in step 1 look like this (some fields are omitted).\n\n```\n{\n  \"x402Version\": 2,\n  \"accepts\": [\n    {\n      \"scheme\": \"exact\",\n      \"network\": \"eip155:8453\",\n      \"amount\": \"10000\",\n      \"asset\": \"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\",\n      \"payTo\": \"0x...\",\n      \"maxTimeoutSeconds\": 60\n    }\n  ]\n}\n```\n\nThis example asks for a payment of 0.01 dollars in USDC on Base mainnet (`eip155:8453`). `asset` is the currency used for the payment and specifies the [address](https://developers.circle.com/stablecoins/usdc-contract-addresses) of the program that manages USDC on Base. `payTo` is the address that receives the payment. USDC uses six decimal places, so an `amount` of `10000` means 0.01 dollars.\n\nThe signature in step 2 is not the transfer itself but an approval of a transfer on these terms. The actual transfer happens in step 4, when the facilitator writes it to the blockchain.\n\nPayment costs are also lower than with credit cards. The facilitator pays the fee for recording the transfer on the blockchain, and the provider pays only the facilitator's fee. For example, Coinbase's CDP facilitator is [free for the first 1,000 transactions per month and 0.001 dollars per transaction after that](https://docs.cdp.coinbase.com/x402/seller/facilitator). This makes payments of a few cents viable. And because the facilitator verifies signatures and executes transfers, the resource server does not need its own server to connect to the blockchain.\n\nThe x402 [libraries](https://github.com/x402-foundation/x402) support TypeScript, Python, Go, and Java, and work with major web frameworks such as Express, Hono, Next.js, FastAPI, Flask, and Gin. Providers can therefore start charging for an API simply by adding x402 to their existing API server.\n\nAPIs offered with x402 can be found on Bazaar, an API catalog [operated by Coinbase](https://www.coinbase.com/developer-platform/discover/launches/x402-bazaar). Agents can retrieve an API's description, price, and input format from Bazaar. If a provider describes the input and output formats in its API configuration, that information is [listed on Bazaar](https://docs.cdp.coinbase.com/x402/bazaar) when a payment is processed through Coinbase's facilitator.\n\nAs of November 21, 2026, Bazaar lists about 40,000 APIs. The main categories and examples of APIs actually listed are shown below.\n\n| Category | Example APIs (price per call) | \n|---|---|\n| Crypto data | Ratings and trading data for crypto tokens (0.02 dollars), wallet balances (0.003 dollars) | \n| Web access | Fetch a web page and convert it to Markdown (0.001 dollars), web search (0.01 dollars) | \n| People and company data | A person's background and contact details (0.28 dollars), filings by US companies (0.003 dollars) | \n| Generative AI | LLM chat (0.002 dollars), image generation (0.02 dollars) | \n| Real-world data and actions | Weather forecasts (0.002 dollars), airport departures (0.2 dollars), placing a phone call (0.54 dollars) | \n\n*Examples of APIs offered with x402 and their price per call*\n\nMany of these APIs provide things that would take an agent's user real effort to set up individually, such as contracts with telecom carriers or paid databases. With x402, the agent's user can pay only for what they use without signing up for each service.\n\nPrices range widely, from simple data lookups at about 0.001 dollars per call to advanced services such as people search or phone calls at tens of cents per call.\n\nx402 transaction volume and participating companies have grown significantly in the year and a half since its release in May 2025. According to [Chainalysis](https://www.chainalysis.com/blog/north-america-crypto-adoption-2026/), the cumulative number of x402 payments on Base exceeded 138 million by July 2026. In mid-2025, the number was [almost zero](https://www.chainalysis.com/blog/x402-agentic-payments-adoption/).\n\nOn July 14, 2026, the Linux Foundation [announced the operational launch](https://www.linuxfoundation.org/press/linux-foundation-announces-operational-launch-of-x402-foundation-to-standardize-internet-native-payments-for-ai-agents-and-applications) of the x402 Foundation. The x402 Foundation governs x402 as a vendor-neutral open standard, and 40 organizations had joined at the time of the announcement. Its premier members are as follows.\n\n| Category | Companies and organizations | \n|---|---|\n| Payments | Adyen, American Express, Fiserv, Mastercard, Stripe, Visa | \n| Cloud and infrastructure | Amazon Web Services (AWS), Cloudflare, Google | \n| Crypto | Circle, Coinbase, MoonPay, Ripple | \n| Blockchain foundations | Monad Foundation, Solana Foundation, Stellar Development Foundation | \n| Commerce | Shopify | \n\n*Premier members of the x402 Foundation (as of the July 14, 2026 announcement)*\n\nWith card networks, payment companies, and cloud providers on board, x402 is treated as a candidate standard for payments by AI agents, not only within crypto.\n\nSome of these members have started building x402 into their own services. For example, with [AI traffic monetization](https://aws.amazon.com/blogs/aws/aws-waf-adds-ai-traffic-monetization-capability-to-help-content-owners-charge-ai-bots-for-content-access/) in AWS WAF, you can charge AI bots and agents for content delivered through CloudFront. By setting a price in a WAF rule, you can receive payments with x402 without changing your origin server.\n\nSo far, this book has introduced how x402 works and how its ecosystem is spreading. The number of transactions is growing, and major payment and cloud companies have joined the x402 Foundation.\n\nThe author has run 90 APIs on x402 and recorded their revenue, the number of 402 responses, and whether the same users came back. The author has also analyzed the prices and usage of a cumulative total of about 140,000 API listings on Bazaar.\n\nThe rest of this book covers the following.\n\nWe hope this book helps you decide whether to offer APIs with x402 and serves as a guide when you get started.\n\n*The full book, with the market data, the revenue data from 90 APIs, the build steps, and the AWS architecture, is available on Leanpub: [The State of x402 AI Agent Payments](https://leanpub.com/state-of-x402).*", "url": "https://wpnews.pro/news/the-state-of-x402-ai-agent-payments-market-data-from-running-90-apis-entry-and", "canonical_source": "https://dev.to/tarokagurazaka/the-state-of-x402-ai-agent-payments-market-data-from-running-90-apis-entry-strategies-and-68p", "published_at": "2026-11-23 20:58:52+00:00", "updated_at": "2026-11-23 21:13:22.316387+00:00", "lang": "en", "topics": ["ai-agents", "agent-protocols", "ai-infrastructure", "ai-tools"], "entities": ["Coinbase", "x402 Foundation", "Linux Foundation", "Circle", "USDC", "Base", "Bazaar", "AWS"], "also_reported_by": [], "takeaway": "x402 settles per-request payments in USDC over HTTP 402 with no sign-up or API key, but because each call earns only fractions of a cent, providers need a low-cost, horizontally scalable architecture to profit.", "recommendation": {"advice": "When exposing paid tools to agents, price per request via x402 and run the endpoints on a low-cost, auto-scaling architecture, since per-call revenue is tiny.", "playbook": "agent-architecture", "playbook_url": "https://wpnews.pro/playbooks/agent-architecture"}, "alternates": {"html": "https://wpnews.pro/news/the-state-of-x402-ai-agent-payments-market-data-from-running-90-apis-entry-and", "markdown": "https://wpnews.pro/news/the-state-of-x402-ai-agent-payments-market-data-from-running-90-apis-entry-and.md", "text": "https://wpnews.pro/news/the-state-of-x402-ai-agent-payments-market-data-from-running-90-apis-entry-and.txt", "jsonld": "https://wpnews.pro/news/the-state-of-x402-ai-agent-payments-market-data-from-running-90-apis-entry-and.jsonld"}}