Coinbase Logo

Language and region

x402

x402: the internet-native payment protocol

Fast, cheap, and AI-friendly payments over HTTP

web API pay hero

The onchain payment gateway for AI and APIs

Monetize APIs & AI models

Charge per API call, AI inference, or data access without subscriptions

No chargebacks or middlemen

Instant USDC payments with finality, no disputes

Built-in compliance & security

KYT screening from Coinbase including OFAC and illicit finance

Real-time reporting dashboards

Track revenue, balances, and transactions effortlessly.

Used by the best

logo wall

How Agents & APIs use x402

Pay-per-use API models

AI services charge per inference, no subscription needed.

Visual

AI agents accessing APIs

AI tools pay per use for data, compute, or cloud services.

Visual1

On-demand content

Users pay per article, video, or dataset, no subscription required.

on demand content

Machine payments

IoT & autonomous systems transact automatically.

machine payments small

Better payments happen onchain

payment rail comparison

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.

Github

View and download open source Coinbase code.
View Github

Discord

Get help with your project, meet other developers, and get access to the web3 community.
Join Discord

Talk to an expert

Get in touch with us to discuss your integration or if you have an idea on how you would like to work with us.
Get support

No representation or warranty is made, express or implied, with respect to the future performance of any digital asset, financial instrument or other market or economic measure. Recipients should consult their advisors before making any investment decision. Coinbase, Inc. is not registered or licensed in any capacity with the U.S. Securities and Exchange Commission or the U.S. Commodity Futures Trading Commission.