← Back to directory

Run the same read-only SQL as onchain-sql (the same tables, dialect and rules) o...

https://agent402.tools/api/onchain-sql-week

Overview

Run the same read-only SQL as onchain-sql (the same tables, dialect and rules) over a week in one call, on every payment rail. A plain row select on solana.instructions whose whole block_time range runs past the query service's time window is read one UTC day at a time, up to 7 days, and the rows.

Protocol x402 (POST)
Price $0.10
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider Onchain SQL over a week
Source bazaar
Indexed 2026-11-24 02:08:52

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "sql": "<215 characters; the full example is in /openapi.json>" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "complete": true, "matched": 1, "maxRows": 1000, "returned": 1, "rowCount": 1, "rows": [ { "block_slot": 380012001, "block_time": "2026-11-15T00:00:01Z", "executing_account": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" } ], "truncated": false, "windowed": { "by": "day", "days": 8, "daysRead": 8, "from": "2026-11-15T12:00:00.000Z", "order": "asc", "to": "2026-11-22T12:00:00.000Z" } }, "type": "json" }