Explore the Full Dune Analytics API Docs
Dive into the official documentation for the Dune Analytics API to see all available endpoints, guides, and references.
When to Use Which API
Use Sim APIs if you need low-latency app data (balances, activity, NFTs) via simple REST endpoints so your UI can react to onchain events without writing SQL. Use the Dune Analytics API if you need custom SQL for analysis, dashboards, BI/warehousing, or exporting large historical datasets.Core Differences
| Aspect | Sim APIs | Dune Analytics API |
|---|---|---|
| Data access & flexibility | Ready-made realtime REST endpoints optimized for apps. | Run custom SQL across Dune’s dataset. Connect with the DuneSQL Trino connector. |
| Performance & latency | Very low latency for realtime experiences. | Built for analytical workloads. Queries may take seconds to minutes. |
| Primary use cases | Wallets, activity feeds, DeFi dashboards, onchain agents. | Market research and internal dashboards. BI integration such as PowerBI and Metabase, plus CSV exports. |
What You Get with the Dune Analytics API
The Dune Analytics API offers a unique set of capabilities tailored for deep data analysis and custom queries. Here are some of the powerful features you can leverage that differ from Sim APIs.Execute Custom SQL Queries
Programmatically run your Dune queries. Fetch exactly the data you need in your preferred format.
BI & Data Tool Integration
Connect through the DuneSQL Trino connector. Use tools such as PowerBI, Metabase, DBeaver, and notebooks.
Webhooks
Push query results to your endpoints on a custom schedule using webhooks.
Upload Your Own Data
Upload your datasets to Dune and join them with onchain data in SQL. Enrich analyses with your internal or off-chain information.