x402 logo

x402

Agent servicesCoinbaseAlso called HTTP 402, x402 ProtocolLast checked Sep 25, 2026

x402 is Coinbase's open payment protocol — it revives HTTP 402 Payment Required so an agent that hits a paid resource can settle programmatically in stablecoins (USDC on Base) and get the resource, no human checkout step.

Technical details

At a glance

Who it's for
API sellers who want machine-payable endpoints, and builders whose agents should buy data, compute, or services without card rails.
What it does
HTTP 402 status as payment handshake · USDC settlement on Base · Client and facilitator SDKs · Middleware for paid endpoints · Open spec with Coinbase backing
Pricing
Open protocol (free); settlement on-chain
Where it runs
On your machine or in the vendor's cloud. Used through an API

Common questions

What is x402?

x402 is Coinbase's open payment protocol — it revives HTTP 402 Payment Required so an agent that hits a paid resource can settle programmatically in stablecoins (USDC on Base) and get the resource, no human checkout step.

Who is x402 for?

API sellers who want machine-payable endpoints, and builders whose agents should buy data, compute, or services without card rails.

How much does x402 cost?

Open protocol (free); settlement on-chain. Prices were checked against the vendor's pricing page on Sep 25, 2026. Plans change often, so confirm before you decide.

Does x402 run locally or in the cloud?

x402 runs on your machine or in the vendor's cloud. You use it through an API.

What are alternatives to x402?

Other agent services in the directory: Browserbase, Exa, E2B, Composio, Mem0, Daytona, AgentMail, Agent Payments Protocol, AgentCard, Arcade, Keycard, Nevermined, Nylas, OpenMail, Payman, Postmark, Resend, Scalekit, Skyfire. Different categories solve the same problem differently, so see the Agent services category page for tradeoffs.

Compare x402

See all agent services
Show all 19 alternatives