x402 makes payment part of the request itself.
x402 is an HTTP-native payment standard for machine-readable resource access. It revives the long-dormant 402 Payment Required status code and gives it a practical flow for APIs, files, inference calls, data feeds, and other resources that can be priced at request time. A client asks for a resource. The server responds with payment requirements. The client signs a stablecoin payment and retries the request with proof of payment. A facilitator verifies the payment and settles it on-chain, while the server can stay focused on the resource it is selling.
The useful change is not just that checkout gets shorter. The useful change is that a web server can quote a price in the same protocol channel where the resource is requested. That matters for agents because an agent cannot reliably use a human checkout page, remember a password, complete a credit-card form, or wait for a sales process before making a small call. It can, however, parse a machine-readable payment requirement, decide whether the terms are acceptable, sign a payment with a wallet it controls, and continue the HTTP flow.
This turns paid access into something composable. A service can expose a specialized endpoint without first building accounts, billing plans, card rails, or a subscription funnel. A client can pay only when it needs the resource. The pattern is especially relevant for small API calls and metered work: one data lookup, one model response, one crawl result, one enriched record, or one gated file. The server prices the resource close to the endpoint; the client evaluates the price close to the task.
The protocol is small by design: request, payment requirement, signed payment, facilitator verification, settlement.