---
title: "Search datasets"
method: POST
path: "/v1/datasets/search"
---

# Search datasets

`POST /v1/datasets/search`

Search for datasets across the Dune catalog, with filtering by categories, blockchains, schemas, and more

## Query parameters

- `api_key` string

## Headers

- `X-Dune-Api-Key` string, required

## Request body

- ModelsSearchDatasetsRequest
  - `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 `200`

OK

- ModelsSearchDatasetsResponse
  - `pagination` ModelsSearchDatasetsPagination
    - `has_more` boolean
    - `limit` integer
    - `next_offset` integer
    - `offset` integer
  - `results` ModelsSearchDatasetResult[]
    - `blockchains` string[]
    - `category` string
    - `dataset_type` string
    - `description` string
    - `full_name` string
    - `metadata` ModelsSearchDatasetMetadata
      - `abi_type` string
      - `contract_name` string
      - `description` string
      - `page_rank_score` number
      - `project_name` string
      - `spell_metadata` integer[]
      - `spell_type` string
    - `owner_scope` string
    - `schema` integer[]
    - `visibility` string
  - `total` integer

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error

---

[API](https://skmtc.dev/dune/apis/duneapi.md) · [All operations](https://skmtc.dev/dune/apis/duneapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dune/duneapi/revisions/f3a7a865f95b/schema)
