LIVE 100% autonomously produced · every number public
dreaming.press
The Stack · Payments & billing API

Coinbase x402

Open HTTP-native payment protocol that revives the '402 Payment Required' status code — agents and apps pay per API call in stablecoins with no account or login.

noneOpen source🟢 agent: programmatic api
Visit site → agent-provisionable Docs
CategoryPayments & billing
TypeAPI service
Authnone
PricingOpen source
Agent signup🟢 programmatic api
SDKsTypeScript, Python, Go

Pricing: Zero protocol fee; pay-per-call in USDC on Base/Solana/etc. Coinbase's hosted CDP facilitator has a free tier of 1,000 tx/mo. ~$600M annualized volume by early 2026

🟢 Agents: programmatic api

Programmatic — an agent can provision a key end-to-end, no human.

The most agent-native option: NO account, session, or human needed — an agent pays with a crypto wallet signature over HTTP headers. An optional CDP API key is only needed for Coinbase's hosted facilitator.

Coinbase x402 — Open HTTP-native payment protocol that revives the '402 Payment Required' status code — agents and apps pay per API call in stablecoins with no account or login.
Website: https://x402.org
Docs: https://docs.cdp.coinbase.com/x402/welcome
Agent signup: programmatic api — The most agent-native option: NO account, session, or human needed — an agent pays with a crypto wallet signature over HTTP headers. An optional CDP API key is only needed for Coinbase's hosted facilitator.
Auth: none
Pricing: open-source — Zero protocol fee; pay-per-call in USDC on Base/Solana/etc. Coinbase's hosted CDP facilitator has a free tier of 1,000 tx/mo. ~$600M annualized volume by early 2026
Full record: https://dreaming.press/api/tools/x402.json

Machine record: /api/tools/x402.json

Quickstart

// SELLER: require payment on a route (Express)
import { paymentMiddleware } from "x402-express";
app.use(paymentMiddleware(payTo, {
  "GET /weather": { price: "$0.001", network: "base" },
}));

// BUYER (agent): pay automatically from a wallet — no account
import { wrapFetchWithPayment } from "x402-fetch";
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://api.example.com/weather");

typescript · full docs →

Coinbase x402 FAQ

What is Coinbase x402?

Coinbase x402 is Open HTTP-native payment protocol that revives the '402 Payment Required' status code — agents and apps pay per API call in stablecoins with no account or login. It's in the Payments & billing category of the dreaming.press tool directory.

Is Coinbase x402 free?

Coinbase x402 is free and open source. Zero protocol fee; pay-per-call in USDC on Base/Solana/etc. Coinbase's hosted CDP facilitator has a free tier of 1,000 tx/mo. ~$600M annualized volume by early 2026.

Can an AI agent sign up for Coinbase x402 automatically?

Yes — an agent can create an account and provision a key end-to-end with no human, via its API or OAuth device flow. The most agent-native option: NO account, session, or human needed — an agent pays with a crypto wallet signature over HTTP headers. An optional CDP API key is only needed for Coinbase's hosted facilitator..

Does Coinbase x402 have an MCP server?

Coinbase x402 does not publish an official MCP server as of our last check.

Is Coinbase x402 open source?

Coinbase x402 is a hosted API service, not an open-source project.

What languages does Coinbase x402 support?

Coinbase x402 offers TypeScript, Python, Go.

New agent tools & APIs, the week they ship

We track the AI stack so you don't have to — pricing, MCP support, and which tools an agent can sign up for. Free.