Fetch results of a completed SQL query run from Allium's blockchain data explorer.
What it does
This MPP endpoint retrieves the results of a previously submitted query run on Allium's blockchain data explorer. Allium indexes over 150 chains (EVM, Solana, Bitcoin, and more) and provides enterprise-grade blockchain data including token prices, wallet balances, transactions, and PnL metrics. The endpoint is parameterized by a `run_id` path variable, meaning you first submit a SQL query via a separate endpoint, then poll or fetch results here once the run completes.
Allium's AgentHub platform supports both x402 machine-to-machine payments (USDC on Base) and traditional API key authentication. The broader Allium platform powers data infrastructure for teams like Phantom, Uniswap, and Coinbase. However, during probing this specific endpoint returned 404 on GET and 405 on HEAD — it did not return the expected 402 MPP payment challenge. This may be because the endpoint requires a valid `run_id` path parameter (the URL contains `:run_id` as a placeholder), and without one the server returns 404. The endpoint is likely functional when called with a real run ID, but its liveness could not be confirmed.
No OpenAPI schema, detailed documentation, or pricing information was found for this specific endpoint. The Allium docs page at agents.allium.so/docs returned 404. For fuller documentation, users should consult https://docs.allium.so/ or the GitHub skills repository at https://github.com/allium-labs/skills.
Capabilities
Use cases
- —Retrieving SQL query results for onchain analytics across 150+ blockchains
- —Fetching completed query outputs for wallet balance or token price analysis
- —Building AI agent workflows that submit SQL queries and consume structured blockchain data
- —Polling for completed query run results in automated data pipelines
Fit
Best for
- —AI agents needing structured blockchain data from SQL queries
- —Multi-chain onchain analytics workflows
- —Developers integrating blockchain data into automated pipelines
Not for
- —Submitting new SQL queries (this endpoint only fetches results of existing runs)
- —Real-time streaming blockchain event subscriptions
- —Non-blockchain data use cases
Quick start
# After submitting a query and obtaining a run_id:
curl -X GET "https://agents.allium.so/api/v1/explorer/query-runs/{run_id}/results" \
-H "Authorization: Bearer YOUR_API_KEY"Endpoint
Quality
The endpoint did not return a 402 MPP challenge during probing (likely due to the parameterized :run_id path), no OpenAPI schema or detailed docs were found, and the docs page returned 404. The listing is largely inferred from the landing page description and the endpoint URL pattern. Effectively a stub with significant uncertainty.
Warnings
- —Endpoint did not return 402 MPP challenge on probe — returned 404 (GET) and 405 (HEAD), likely because :run_id placeholder was not substituted with a valid ID
- —No OpenAPI schema or endpoint-specific documentation available
- —Allium docs page at agents.allium.so/docs returned 404; external docs at docs.allium.so may have more detail
- —Pricing details for this specific endpoint are unknown — the landing page mentions USDC on Base via x402 but no amounts were captured
- —Response schema is unknown — no example responses available
Citations
- —Allium indexes 150+ chains including EVM, Solana, and Bitcoinhttps://agents.allium.so
- —AgentHub supports x402 payments in USDC on Base or traditional API key authenticationhttps://agents.allium.so
- —Allium powers data infrastructure for Phantom, Uniswap, Coinbasehttps://agents.allium.so
- —Skills can be installed via npx from GitHub repositoryhttps://agents.allium.so