Skip to main content
POST
/
api
/
dune
/
datasets
/
search
/dune/datasets/search
curl --request POST \
  --url https://api.anysite.io/api/dune/datasets/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300,
  "q": "<string>",
  "chain": "<string>"
}
'
[
  {
    "full_name": "<string>",
    "@type": "DuneDataset",
    "namespace": "<string>",
    "schema_name": "<string>",
    "table_name": "<string>",
    "table_type": "<string>",
    "category": "<string>",
    "category_path": "<string>",
    "description": "<string>",
    "blockchains": [],
    "is_private": false,
    "is_gated": false,
    "popular": false,
    "favorite_count": 123,
    "query_reference_count": 123,
    "table_size_bytes": 123,
    "created_at": "<string>",
    "updated_at": "<string>",
    "sql_definition": "<string>",
    "maintainer": {
      "@type": "DuneAuthor",
      "id": 123,
      "name": "<string>",
      "alias": "<string>",
      "image": "<string>",
      "is_team": false
    },
    "columns": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
count
integer
required

Number of datasets to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
q
string | null

Keyword to search dataset names by

chain
string | null

Filter to a single blockchain by name (e.g. 'ethereum'); see the blockchains endpoint

category
enum<string> | null

Filter by dataset source category

Available options:
decoded,
spell,
curated,
abstraction,
community

Response

Successful Response

full_name
string
required
@type
string
default:DuneDataset
namespace
string | null
schema_name
string | null
table_name
string | null
table_type
string | null
category
string | null
category_path
string | null
description
string | null
blockchains
string[]
is_private
boolean
default:false
is_gated
boolean
default:false
favorite_count
integer | null
query_reference_count
integer | null
table_size_bytes
integer | null
created_at
string | null
updated_at
string | null
sql_definition
string | null
maintainer
object
columns
object[]