x402-gated inference on Base. Agents pay 0.01 CLOUD per request — no API keys, no accounts, no billing dashboards.
Base URL: loading…
| Method · Path | Auth | Description |
|---|---|---|
| GET /v1/health | free | Liveness probe. |
| GET /v1/status | free | Network, CLOUD address, price, facilitator config. |
| GET /v1/docs | free | Machine-readable API docs (JSON). |
| POST /v1/inference/preview | free | Demo inference — no payment, no settlement. |
| POST /v1/inference | x402 · 0.01 CLOUD | Paid inference. Returns 402 until signed payment is attached. |
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.
curl on the right.curl -X POST {API}/v1/inference/preview \
-H "Content-Type: application/json" \
-d '{"prompt":"Hello, CloudCoin."}'
→ 200 OK · demo inference JSON
curl -i -X POST {API}/v1/inference \
-H "Content-Type: application/json" \
-d '{"prompt":"Hello, CloudCoin."}'
→ 402 Payment Required · retry with PAYMENT-SIGNATURE
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)
| Token | CLOUD |
|---|---|
| Contract | 0xBC2Dcf79811B6B466632e19bb3fEcF407e29E66D |
| Network | Base mainnet · eip155:8453 |
| Price | 0.01 CLOUD (10,000,000,000,000,000 atomic units) |
| Pay to | 0x615346F97D2d690ce473d598789E0879e867fFA3 |
| Settlement | CDP facilitator verify/settle — requires CDP_API_KEY_ID + CDP_API_KEY_SECRET on the Worker (setup ↗) |