HTTP 402 payments become part of the protocol

The payment layer for an internet run by agents.

x402 turns Payment Required from a forgotten HTTP status into an open way for software to pay software.

x402 handshake ready
$ curl https://api.x402.sk/or/36723246
HTTP/1.1 402 Payment Required
payment-required: 0.01 USDC · base · payTo: 0x51bd…
$ curl -H "X-PAYMENT: eyJhbGci…" (retry)
HTTP/1.1 200 OK
{ "id": "36723246", "name": "Example Ltd." }
latest / read

English notes

All articles →