Dune Analytics website screenshot

Dune Analytics

Dune is a SQL-based crowdsourced blockchain analytics platform. The Dune API exposes Query Execution endpoints (run/poll/results), pre-built Trends endpoints, EVM Transactions API, Echo (real-time multichain wallet data via Sim), a Trino warehouse connector, and dbt integration. Pricing is credit-based: query executions, data exports, and writes consume credits against a plan-tier monthly allowance.

3 APIs 0 Features
Web3AnalyticsSQLDashboardsBlockchainOnchainMulti-chain

APIs

Dune Query API

REST endpoints for executing pre-saved Dune SQL queries, polling execution status, and paginating results. Powers programmatic access to community and team-built analytics. Auth...

Dune Trends API

Curated, fixed endpoints over Dune's most popular trend datasets without writing SQL.

Dune Echo (Sim) Multichain API

Real-time multichain wallet, token, and transaction data across EVM and SVM chains via Sim by Dune.

Collections

Pricing Plans

Rate Limits

Dune Analytics Rate Limits

4 limits

RATE LIMITS

FinOps

Resources

🔗
LinkedIn
LinkedIn
🌐
Portal
Portal
🔗
Documentation
Documentation
💰
Pricing
Pricing
👥
GitHub
GitHub
🔗
Plans
Plans
🔗
RateLimits
RateLimits
🔗
FinOps
FinOps
🔗
LlmsText
LlmsText

Sources

apis.yml Raw ↑
opencollection: 1.0.0
info:
  name: Dune Analytics Query API
  version: 1.0.0
request:
  auth:
    type: apikey
    key: X-Dune-API-Key
    value: '{{X-Dune-API-Key}}'
    placement: header
items:
- info:
    name: Execute a saved Dune query
    type: http
  http:
    method: POST
    url: https://api.dune.com/api/v1/query/:query_id/execute
    params:
    - name: query_id
      value: ''
      type: path
      description: Numeric ID of the saved Dune query.
    body:
      type: json
      data: '{}'
  docs: Execute a saved Dune query
- info:
    name: Get execution status
    type: http
  http:
    method: GET
    url: https://api.dune.com/api/v1/execution/:execution_id/status
    params:
    - name: execution_id
      value: ''
      type: path
      description: Execution identifier returned by /execute.
  docs: Get execution status
- info:
    name: Get execution results
    type: http
  http:
    method: GET
    url: https://api.dune.com/api/v1/execution/:execution_id/results
    params:
    - name: execution_id
      value: ''
      type: path
      description: Execution identifier returned by /execute.
    - name: limit
      value: ''
      type: query
      description: Page size for paginated results.
    - name: offset
      value: ''
      type: query
      description: Row offset for paginated results.
  docs: Get execution results
- info:
    name: Cancel an in-flight execution
    type: http
  http:
    method: POST
    url: https://api.dune.com/api/v1/execution/:execution_id/cancel
    params:
    - name: execution_id
      value: ''
      type: path
      description: Execution identifier returned by /execute.
  docs: Cancel an in-flight execution
- info:
    name: Get latest results for a saved query
    type: http
  http:
    method: GET
    url: https://api.dune.com/api/v1/query/:query_id/results
    params:
    - name: query_id
      value: ''
      type: path
      description: Numeric ID of the saved Dune query.
    - name: limit
      value: ''
      type: query
    - name: offset
      value: ''
      type: query
  docs: Get latest results for a saved query
bundled: true