Prepaid credit
5 USDC on Base buys 110 calls. One payment. No per-call payment. Every paid route of this service accepts it.
How it works
- Send 5 USDC on Base to
0x6f60659390aDA1D02B14024d8c9d0C889f2F89c3. - Report the transaction hash below (or
POST /credit/claimwith JSON{"tx":"0x…"}). The Worker reads the transfer on Base and returns yourcredit_id(cr_…). - Send
X-CREDIT: cr_…on any paid route. The call is charged to the credit, returns200, and needs no x402 payment.
Use it
curl -sS -X POST https://x402-catalog-history.ai-business-surface.workers.dev/credit/claim \
-H 'content-type: application/json' \
-d '{"tx":"0x"}'
# {"credit_id":"cr_9f2c…","status":"confirmed","remaining_usd":"5","calls_included":110}
curl -sS 'https://x402-catalog-history.ai-business-surface.workers.dev/check?url=https://example.com' \
-H 'X-CREDIT: cr_9f2c…'
# 200, the full /check answer, no x402 payment
Each call is charged at that route's own price, with a 0.05 USDC minimum per call. The balance is USDC, so a 5 pack covers 110 calls at the minimum. Check the balance any time at GET /credit?id=cr_…&format=json.
Routes this credit covers
/check,/markdown,/compat-check,/contract,/gas,/price,/reality,/random,/watch,/watchlist,/history,/changes,/changes/bundle,/compat,/guide,/pack,/pack/diff— every paid route on this Worker.