APIs & Connectors | Dune

New balances data collection

Programmatic access to crypto's most trusted data

Access Dune's powerful data engine directly in your stack via API.

Any onchain data, in any environment

Query programmatically

Bring onchain data programmatically into your workflow.

Connect to your tools

Work directly from your favorite BI tool like HEX, Metabase, Looker++

Create and transform data
Run dbt directly on DuneSQL to manage data pipelines in your own namespace.

Integrate onchain data into any workflow

MCP Ready

Connect Dune's analytics to AI agents and automation with natural language access via the Model Control Protocol.

Sync REST API

Convert any query into a live API endpoint for seamless data integration.

Serverless Querying

Scale cross-chain analytics instantly with zero infrastructure management.

Onchain data

Access 1+ PB of indexed multi-chain data, enriched with your own for unmatched intelligence.

Use APIs & Connectors for

Programmatic Analytics

Drive data-driven decisions and automate workflows with analytics built directly on onchain data.

Protocol Engagement Data

Track how users interact with protocols to measure adoption, retention, and growth.

Continuous Product Monitoring

Get up-to-date visibility into usage, performance, and onchain behavior.

Powering Data Products

Fuel dashboards, apps, and insights directly with programmable onchain data.

Automated Alerts

Get notified when your queries detect changes in critical metrics, anomalies, or market shifts.

Onchain Accounting

Simplify financial tracking and reporting with verifiable, transparent blockchain data.

Feedback from Users

“The Dune API answers every question in our dev channel and replaced 130+ random APIs our team was using for various needs”
— Danning Sui, Data Scientist at Flashbots

“Dune API makes integration and automation of onchain data infrastructure almost effortless! An excellent interface for analytics, accounting, monitoring and so much more...”
— Ben Smith, CoW Protocol

“Dune's API has helped us to quickly iterate on discovering and analyzing onchain data sets. It makes the access convenient and complements our technical infrastructure.”
— The Moonblock team

Frequently Asked Questions

  1. What is the Dune Data API and who is it for?
  2. What is the dbt Connector and who is it for?
  3. How do I turn a Dune query into an API endpoint?
  4. What kind of data can I access with the API?
  5. Can I use the API for scheduled monitoring and alerts?
  6. How does programmatic analytics work with Dune?
  7. What programming languages or tools can I use with the API?
  8. How is usage billed?

Start building with powerful analytics

Looking to use Dune for your company?