Skip to main content
POST
/
api
/
dune
/
datasets
/dune/datasets
curl --request POST \
  --url https://api.anysite.io/api/dune/datasets \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "dataset": "<string>",
  "timeout": 300
}
'
[
  {
    "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
dataset
string
required

Dataset table name as '{schema}.{table}' (e.g. 'dex.trades') or a dune.com/data/{name} URL

Minimum string length: 1
Example:

"dex.trades"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

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[]