About DuneAPI

Review the Service identity, supported languages, protocol versions, and source metadata discovered by the directory.

Service details

Service Id
2446b3f9-0a91-4072-99a5-d12f6f6ab5f5
Service origin
https://api.dune.com
ListedSeptember 24, 2026, 11:40 PM
Last checkedSeptember 24, 2026, 11:40 PM

Protocol details

SourceOpenAPI

Endpoints

Endpoint details are saved from the OpenAPI document. Authentication requirements and prices are advertised information, not a verified payment or access guarantee. The document may contain additional endpoints.Open OpenAPI document
POST/v1/contracts/decode

Submit contracts for decoding

Submit up to 100 contracts (with their ABIs) for decoding in one request. Each item is validated and queued independently; the response reports a per-item result matched by index. Successful items are queued as "pending" and can be tracked with GET /v1/contracts/submissions or at dune.com/workspace. Submissions are attributed to the user who created the API key. "upgrade" submissions and protected namespaces are always routed to manual review.Price unavailable
GET/v1/contracts/submissions

List contract submissions

List the contract decoding submissions made by the authenticated account, newest first, with optional filters. Use this to track the status of submissions made via POST /v1/contracts/decode. Page with limit and the next_cursor returned by the previous response.Price unavailable
POST/v1/dashboards

Create a dashboard

Creates a new dashboard with optional visualization and text widgets.Price unavailable
GET/v1/dashboards/by-slug/{owner_handle}/{slug}

Get a dashboard by owner handle and slug

Retrieves the full state of a dashboard using the owner handle and URL slug.Price unavailable
GET/v1/dashboards/{dashboard_id}

Get a dashboard by ID

Retrieves the full state of a dashboard including widgets.Price unavailable
PATCH/v1/dashboards/{dashboard_id}

Update a dashboard

Updates dashboard metadata and/or replaces widgets.Price unavailable
POST/v1/dashboards/{dashboard_id}/archive

Archive a dashboard

Archives a dashboard by ID. The dashboard can be restored later.Price unavailable
GET/v1/datasets

List datasets

Retrieve a paginated list of datasets with optional filtering by owner and typePrice unavailable
POST/v1/datasets/search

Search datasets

Search for datasets across the Dune catalog, with filtering by categories, blockchains, schemas, and morePrice unavailable
POST/v1/datasets/search-by-contract

Search datasets by contract address

Find decoded datasets associated with a smart contract addressPrice unavailable
GET/v1/datasets/{slug}

Get a dataset by slug

Retrieve dataset information including columns, metadata, and ownership detailsPrice unavailable
GET/v1/endpoints/{handle}/{endpoint_slug}/results

Custom Endpoints

Create custom API endpoints from Dune queriesPrice unavailable
POST/v1/execution/{execution_id}/cancel

Cancel a triggered execution request given the execution ID

Cancel a triggered execution request given the execution IDPrice unavailable
GET/v1/execution/{execution_id}/results

Given an execution ID, returns result of a an execution request

Given an execution ID, returns result of a an execution requestPrice unavailable
GET/v1/execution/{execution_id}/results/csv

Get results of a query execution in CSV format

Given a query ID, returns the latest executed result of a query on Dune in CSV formatPrice unavailable
GET/v1/execution/{execution_id}/status

Check the status of an execution request

Check the status of an execution requestPrice unavailable
GET/v1/materialized-views

This lists all materialized view owned by the account tied to the API key

This lists all materialized view owned by the account tied to the API keyPrice unavailable
POST/v1/materialized-views

This upserts (create or replace) a materialized view from an existing query

This upserts a materialized view from an existing query. If the materialized view with the given namePrice unavailable
DELETE/v1/materialized-views/{name}

This deletes a materialized view given a full name

This deletes a materialized view given a full namePrice unavailable
GET/v1/materialized-views/{name}

This fetches a materialized view given a name

This fetches a materialized view given a namePrice unavailable
POST/v1/materialized-views/{name}/refresh

This refreshes a materialized view

This refreshes a materialized viewPrice unavailable
POST/v1/pipelines/execute

Execute a pipeline

Executes a specified pipeline. A pipeline allows you to chain multiple queries and materialized view refreshes together and execute them as a single unit.Price unavailable
GET/v1/pipelines/executions/{pipeline_execution_id}/status

Get pipeline execution status

Retrieves the status of a pipeline execution, including the status of each node in the pipeline.Price unavailable
GET/v1/queries

List queries

Retrieve a paginated list of queries owned by the account tied to the API keyPrice unavailable
GET/v1/queries/{query_id}/visualizations

List visualizations for a query

Lists all visualizations attached to the specified query with pagination.Price unavailable
POST/v1/queries/{query_id}/visualizations

Create a visualization on an existing query

Creates a new visualization attached to the specified query.Price unavailable
POST/v1/query

Create and save a query on Dune

This API allows for anyone to create a query. The owner of the query will be under the context of the API key.Price unavailable
GET/v1/query/{queryId}

Returns the details of a query on Dune

This API allows for anyone to read the sql text, parameters, name, tags, and state of a query. For private queries, only the API key generated under the context of the owner of that query will work.Price unavailable
PATCH/v1/query/{queryId}

Update the details of a query on Dune

This API allows for anyone to update the sql text, parameters, name, tags, and state of a query. Only the API key generated under the context of the owner of that query will work.Price unavailable
POST/v1/query/{queryId}/archive

Archive Query on Dune

This API allows for anyone to archive a query. Only the API key generated under the context of the owner of that query will work. This does not delete the query, but will make it uneditable/unexecutablePrice unavailable
POST/v1/query/{queryId}/private

Private Query on Dune

This API allows for anyone to private a query. Only the API key generated under the context of the owner of that query will work.Price unavailable
POST/v1/query/{queryId}/unarchive

Unarchive Query on Dune

This API allows for anyone to unarchive a query. Only the API key generated under the context of the owner of that query will work.Price unavailable
POST/v1/query/{queryId}/unprivate

Unprivate a query on Dune

This API allows for anyone to unprivate a query. Only the API key generated under the context of the owner of that query will work.Price unavailable
POST/v1/query/{query_id}/execute

Execute, or run a query for the specified query ID

Execute, or run a query for the specified query IDPrice unavailable
GET/v1/query/{query_id}/pipeline

Get query pipeline

Builds a query pipeline from the specified query and returns the pipeline definition containing all the nested materialized views that the query depends on. A pipeline allows you to chain multiple queries together and execute them as a single unit.Price unavailable
POST/v1/query/{query_id}/pipeline/execute

Execute a query pipeline

Builds a query pipeline from the specified query and executes it. A pipeline allows you to chain multiple queries together and execute them as a single unit.Price unavailable
GET/v1/query/{query_id}/results

Get Latest Query Result

Given a query ID, returns the latest executed result of a query on Dune in JSON formatPrice unavailable
GET/v1/query/{query_id}/results/csv

Given a query ID, returns the latest executed result of a query on Dune as CSV

Given a query ID, returns the latest executed result of a query on Dune as CSVPrice unavailable
POST/v1/sql/execute

Execute raw SQL query

Execute raw SQL query without requiring a stored query IDPrice unavailable
GET/v1/uploads

List all tables owned by the account

Returns a paginated list of all tables owned by the authenticated account.Price unavailable
POST/v1/uploads

Create an empty uploaded table with a defined schema

Creates an empty uploaded table that can be inserted into with the /insert endpoint. Each successful table creation consumes 10 credits.Price unavailable
POST/v1/uploads/csv

Upload CSV file as a table

Upload a CSV file to create a table with automatic schema inference. The size limit per upload is 500MB. Storage limits: 100MB (free), 1GB (analyst), 15GB (plus).Price unavailable
DELETE/v1/uploads/{namespace}/{table_name}

Delete an uploaded table

Permanently deletes the specified uploaded table and all its data.Price unavailable
POST/v1/uploads/{namespace}/{table_name}/clear

Clear all data from an uploaded table

Removes all data from the specified uploaded table while preserving the table structure and schema.Price unavailable
POST/v1/uploads/{namespace}/{table_name}/insert

Insert data into an uploaded table

Inserts data into an existing table. Accepts CSV (text/csv) or NDJSON (application/x-ndjson) content types.Price unavailable
POST/v1/usage

Get Usage Data

Get usage data for the authenticated customer including private queries, dashboards, bytes used/allowed, and billing periodsPrice unavailable
DELETE/v1/visualizations/{visualization_id}

Delete a visualization

Deletes a visualization by its ID.Price unavailable
GET/v1/visualizations/{visualization_id}

Get a visualization by ID

Retrieves a visualization by its ID.Price unavailable
PUT/v1/visualizations/{visualization_id}

Update a visualization

Updates an existing visualization by its ID.Price unavailable