← All endpoints
agent402.tools api onchain-sql
https://agent402.tools/api/onchain-sql
answers 402
Run read-only SQL against Coinbase's indexed, DECODED blockchain data - base.events (decoded logs with parameters), base.transactions, base.blocks, base.decoded_user_operations, base.transaction_attributions (builder codes), plus solana.instructions and hyperevm.events. ClickHouse-dialect SELECTs, server-side grammar validation, up to 50k rows / 30s / 12 joins. Ask Base anything - token flows, eve
We sent a real
POST request to this endpoint and it
answered 402 with payment requirements we could parse.
- Price
- $0.02
- Network
- base
- Pay to
- 0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0
- Spec dialect
- v2 (declares x402Version 2)
- Transport
- PAYMENT-REQUIRED header
- HTTP method
- POST
- Response latency
- 112 ms
- Payment options
- 13 usable of 13
- Last checked
- 2026-09-06T01:14:37.788Z (2h ago)
- Category
- finance-crypto
Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fagent402.tools%2Fapi%2Fonchain-sql"