Access via x402 Payments
Pay‑per‑query access to Solana transaction & token activity using the x402 protocol.
Endpoint
Send an HTTP
POSTrequest to the x402 endpoint — https://pay402.onchaindivers.com/Pricing: displayed in the
402 Payment Requiredresponse
How it works?
You send an SQL query to the endpoint.
The service checks whether it has already been paid for.
If not, it responds with a payment request showing the amount due.
After the payment is completed and verified, the query runs automatically and you receive the results in JSON format.
Who is it for?
This update is especially useful for AI agents and automated applications that can perform data queries and handle payments programmatically via x402 — enabling fully autonomous interaction with the Indexer.
About x402 by Coinbase
x402 is an open payment protocol designed for pay‑per‑use access to APIs and online services. It allows requests to include automatic payment handling — replacing traditional API keys or subscriptions with direct crypto payments. You can read more about the protocol here: https://www.coinbase.com/developer-platform/products/x402
Last updated