SQL over archived blocks
Read-only SQL over archived blocks, transactions and instructions, with curated query templates and the archive’s coverage.
- Price
- $0.00155 – $0.001625 per request
- Pay with
- Network
- Solana mainnet
- Calls
- 3 endpoints
Paying by the request needs no account. A plan’s key needs one.
Ways to pay
Pay per request
$0.00155 – $0.001625a request, in USDC on Solana
- Send the request to Pipe Market’s gateway. It answers
402 Payment Requiredwith the price, the USDC mint and the wallet to pay. - Your x402 client signs a USDC transfer for that amount.
- It sends the request again with the payment in the
PAYMENT-SIGNATUREheader. The gateway settles it on Solana mainnet and returns the answer.
No account, no API key and no SOL: Pipe pays the network fee. The price includes $0.0015 for settling the payment. Paying by the request is switched off right now; a plan’s key reaches this service.
Set up an agent wallet30-day plan
Or pay once for 30 days: a key from any of these plans reaches it. Plans are prepaid with Pipe credit.
- Solana RPC Pay-As-You-Go$20 / 30 days
- Solana RPC Builder$39 / 30 days
- Solana RPC Growth$119 / 30 days
- Solana RPC Scale$279 / 30 days
Buy a plan here
The plans that include SQL over archived blocks, paid from your Pipe credit. Nothing is charged until you confirm.
Sign in above to buy a plan that includes SQL over archived blocks here.
Get started
A first request
Paid by the request, with the script from the agent setup page. It shows the price and asks before it pays.
node pay.mjs \
"https://pipe.network/api/market/v1/call/v2/sql/templates"Or straight to the service, with a key from an RPC plan.
curl -fsS -H "Authorization: Bearer $PIPE_API_KEY" \
"https://solana-rpc.pipedev.network/v2/sql/templates"A prompt for your agent
Paste it into your agent’s chat; it loads the Pipe Market skill and this service’s details.
Use the Pipe Market skill: https://pipe.network/market/SKILL.md
Call SQL over archived blocks from Pipe Network on Solana mainnet.
Details: https://pipe.network/api/market/v1/services/sql-and-replay
Endpoint: GET https://pipe.network/api/market/v1/call/v2/sql/templates
Payment: x402, $0.00155 – $0.001625 per request in USDC on Solana, taken by Pipe Market's gateway. A key from a Pipe RPC plan works too.
Confirm the maximum USDC spend with me before paying for anything.Endpoints 3
Served from https://solana-rpc.pipedev.network with a key. Paid by the request at https://pipe.network/api/market/v1/call, on the same path. Each price is for one request and includes the settlement fee; the services’ own quotes were read on November 25, 2026.
| Endpoint | What it does | Per request |
|---|---|---|
GET/v2/replay/laserstream/status | LaserStream historical slot catch-up and archive status | $0.00155 |
POST/v2/sql | Execute read-only DataFusion SQL over archived blocks, transactions, and instructions | $0.001625 |
GET/v2/sql/templates | List curated DataFusion SQL analytics query templates | $0.00155 |
A value in angle brackets is part of the path and is required. The service does not describe these endpoints’ query parameters or JSON bodies in a form software can read. Anything not shown is checked when you call: a wrong or missing parameter is answered 400 with the reason, and a request that is refused is not charged.
Good to know
- Tables: blocks, transactions and instructions
- Read-only: queries cannot change anything
Questions agents ask
Does SQL over archived blocks need an API key?
Not when you pay by the request: x402 needs no account and no key. The other way to pay is an RPC plan, which gives you a key.
What does it settle in?
USDC on Solana mainnet, paid by the request or as prepaid Pipe credit.
What if a payment is not accepted?
The gateway answers 402 again and says why in error. A payment that is not accepted is never sent to the chain, so nothing is taken. A request that reads is charged only when the service answers it.
Does the paying wallet need SOL?
No. It needs USDC only. The gateway pays the Solana network fee for every payment and covers it with the settlement fee included in the price.
How fresh is the data?
It comes from Pipe’s own execution of Solana mainnet, with no fallback to another provider. If the node is catching up, a request says so with an error rather than answering from stale state.
More in Solana RPC
Enhanced transactions and webhooks
Parsed, readable transaction history for an address or a batch of signatures, and webhooks that deliver matching transactions as they land.
$0.00155per request
Parsed events
Parsed events for transactions and address history, from Pipe’s own retained execution at confirmed or finalized commitment.
$0.001525per request
Solana JSON-RPC
Mainnet JSON-RPC over HTTPS: the standard Solana methods, the Digital Asset Standard API, ZK compression, Jito bundles and Pipe’s own trading and analytics methods, from one endpoint.
$0.001525per request
Fast transaction sending
Low-latency transaction submission and Jito bundles, with tip accounts, live tip floors and bundle status.
$0.001525 – $0.00175per request