x402 v2 · USDC on Base mainnet
Pay-per-call APIs that AI agents can actually pay for.
No signup. No API keys. Agents pay in USDC on Base via the x402 protocol — the payment is the auth.
Checking live API status…
curl -X POST https://apisphere.us.ci/api/v1/crypto-price \
-H "Content-Type: application/json" \
-d '{"symbols": ["btc", "eth"]}'
# HTTP/2 402 Payment Required
# x-payment-address: 0xcBA17ABd...
# x-payment-amount: 0.001 USDC
# x-payment-network: base
# → pay in USDC on Base, retry with X-PAYMENT, get dataMachine-to-machine payments for autonomous AI agents.
Agents can't do any of that. They need to pay for what they use — programmatically, per call.
The old way
- Human signup and KYC
- API key management and rotation
- Billing dashboards and invoices
- Rate-limit negotiation over email
The x402 way
- No signup — the payment is the auth
- No keys — every call is self-authorizing
- Per-call settlement in USDC, no invoices
- Programmatic 402 challenge → pay → retry
How x402 payments work on Base.
- Agent sends a requestAny HTTP client works — curl, fetch, MCP.
- Server replies 402A machine-readable challenge: price, payee, network.
- Agent pays USDC on BaseSettles in ~2s for fractions of a cent.
- Agent retries with X-PAYMENTThe facilitator verifies the proof on-chain.
- Agent gets the dataSame latency as a normal API call.
API endpoints priced per call in USDC on Base.
Browse, search and filter the full catalog — 8 live endpoints plus 3 coming soon. Every call is priced up front, settled programmatically.
Built for agents, not humans.
- MCP server (2 tools)
- llms.txt for LLM crawlers
- ai.txt + ai-bot.txt for AI crawlers
- agents.json for agent frameworks
- openapi.json for tooling
- Verified on 402index
Frequently asked questions.
Do I need an account or API key?
No. Authentication is the payment itself. Your wallet signature on the X-PAYMENT header proves you paid, and the facilitator verifies it on Base.
How much does a call cost?
Each endpoint shows its own fixed price, from $0.0005 (timestamp, UUID) to $0.001 (crypto prices, geocoding) per call, settled in USDC on Base mainnet.
What is x402?
An open HTTP-native payment protocol (a revival of HTTP 402 "Payment Required"). A server returns a 402 challenge; the client pays on-chain and retries with an X-PAYMENT header. Learn more at x402.org.
Can AI agents call this without human help?
Yes — that is the point. There is an MCP server, an OpenAPI spec, llms.txt, agents.json and an ai.txt crawl policy, so agents can discover, price and pay for endpoints end-to-end.
Which network settles payments?
Base mainnet in USDC. Testnet (Base Sepolia) is supported for development via the X402_NETWORK environment variable.
Start calling a Base network USDC API in 30 seconds.
curl -X POST https://apisphere.us.ci/api/v1/crypto-price \
-d '{"symbols": ["btc"]}'