Dune API 2.0 — Empowering Analysts to Build Like Developers
Dune Analytics expands its platform with a suite of API tools that let data‑focused users run, manage, and automate blockchain queries programmatically.
Overview
In a blog post titled “Dune API 2.0: Turning Analysts into Developers,” Dune Analytics announced a major upgrade to its public API. Over the past year the company rolled out five core capabilities that together enable analysts to treat Dune’s query engine as a full‑stack data service. The enhancements are positioned as the next step in lowering the barrier between traditional on‑chain analysis and software development, a move that could reshape data pipelines across the decentralized finance (DeFi) ecosystem.
New API Functionality Launched in 2023
| Feature | What It Does | How It Helps Users |
|---|---|---|
| Execution & Results | Programmatic submission of queries and retrieval of their results. | Allows automated runs and bulk downloads without manual dashboard interaction. |
| Query Management | Endpoints for creating, updating, and deleting queries. | Facilitates version control and integration of Dune queries into CI/CD workflows. |
| Table Management | Upload of CSV files (up to 200 MB) as queryable tables, with optional public or private scope. | Gives analysts the ability to enrich on‑chain data with off‑chain datasets, such as price feeds or project‑specific metadata. |
| Webhooks | Scheduling of query executions and callbacks when runs complete. | Enables event‑driven architectures, for example feeding fresh results into dashboards or alerting systems. |
| Community‑Driven Dashboards | Public dashboards that showcase DEX order‑flow and crypto grant analytics, built atop the new API endpoints. | Demonstrates practical use‑cases and provides reference implementations for the broader community. |
These modules are documented in Dune’s open‑source API reference and can be combined to construct end‑to‑end data pipelines that run entirely outside the Dune UI.
Community Showcases
Two publicly shared projects illustrate the new capabilities:
-
DEX Metrics – A dashboard that aggregates order‑flow information from Flashbots and market‑share data from a Telegram‑based crypto bot. The repository contains the queries and scripts used to pull the data via the API, highlighting how analysts can build production‑grade analytics without writing custom back‑end code.
- Crypto Grants Analysis – An effort that consolidates grant data from multiple Layer‑2 networks (Arbitrum, Optimism, Polygon) and Gitcoin. The data set is stored as CSV files within a public repository, then ingested through Dune’s table‑upload endpoint and queried using version‑controlled scripts.
Both projects are fully open‑source, encouraging other analysts to fork or adapt the code for their own investigations.
Feedback Loop and Roadmap
Dune explicitly invites users to submit feature requests through its feedback portal, tagging suggestions with “Dune API.” The blog emphasizes that the current release is only the beginning, with additional enhancements slated for the near future. A visual teaser (“Exciting enhancements to our API are coming your way soon”) hints at further automation, richer data‑type support, or tighter integration with developer tools.
Analysis
1. Lowering the Technical Threshold
By exposing query execution, data ingestion, and webhook notifications via RESTful endpoints, Dune bridges the gap between data analysts—who may be comfortable with SQL‑like languages—and software engineers who require programmatic access. This democratizes the creation of sophisticated DeFi metrics, allowing non‑engineers to embed query results directly into dashboards, alerts, or even automated trading bots.
2. Enabling Reproducible Research
Version‑controlled queries and the ability to store custom tables encourage reproducibility, a long‑standing challenge in on‑chain research. Analysts can now publish a complete “research package” (queries, raw CSVs, and scripts) that can be rerun on demand, improving transparency for auditors and investors.
3. Driving New Business Models
The API’s webhook scheduling opens the door for subscription‑based data services. Teams can run heavy queries on a set schedule and push results to downstream consumers, potentially monetizing niche data feeds (e.g., real‑time DEX order‑flow or grant disbursement analytics).
4. Community‑Centric Innovation
The two featured dashboards demonstrate a community‑first approach. By linking to GitHub repositories and encouraging forks, Dune creates a collaborative ecosystem where improvements propagate quickly, reducing duplication of effort across the DeFi analytics space.
5. Competitive Positioning
Competing on‑chain analytics platforms (e.g., The Graph, Flipside Crypto) have offered APIs for some time, but Dune’s blend of raw query execution with custom table uploads is relatively unique. This could attract analysts who need a one‑stop shop for both on‑chain and off‑chain data without maintaining separate data warehouses.
Key Takeaways
- Comprehensive API suite: Dune now offers programmatic control over query execution, management, data ingestion, and result delivery.
- Analyst‑developer convergence: The new tools allow non‑engineers to build production‑grade pipelines, narrowing the skill gap in DeFi data work.
- Open‑source exemplars: Community dashboards like DEX Metrics and Crypto Grants Analysis serve as reference implementations and promote reproducibility.
- Feedback‑driven roadmap: Dune is actively seeking user input, signaling a commitment to evolving the API based on real‑world needs.
- Strategic impact: The API could catalyze new services, improve data transparency, and bolster Dune’s standing against other on‑chain analytics providers.
As DeFi continues to generate massive volumes of on‑chain data, tools that make that data instantly accessible and programmable will be a critical component of the ecosystem’s infrastructure. Dune’s API 2.0 appears poised to become a cornerstone for analysts seeking to turn raw blockchain information into actionable insights—without having to become full‑stack developers.
Source: https://dune.com/blog/dune-api-2-0-turning-analysts-into-developers


















