x402: the internet-native payment protocol
Fast, cheap, and AI-friendly payments over HTTP

The onchain payment gateway for AI and APIs
Charge per API call, AI inference, or data access without subscriptions
Instant USDC payments with finality, no disputes
KYT screening from Coinbase including OFAC and illicit finance
Track revenue, balances, and transactions effortlessly.
Used by the best

How Agents & APIs use x402
Pay-per-use API models
AI services charge per inference, no subscription needed.
AI agents accessing APIs
AI tools pay per use for data, compute, or cloud services.
On-demand content
Users pay per article, video, or dataset, no subscription required.
Machine payments
IoT & autonomous systems transact automatically.

Better payments happen onchain

Building onchain is hard. We make it easy.
We're committed to helping builders create incredible products. That's why we've made it easy to access powerful APIs and SDKs from Coinbase to help solve developers' toughest problems.