Skip to main content
POST
Search datasets
Minimum required API key scope: Read

Use Cases

  • Free-Text Search: Search across Dune’s entire dataset catalog using natural language queries like "dex trades" or "ethereum transactions".
  • Filter by Category: Narrow results to specific categories such as canonical, decoded, spell, or community datasets.
  • Filter by Blockchain: Find datasets for specific blockchains by passing blockchain names in the blockchains parameter.
  • AI Agents: Enable AI agents to discover relevant tables and schemas before constructing SQL queries.
  • Build Search UIs: Power custom dataset search interfaces and data discovery tools on top of Dune’s catalog.

Headers

X-Dune-Api-Key
string
required

API Key for the service

Query Parameters

api_key
string

API Key, alternative to using the HTTP header X-Dune-Api-Key

Body

application/json

Search datasets request

blockchains
string[]
categories
string[]
dataset_types
string[]
include_metadata
boolean
include_private
boolean
include_schema
boolean
limit
integer
offset
integer
owner_scope
string
query
string
schemas
string[]

Response

OK

pagination
object
results
object[]
total
integer