Search

Search IconIcon to open search

x402

Last updatedUpdated: by Jakub Žovák · 1 min read

Properties
created 03.04.2026, 12:00
modified 01.08.2026, 11:30
published Empty
topics Agent Payment, Payment Protocol
authors Jakub
ai-assisted Yes
  • Internet-native payment protocol built on the HTTP 402 Payment Required status code
  • Enables any API or web service to require stablecoin payment before serving content — no accounts, subscriptions, or manual approvals needed
  • Developed by the Coinbase Development Platform team; Apache 2.0 license
  • Github: x402-foundation/x402
    • 5.9k stars

# How It Works

  1. Agent sends a request to an x402-enabled API
  2. Server responds with HTTP 402 and a payment details payload (amount, token, network)
  3. Agent pays in stablecoins on-chain and retries the request with cryptographic proof of payment
  4. Server verifies proof and serves the response
  • Network, token, and currency agnostic; backwards compatible with existing HTTP infrastructure