Executive Summary
x402 is an open, neutral specification for moving value inside ordinary web requests. The foundation site states the design in one mechanism: a handler declares which routes require payment; a request that arrives unpaid receives status 402; the caller pays and retries. No second channel is specified. The same page says the scheme is free of protocol fees for both sides, with only nominal network fees left, and that it is not bound to one chain.
Coinbase Developer Documentation describes an operated path on top of that loop. A facilitator verifies and settles. Sellers can receive at an address they control, named there as a custodial CDP wallet, Coinbase Business, Prime, or self-custody. Buyers pay from a CDP wallet or another signer. That page reports more than 100 million payments handled across Base and Solana. The foundation FAQ, separately, says the design is production-ready, open-source, audited, and has processed millions of transactions. Those two counts are not the same claim. One is an operator total on two named chains. The other is a protocol-level statement without a chain split. An analyst should not add them.
This essay treats only those published statements, plus the point-in-time metadata of the development fork and the definition of HTTP in RFC 9110. Where a quantity is absent from those texts, it stays absent here.
The loop, and why HTTP's statelessness forces it
RFC 9110 (June 2022, STD 97) defines HTTP as a stateless application-level protocol for distributed hypertext systems. A stateless protocol does not keep a shopping session between calls. Any payment proof has to travel with a request, or the server must invent an account, a key, and a stored balance. The foundation's "old way" is exactly that invention, in five steps: create an account; add a payment method with KYC and an approval delay; buy credits or a subscription, which it calls a prepaid commitment that either overpays or runs dry; manage an API key that must be stored and rotated; then pay, under slow settlement, chargebacks, and fees.
The replacement collapses to three steps on the same site. An automated client sends a request and receives 402 Payment Required, with no account setup. It pays instantly in stablecoins, with no signup and no approval. Access follows, without key custody. The documentation overview adds the buyer types that fit this loop: a person unlocking premium material, a backend consuming metered data, or an agent buying a tool call in the middle of a task. There is no checkout page, card form, or signup flow.
The reference registration is one middleware call. Both the foundation homepage and the fork README show the same shape: paymentMiddleware keyed by a route such as GET /weather, an accepts list commented as "as many networks / schemes as you want," and a description string. Unpaid traffic gets 402 and is told to pay and retry. That is the whole on-path contract those pages publish.
sequenceDiagram participant Client participant Resource participant Facilitator Client->>Resource: Request without payment proof Resource-->>Client: 402 Payment Required Client->>Resource: Retry with stablecoin payment Resource->>Facilitator: Verify and settle Facilitator-->>Resource: Settlement result Resource-->>Client: Paid response
The diagram follows two texts only. The unpaid request, the 402, the retry, and stablecoin payment are the foundation flow. Verify-and-settle is the facilitator role in the CDP overview. Nothing in the captured pages specifies header names, signature algorithms, or a timeout. Those details are outside this evidence set.
Architectural tradeoffs the sources actually lock in
Five properties are asserted together on the foundation homepage. Read as engineering choices, they conflict in useful ways.
| Property stated | Mechanism implied | What the caller gives up |
|---|---|---|
| HTTP-native, no extra round of communication | Price challenge and proof share the existing request | No separate negotiation session |
| Zero protocol fees | Customer and merchant pay none to the standard itself; nominal network fees remain | Fee schedule of the rail is outside the spec |
| Zero wait | "Money moves at the speed of the internet" | No published latency bound in these pages |
| Zero friction | No accounts, no personal information | No KYC identity inside the protocol |
| Neutral / not tied to one network | accepts lists many schemes; FAQ says all EVM-compatible chains, Solana, and more |
Client must pick a scheme the route listed |
The multi-scheme accepts array is the concrete escape hatch. A route can list more than one rail. The FAQ says stablecoin payment is the primary use case, and that the design is extensible to traditional methods. The fork README widens the aim further: all networks, crypto and fiat, and value in stablecoins, tokens, or fiat. Extensibility is declared. A worked fiat scheme is not shown in these excerpts, so "supports fiat" here means an aim and an extension point, not a measured fiat volume.
Client integration surface, as published:
| Role | What the pages say you do | Dependency you accept |
|---|---|---|
| Seller via SDK | Charge endpoints using the CDP SDK | Facilitator verifies and settles for you |
| Buyer via SDK | Pay for an API or resource | A signer: CDP wallet or another |
| Agentic accounts | Give an agent an account that can pay | A funded account, not a human form |
| Integrations | Connect the flow to a supported platform where agents are built and run | That platform's support list |
"Anyone can build on or extend" is the decentralization claim. The operated facilitator is optional infrastructure, not the only door: the homepage shows middleware without naming CDP. Using the facilitator means you skip building chain infrastructure, which the overview states explicitly, and you accept that verification and settlement run through that service. Sellers still choose the receive address, including self-custody. Custody of proceeds and custody of the verify step are separable in this write-up. That split is the main architectural fact an operator should price.
Language reach is visible in the tree, not in a marketing count. The fork contains go, java, python, and typescript, plus contracts/evm, specs, e2e, examples, and foundation. TypeScript install lines name @x402/core, @x402/evm, and @x402/sv before the excerpt truncates. A Technical Steering Committee file (TSC.md) sits beside SECURITY.md, CONTRIBUTING.md, and DEFAULT_ASSETS.md. Governance is a Linux Foundation series: copyright is "x402 a Series of LF Projects, LLC," with policies deferred to lfprojects.org. The homepage also points at members, working groups, a meeting calendar, and "thousands of builders." Headcount is not itemized.
Settlement economics without invented prices
No fee table, take-rate, or dollar price appears in the four sources. Inventing one would fake a market. The economics that are specified are structural.
Protocol toll is stated as zero for customer and merchant. Residual cost is "nominal" network fees, unquantified here. Settlement speed is asserted as internet-speed, against the old path's "slow transactions, chargebacks, fees." Chargebacks are named only on the legacy side. The new path's failure mode, if a transfer is mis-sent, is not described. Finality rules per chain are not in these pages. The facilitator disclosure names two networks beside its cumulative, and the FAQ lists all EVM-compatible chains, Solana, and more. Homogeneous finality across that set is not claimed, and should not be assumed.
The legacy waste mechanism is the one equation these texts support. A prepaid commitment (C) is bought before demand (D) is known. Unused balance is overpayment. A shortfall is stockout. Waste is the unused part:
Expected waste before demand realizes:
Per-call settlement removes the prepaid (C). Each accepted call pays its own price. Overpay-or-run-out, the homepage's phrase for step 3 of the old path, is then a property of the credit bucket, not of the request. This does not say per-call settlement is cheaper in network fees. It says the precommitment error goes to zero because the precommitment is gone. Network fees still apply on every paid retry, and those fees are unpublished here.
A second identity covers the retry itself. Let (q) be the probability a first request lacks proof and must be repeated after 402. The foundation flow makes that the normal cold start: the first call discovers the price by being rejected. Calls per successful response are (1 + q) when a single retry succeeds, and higher if payment fails. No (q) is measured in the sources. The identity only marks where latency hides: "no additional communication" means no side channel, not a single packet. Discovery is an extra HTTP round on the same resource.
Operator accounting, still without prices:
| Ledger line | Published fact | Open variable |
|---|---|---|
| Protocol toll | Zero for both parties | None, if the homepage statement holds |
| Network fee | Nominal, unpaid to the standard | Rail, asset, congestion |
| Precommitment waste | Removed when each call settles itself | Demand variance only matters for credits |
| Facilitator | Verifies and settles on the CDP path | Pricing page exists; numbers not in this capture |
| Chargeback | Named on the old path only | Reversal rules for stablecoin transfers |
The honest reading of "production scale" is the gap between speakers. Millions of transactions (foundation FAQ, no chain filter, no window) sit beside the CDP overview's larger, facilitator-scoped cumulative on the two networks already named, also with no window. A facilitator can count retries, verifications, and settlements differently from a protocol census. Until both publish a denominator and a date range, the larger figure is an operator disclosure, and the smaller one is a floor-shaped adjective with a digit missing. Neither is a price index.
What the repository metadata can and cannot prove
Point-in-time metadata on the Coinbase development fork, as captured for this essay: 243 pull requests, 304 forks, 186 stars, 6 watchers, 725 commits. The README states that the canonical project moved under the foundation organization, that issues and pull requests were transferred there, and that this tree is now a development fork. Stars and forks on a fork are a weak adoption proxy. Commit count shows maintenance, not payers. The useful signal is structural: chain contracts live under contracts/evm; language trees exist for four runtimes; specs is a top-level directory, so the wire contract is meant to be readable apart from any one SDK.
Security posture in primary sources is a sentence plus a file. The FAQ says the protocol is open-source and has been audited. SECURITY.md is present. The audit firm, date, and scope are not in the captured text. Treat "audited" as a published claim awaiting the report, not as a finding reproduced here.
Adoption paths that do not require a new human account are the part that matches machine buyers. Agentic accounts are a named product path: an agent receives an account it can use to pay. Integrations attach the same loop to platforms where agents already run. The homepage's three-step story — 402, stablecoin payment, access — is the agent-shaped one, because step 1 of the old path (account creation) and step 2 (KYC) are the steps a process cannot complete. Removing personal information is not a privacy slogan in this design. It is how a non-person gets through.
For readers keeping their own time series of rail claims, the protocol radar dataset is a static extract meant for that bookkeeping. It does not replace the primary pages cited above, and it does not add figures to this argument.
Failure modes visible from the texts
-
Discovery doubles the first call. The server answers 402 when proof is missing. Clients that treat any non-200 as fatal never pay. Clients that pay every 402 without checking the
acceptslist can send a scheme the route did not offer. The comment in the snippet — as many networks or schemes as you want — pushes scheme selection onto the caller. -
Two censuses, no shared window. The FAQ's millions and the operator cumulative will be quoted as if they measured one thing. They do not. Dashboards that mix a protocol FAQ with a facilitator total will show a break that is definitional.
-
Prepaid habits reintroduced at the edge. The protocol removes the credit bucket. A facilitator, a platform integration, or an agentic account can put a balance back in front of the agent. If that balance is a prepaid commitment, (\mathbb{E}[W]) returns, one layer up. The sources do not say those accounts are prepaid. They also do not say they are empty-until-call. Operators should look at which layer holds inventory.
-
Neutrality versus an operated shortcut. Middleware alone is chain-agnostic in the homepage's telling. The quick path "without building crypto infrastructure" routes verify-and-settle through one company's facilitator, on the overview that attaches its large count to those same two networks. Self-custody of the receive address does not by itself decentralize verification. Both options are published. They are not the same trust model.
-
Fork confusion. Issues live at the foundation remote. The Coinbase remote is labeled a development fork. Integrators who file against the stale remote, or who pin SDKs from the wrong tree, will drift. The note in the README is the mitigation, and it is easy to miss under the badge counts.
-
Extensibility claimed ahead of evidence. Fiat and traditional methods are in the aim and in the FAQ's "extensible" clause. The only payment instrument walked through in the new-way narrative is stablecoins. A design that accepts many schemes still needs each scheme implemented. Folder evidence shows
contracts/evmand an@x402/evmpackage, plus a truncated@x402/svname. That is consistent with EVM plus at least one further family. It is not a catalog of fiat rails.
Predictions
These three statements are scored as author confidence, not as measurements copied from the sources. Each fails on a public page by the date given.
-
By 30 June 2027, the Coinbase development fork will show a commit count higher than the 725 commits captured here. Confidence 72%. Falsified if that repository's public history is still at or below 725.
-
By 31 December 2027, Coinbase Developer Documentation for this payments flow will still state a cumulative facilitator total of more than 100 million payments and will still name both Base and Solana in that sentence, or will replace it with a higher cumulative that still names both networks. Confidence 61%. Falsified if the overview drops either network from the volume sentence or publishes a cumulative below that captured floor.
-
By 30 September 2027, the foundation homepage will still describe customer and merchant protocol fees as zero, with payment-network fees left as the residual. Confidence 77%. Falsified if that page introduces a protocol toll, or if the project stops publishing the zero-fee claim without a successor page that preserves it.
Methodology note: this analysis is produced by an autonomous research pipeline. The open-source workflows and datasets it uses are published at tony88pisa/automation-templates; the extended production version is available on Gumroad.