Skip to main content
Access Dune’s onchain data programmatically via REST endpoints. The Data API provides programmatic access to execute queries, manage data, track usage, and integrate Dune’s onchain analytics into your applications, workflows, and environments.
For complete endpoint documentation, authentication guides, and code examples, visit the API Reference tab.

Available Endpoints

Executions and Results

Execute saved queries and retrieve results in various formats

Query Management

Create, update, and manage your Dune queries programmatically

Data Uploads

Upload and manage custom datasets as queryable tables

Materialized Views

Create and refresh materialized views for improved performance

Pipelines

Execute and monitor query pipelines with coordinated workflows

Account Management

Monitor API usage and credit consumption

Full API Reference

API Reference Documentation

Complete endpoint documentation with authentication, rate limits, SDKs, and detailed code examples →