Checking API… x402 · Base mainnet
Developer API

Pay-per-inference,
HTTP-native.

x402-gated inference on Base. Agents pay 0.01 CLOUD per request — no API keys, no accounts, no billing dashboards.

Base URL: loading…

Endpoints

Five routes. One payment.

Method · PathAuthDescription
GET /v1/healthfreeLiveness probe.
GET /v1/statusfreeNetwork, CLOUD address, price, facilitator config.
GET /v1/docsfreeMachine-readable API docs (JSON).
POST /v1/inference/previewfreeDemo inference — no payment, no settlement.
POST /v1/inferencex402 · 0.01 CLOUDPaid inference. Returns 402 until signed payment is attached.
Try it now

Run the free preview.

Hit the live Worker from your browser. No wallet, no signature — just a taste of the response shape. The paid route returns 402 the same way until you attach a signed CLOUD payment.

Free preview · no payment
Want the real 402? Run the paid curl on the right.
browser — live request
// click "Run preview" to fire a live request // → POST /v1/inference/preview
cURL

Copy. Paste. Pay.

Free preview

curl -X POST {API}/v1/inference/preview \
  -H "Content-Type: application/json" \
  -d '{"prompt":"Hello, CloudCoin."}'

→ 200 OK · demo inference JSON

Paid (x402)

curl -i -X POST {API}/v1/inference \
  -H "Content-Type: application/json" \
  -d '{"prompt":"Hello, CloudCoin."}'

402 Payment Required · retry with PAYMENT-SIGNATURE

Agent payment flow

1. POST /v1/inference
   → 402 Payment Required + PAYMENT-REQUIRED header

2. Agent signs 0.01 CLOUD payment (x402 / Permit2 on Base)

3. POST /v1/inference + PAYMENT-SIGNATURE header
   → 200 JSON inference + PAYMENT-RESPONSE header (settlement receipt)
Payment config

On-chain payment details.

TokenCLOUD
Contract0xBC2Dcf79811B6B466632e19bb3fEcF407e29E66D
NetworkBase mainnet · eip155:8453
Price0.01 CLOUD (10,000,000,000,000,000 atomic units)
Pay to0x615346F97D2d690ce473d598789E0879e867fFA3
SettlementCDP facilitator verify/settle — requires CDP_API_KEY_ID + CDP_API_KEY_SECRET on the Worker (setup ↗)