A wallet for
every agent.
USDC payments in one line of code. Self-custodial, multi-chain, open standard.
$ curl https://api.openusdc.ai/v1/echo \ -H "Accept: text/x-402-payment" \ -d '{"prompt":"hello"}' 402 Payment RequiredX-USDC-Amount: 0.0042X-USDC-Chain: baseX-USDC-PayTo: 0xA1f3…7C2d ✓ Settled in 1.2s · receipt: ousdc_3f9a…The things your agents can buy when money is an API call.
A short list of what agents already do in production with Openusdc. Bring your own use case — the gateway doesn't care what the resource is, only that it's priced.
Call a paid LLM API
Your agent hits a metered inference endpoint and pays per token, with no API key issued in advance.
Scrape rate-limited data
Pay 0.001 USDC per request to a content publisher's x402 endpoint and skip the captcha gauntlet entirely.
Pay another agent
Agent-to-agent settlement with cryptographic receipts. No invoices, no chargebacks, no Stripe Connect.
Buy a domain
Your shopping agent purchases the .com it just brainstormed for you, settles in stablecoin, hands you the keys.
What you stop building when payments are a protocol.
Agents shouldn't carry static API keys, fill in sign-up forms, or wait on Net-30 invoicing to be useful. Move the floor.
Three steps from idea to first settled payment.
Drop in the gateway
One line of middleware turns any HTTP endpoint into a metered, USDC-priced resource. Express, Fastify, FastAPI, Go, Rust — all native.
Agents pay automatically
When the agent sees a 402, the SDK signs a payment, retries, and includes a receipt. Your code never sees the wallet plumbing.
See it on-chain
Every payment is a normal on-chain USDC transfer. Verify in any block explorer — no portal required.
Give your agent a wallet, not an API key drawer.
- Drop-in middleware for Node, Python, Go, Rust, Deno, and Cloudflare Workers
- Policy-bound agent wallets with spend caps, allow-lists, and revocation
- Signed payment receipts and idempotency keys on every settlement
- Local sandbox with deterministic chain simulator for tests
Pay as your agents pay.
No seats. No minimums. One simple rate per settled payment.
- Unlimited agents per workspace
- All supported chains
- First 100 payments free each month
High-volume? Talk to us — rates drop with sustained throughput.
Questions builders ask.
Don't see yours? Open a thread in our community Discord or email support@openusdc.ai.
x402 is the HTTP 402 Payment Required status code, originally reserved in the HTTP spec and recently revived as a payment standard by Coinbase and a community of contributors. It lets any server quote a price for a resource and any client (especially an AI agent) pay that price programmatically in seconds, without API keys or contracts. Openusdc is the open-source reference gateway and SDK suite for x402 over USDC.
Give your agents
money.
The first 100 payments per workspace per month are free. Get started in minutes.