The Dune API simplifies your data integration worflow and turbocharges your efficiency!
Dune API is your solution for data infrastructure and workflow management, enabling you to create API endpoints, run queries, and manage them systematically across 12 chains and 700,000+ data tables, thereby unlocking its full potential.
Full documentation of API endpoints here.
We can largely bucket Dune API features into these categories:
- Executing queries - execute any query, and retrieving results from that execution (or latest results from any execution)
- Editing queries (CRUD [Create, Retrieve, Update, Delete/Archive] API)
- Uploading Data - right now you can upload CSV files to the API. This is append only.
Obtaining an API Key¶
API Quickstart Guides¶
Get started with our API in a few lines of code using these quick start guides:
You should check out our developer API clients (sdks) as well.
For building a simple data ingestion pipeline, see using Python and Celery.
If you aren't sure what queries to start with, check out the API-ready query list.
Pricing for API is charged along two dimensions.
|Dimension||Credits Charged||Relevant API endpoints|
|Executions||10 credits per medium query engine executions (Default)
20 credits per large query engine executions
|Datapoints||1 credit per 1,000 datapoints||Execution Results
Latest Query Results
A datapoint applies to query results after the query is run, and can in most cases be thought of
rows * columns with an additional limit of 100 avg bytes per cell in a set of results. This can be expressed as:
💡 Have an idea for additional Dune API features? Please submit them here! We value your input and are regularly implementing improvements based on user feedback.