# Dune Execution Results Fetcher

> Dune Execution Results Fetcher is a paid API for AI agents from Dune at api.dune.com, $1024/call, status unknown (last checked 2026-10-12).

Fetches JSON results for a previously executed Dune SQL query using its execution ID

## Facts

- Endpoint: GET https://api.dune.com/api/v1/execution/:execution_id/results?utm_source=zero.xyz
- Price: $1024/call
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Provider: Dune
- Docs: https://docs.dune.com/api-reference/agents/mpp
- Website: https://dune.com
- Tags: sql, analytics, blockchain, data, query
- Canonical page: https://www.zero.xyz/c/dune-results-24cf1622
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GD6N2uIysY-j6lyyRDT3R

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability dune-results-24cf1622
```

Example prompt: Can you get me the JSON results for Dune execution ID 01JFAK29XYZQ7 — I want to see the on-chain data that query returned.

## When to prefer this

Use this endpoint after triggering a Dune query execution (via the Execute endpoint) to retrieve the results as structured JSON. Prefer this over the CSV endpoint when you need machine-readable, programmatically accessible data for further processing or analysis. Ideal for real-time dashboards, automated pipelines, or any agent workflow that needs to ingest on-chain blockchain analytics data in JSON format.

## Known failure modes

- Execution ID not found or invalid — 404 error
- Query execution still running — results not yet available
- Execution timed out or failed — no results to return
- Authentication error — missing or invalid API key
- Rate limit exceeded — too many requests

## How this service works

Fetch JSON results for an execution

## Output

Returns a JSON object containing the results of the specified Dune query execution, including rows of on-chain data such as transaction counts, wallet addresses, token flows, DeFi positions, NFT activity, or other blockchain metrics depending on the underlying SQL query.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dune-results-24cf1622/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.dune.com](https://www.zero.xyz/host/api.dune.com/llms.txt)
