Pay any API in USDC.
One line of code. Open source. Self-host or hosted. Built on the x402 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.
Settle a freelance job
Milestone-based payouts to a contractor agent fronting a human worker, with on-chain receipts both sides can audit.
Tip a creator
Build agents that tip humans (or other agents) for useful work — a podcast, a dataset, a bug report.
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.
Reconcile in the dashboard
Every settlement is mirrored into OpenUSDC Cloud with full traceability, exportable CSV, and webhook fanout to your data warehouse.
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
Charge per request. Skip the sign-up flow.
- One line of middleware to start accepting USDC on any HTTP route
- Dynamic per-route pricing — flat, tiered, or function-of-payload
- Reconciliation, alerts, and CSV/Parquet exports out of the box
- Custom JWT claims forwarded from the payment receipt into your handler
Free to self-host. Pay for the parts you use.
The gateway is and always will be MIT-licensed. Cloud pricing scales with reconciled payments — not seats, not API requests.
Open Source
Self-host the gateway forever, on any infra.
Free
- MIT-licensed core
- All chains, all SDKs
- Community support
Cloud Starter
Hosted dashboard, webhooks, reconciliation, alerts.
$49 / mo
- 10,000 reconciled payments / mo
- 30-day retention
- Email support
- Webhook fanout & retries
Enterprise
For teams operating critical agent infrastructure.
Custom
- SSO + SCIM
- Custom retention & residency
- Uptime SLA, 24/7 on-call
- Dedicated solutions engineer
Questions builders ask.
Don't see yours? Open a thread in our community Discord or email hello@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 gateway is open. The cloud is hosted. The first 10,000 payments are on us.