logo
Dune Docs
API Quick Start
  • English
  • ็ฎ€ไฝ“ไธญๆ–‡
Initializing search
    GitHub
    • Welcome
    • Getting started
    • App
    • Tables
    • Query
    • Spellbook
    • API
    • Reference
    GitHub
    • Welcome
    • Getting started
      • The Dune Explorer
      • Queries
      • Visualizations
      • Dashboards
      • Embeds
      • How to Create Query
    • App
      • Data Explorer Labels
      • Queries
        • The Data Explorer
        • The Query Window
        • Query Results
        • Parameters
        • Query Tips
      • Visualizations
        • Charts & Graphs
        • Other Visualizations
      • Decoding Contracts
      • Teams
        • Dune Guides
        • SQL Guides
        • Video Tutorials
      • Use Cases
        • Project Dashboards
        • Sector Dashboards
        • Ecosystem Dashboards
    • Tables
      • Available Chains
      • Raw Tables
        • Blocks
        • Event Logs
        • Traces
        • Transactions
        • Solana
          • Account activity
          • Blocks
          • Rewards
          • Transactions
          • Vote Transactions
        • Bitcoin
          • Blocks
          • Inputs
          • Outputs
          • Transactions
      • Decoded Tables
        • Call Tables
        • Event Logs
      • Spells
        • Spellbook Model Docs
        • dex.trades
        • ERC-20 balances
        • Labels
        • nft.trades
        • Prices
        • Token Standards
          • ERC-20
          • ERC-721
          • ERC-1155
      • Community Tables
        • Flashbots
          • arbitrages
          • liquidations
          • mev_summary
          • sandwiched swaps
          • sandwiches
        • Reservoir
          • ask events
          • asks
          • attribute keys
          • attributes
          • bid events
          • bids
          • collection floor ask events
          • collection top bid events
          • collections
          • sales
          • token attributes
          • token floor ask events
          • tokens
      • User Generated Tables
    • Query
      • Querying with DuneSQL
      • Data storage
      • DuneSQL migration
      • Syntax differences
    • Spellbook
      • Getting started
        • Prerequisites
        • Types of Spellbook Contribution
        • Data Modelling
        • Data Sources
        • Tests
        • Spells
        • Submissions
      • Contribution guidelines
        • Contributing Static Views
        • Contributing Spells
      • How to guides
        • How to cast a Spell
          • 1. ๐Ÿ’ป Do Some Prerequisites and Set Up Spellbook dbt
          • 2. ๐Ÿค” Decide on a Spell to Cast
          • 3. ๐Ÿ›ฃ๏ธ Set Up Your File Structure for SQL, Schema, and Source Files
          • 4. ๐Ÿ“™ Identify and Define Sources
          • 5. ๐Ÿงช Define Expectations with Schema and Tests
          • 6. ๐Ÿ–‹๏ธ Write Your Spell as a SELECT Statement
          • 7. ๐ŸŽจ Configure Alias and Materialization Strategy
          • 8. ๐ŸŒˆ Make a Pull Request, Get Merged, Become an Archwizard ๐Ÿง™
      • Examples
        • Reformatted Transfers
        • Daily Aggregation
        • Rolling Sum of Daily Transfers
        • Final Daily Balance
    • API
      • Quick Start
        • Python
        • Javascript
        • Community Clients
        • API Ready Queries
      • API Reference
        • Authentication
        • Execute Query ID
        • Execution Status
        • Execution Results
        • Cancel Execution
        • Error Codes
        • Functionality
        • Billing & Pricing
        • Other
        • TOS
    • Reference
      • Sunsetting Dune V1
      • Support & Feedback
        • Does Dune have a token?
        • Does Dune have an API?
        • How often do results get refreshed?
        • How does Dune get data?
      • Wizard tools
        • Blockchain Explorers
        • Helpful Dashboards
        • Utility Queries
      • Dune Bounties
      • Events
      • Pricing
      • Recommended Reading
      • Dune v2
        • V2 Query Engines
        • DuneSQL migration
      • Citing Dune
      • Press Kit

    API Quick Start

    If you're looking for example queries to use (such as NFT or ERC20 balances or holders), then check out these endpoints.

    If you're setting up an ingestion pipeline, check out this one using Python and Celery.

    Get started with our API fast using these quick start guides:

    • Python
    • Javascript
    • Community Clients
    Previous API
    Next Python