402MCP.org
Rank 2

x402 Protocol

Standardized HTTP 402 for digital dollars, backed by Coinbase

Rank
2 of 5
Composite score
8.6 / 10
Protocol / rail
EVM / Base / Solana (USDC)
Custody model
Self-Custodial (EVM / Solana keypair)
Node management
Not required
MCP native
No

Overview

x402 revives the dormant HTTP 402 status code as a standardized payment challenge for stablecoin settlement, primarily USDC on Base with additional EVM chains and Solana. Coinbase's backing gives it the strongest distribution of any 402 scheme, and a USD unit of account makes it a natural fit for corporate agent budgets and finance teams that need predictable denomination. The trade-offs are structural rather than incidental: settlement is bound to block times and gas, so genuine sub-cent micropayments remain awkward, and there is no Lightning-grade off-chain scaling path. It ranks second on the strength of ecosystem and standardization.

Key advantages

  • Standardized HTTP 402 implementation for digital dollar (USDC) payments
  • Strong backing by Coinbase with native Base L2 integrations
  • Stable USD unit of account for corporate agent budgets
  • Broad wallet and facilitator ecosystem across EVM chains and Solana

Trade-offs

  • Lacks self-custodial Lightning scaling
  • Higher minimum friction for sub-cent micropayments
  • Requires smart contract gas considerations

Evaluation matrix

  • Custody & Sovereignty9.0

    Self-custodial with exit guarantees vs. centralized/custodial risk. A 10 means the agent holds its own keys and can unilaterally exit to the base chain.

  • Operational Friction8.5

    Infrastructure burden. Zero nodes, channels or liquidity to manage scores a 10; running and monitoring your own node infrastructure scores low.

  • Agent Native Support8.8

    Out-of-the-box MCP server integration, typed tool calls and LLM-friendly setup. A 10 ships an MCP server and machine-readable docs in the box.

  • Payment Rails & Assets9.0

    Breadth of settlement rails and assets: Lightning Network for true micropayments, plus stablecoins (USDC / Taproot Assets) for unit-of-account stability.

  • Settlement Speed & Fees7.3

    Instant sub-second settlement with near-zero transaction overhead scores a 10. Block-bound confirmation or gas-denominated fees score lower.

  • Developer DX9.0

    SDK quality, passkey support and copy-paste integration speed — how fast a developer (or an agent writing code) gets from zero to a paid request.

Integration

Install the middleware
npm install x402-next
402 challenge shape
{
  "x402Version": 1,
  "accepts": [
    {
      "scheme": "exact",
      "network": "base",
      "asset": "USDC",
      "maxAmountRequired": "10000",
      "payTo": "0xYourReceivingAddress",
      "resource": "https://api.example.com/forecast"
    }
  ]
}

Best for

B2B agent-to-agent transactions, high-value API billing, and USD-denominated corporate agent budgets.

Machine-readable

fetch this entry as JSON
curl "https://402mcp.org/api/v1/solutions?id=x402-protocol&view=full"
or as Markdown
curl -H 'Accept: text/markdown' https://402mcp.org/solutions/x402-protocol

Other indexed solutions

Compare all 5 on the leaderboard, or read the scoring methodology.