API live

Developer API

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

Base URL: https://cloudcoin-api.adamfrankwoodward.workers.dev

GET /v1/health

Liveness probe. No payment.

GET /v1/status

Network, CLOUD address, price, facilitator config.

GET /v1/docs

Machine-readable OpenAPI-style JSON.

Free preview

POST /v1/inference/preview

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

Paid inference (x402)

POST /v1/inference0.01 CLOUD on Base

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

Returns HTTP 402 with PAYMENT-REQUIRED. Retry with PAYMENT-SIGNATURE after signing via x402 client SDK.

API base URL: loading…
Open /v1/docs ↗ · Status ↗ · Health ↗

Payment details

TokenCLOUD
Contract0xBC2Dcf79811B6B466632e19bb3fEcF407e29E66D
NetworkBase mainnet (eip155:8453)
Price0.01 CLOUD (10000000000000000 atomic units)
Pay to0x615346F97D2d690ce473d598789E0879e867fFA3
SettlementRequires CDP facilitator keys on the Worker for verify/settle (setup guide ↗)

Agent payment flow

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

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

3. POST /v1/inference + PAYMENT-SIGNATURE header
   → 200 JSON inference response + PAYMENT-RESPONSE header