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…

Pay 0.001 USDC, then retry
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 data
8live endpoints
3coming soon
$0.0005per call, from
0signups, keys or dashboards

Machine-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.

  1. Agent sends a requestAny HTTP client works — curl, fetch, MCP.
  2. Server replies 402A machine-readable challenge: price, payee, network.
  3. Agent pays USDC on BaseSettles in ~2s for fractions of a cent.
  4. Agent retries with X-PAYMENTThe facilitator verifies the proof on-chain.
  5. 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.

11 of 11 shown

/api/v1/crypto-price$0.001 / callReal-time cryptocurrency prices in USD with 24h change, for up to 10 symbols per call.Data/api/v1/geocode$0.001 / callTurns a place name or address into latitude/longitude coordinates and a formatted display name.Location/api/v1/timestamp$0.0005 / callReturns current server time in multiple formats (ISO, Unix, Unix milliseconds, RFC 2822, human-readable). Essential for agents running in sandboxed environments without reliable clock access.Utilities/api/v1/uuid$0.0005 / callGenerates cryptographically secure UUIDs (v4 random, v7 time-ordered). Supports batch generation up to 100 UUIDs per call. Useful for transaction IDs, session tracking, and request correlation.Utilities/api/v1/diesel-price$0.001 / callWeekly on-highway diesel retail prices by country, normalized to USD per gallon. US data from EIA; 120+ countries via OpenVan.camp. Essential for logistics-cost agents and biodiesel spread analysis.Energy/api/v1/web-search$0.005 / callWeb search results for a query, ready for agent consumption.Search/api/v1/translate$0.002 / callTranslates text between languages.Text & AI/api/v1/summarize$0.01 / callSummarizes long text into a concise summary.Text & AI/api/v1/pdf-to-md—Converts a PDF document into clean, structured Markdown.DocumentsSoon/api/v1/ocr—Extracts text from images and scanned documents via OCR.DocumentsSoon/api/v1/image-gen—Generates an image from a text prompt.MediaSoon

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.

First paid call
curl -X POST https://apisphere.us.ci/api/v1/crypto-price \
  -d '{"symbols": ["btc"]}'