> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Bright Data

> Bright Data Marketplace datasets: the list, each dataset's fields, and filtered snapshots.

![](https://mintcdn.com/webrouter/Wx0iBZkUGX_VAFTN/logo/data-apis/brightdata.webp?fit=max\&auto=format\&n=Wx0iBZkUGX_VAFTN\&q=85\&s=678a1651eacfe6da2959ca89c3489c48)

[Web Catalog · Scraping](https://docs.webrouter.net/data-apis.md?category=scraping)

Needs&#x20;

`BRIGHTDATA_API_TOKEN`

Endpoints

5

Auth

Key in header

[Vendor docs](https://docs.brightdata.com/)

&#x20;·&#x20;

[Pricing](https://brightdata.com/pricing)

## Setup

| Variable | | What it is |
| - | - | - |
| `BRIGHTDATA_API_TOKEN` | required | a Bright Data API key (control panel > Account settings > API keys) |

Put them in your environment or `.env`; [Data APIs](https://docs.webrouter.net/vendors.md) covers the other ways.

## Notes

* Auth is 'Authorization: Bearer \<API key>'.
* Filtering a dataset starts a billed snapshot job; poll its status, then download it.
* Bright Data scrapers, Web Unlocker and SERP go through web-router's extract, search and live\_data, not this entry.

## Endpoints

GET

List Marketplace datasets

The Marketplace datasets your account can query.

[Open](#brightdata-datasets-list)

GET

Get a Marketplace dataset's fields

Fields, types and descriptions of one dataset, to read before filtering it.

[Open](#brightdata-datasets-metadata)

POST

Create a snapshot of a dataset filtered by field values

Start a bulk async job that selects records of a Marketplace dataset matching a filter.

[Open](#brightdata-datasets-filter)

GET

Get a dataset snapshot's status

A filtered snapshot's status (scheduled, building, ready or failed), record count and file size.

[Open](#brightdata-datasets-snapshot-status)

GET

Download a dataset snapshot

The records of a ready snapshot, whole or one batch at a time.

[Open](#brightdata-datasets-snapshot-download)

### List Marketplace datasets

GET

`/datasets/list`

`brightdata.datasets.list`

The Marketplace datasets your account can query.

Input

No inputs.

[Vendor docs](https://docs.brightdata.com/api-reference/marketplace-dataset-api/get-dataset-list.md) · Same job: [ArcGIS Online](https://docs.webrouter.net/data-apis/arcgis.md#arcgis-groups-search), [Attio](https://docs.webrouter.net/data-apis/attio.md#attio-objects-list), [Bank of Canada](https://docs.webrouter.net/data-apis/bankofcanada.md#bankofcanada-lists), [US Bureau of Economic Analysis](https://docs.webrouter.net/data-apis/bea.md#bea-datasets-list), [Clay](https://docs.webrouter.net/data-apis/clay.md#clay-tables-query), [CMS Open Payments](https://docs.webrouter.net/data-apis/cms-open-payments.md#cms-open-payments-datasets-list)

```python Python theme={null}
router.call_data_api("brightdata.datasets.list")
```

```text MCP theme={null}
call_data_api(endpoint="brightdata.datasets.list")
```

### Get a Marketplace dataset's fields

GET

`/datasets/{dataset_id}/metadata`

`brightdata.datasets.metadata`

Fields, types and descriptions of one dataset, to read before filtering it.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`dataset_id` required</td><td>string</td><td>path</td><td>Marketplace dataset id (gd\_...). Example `gd_l1viktl72bvl7bjuj0`</td></tr>
  </tbody>
</table>

[Vendor docs](https://docs.brightdata.com/api-reference/marketplace-dataset-api/get-dataset-metadata.md) · Same job: [Affinity](https://docs.webrouter.net/data-apis/affinity.md#affinity-companies-fields), [ArcGIS Online](https://docs.webrouter.net/data-apis/arcgis.md#arcgis-items-get), [Attio](https://docs.webrouter.net/data-apis/attio.md#attio-attributes-list), [Bank of Canada](https://docs.webrouter.net/data-apis/bankofcanada.md#bankofcanada-series-get), [US Bureau of Economic Analysis](https://docs.webrouter.net/data-apis/bea.md#bea-parameters-list), [CISA Known Exploited Vulnerabilities (KEV) catalog](https://docs.webrouter.net/data-apis/cisa-kev.md#cisa-kev-catalog-schema)

```python Python theme={null}
router.call_data_api("brightdata.datasets.metadata", {'dataset_id': 'gd_l1viktl72bvl7bjuj0'})
```

```text MCP theme={null}
call_data_api(endpoint="brightdata.datasets.metadata", params={"dataset_id": "gd_l1viktl72bvl7bjuj0"})
```

### Create a snapshot of a dataset filtered by field values

POST

`/datasets/filter`

`brightdata.datasets.filter`

Start a bulk async job that selects records of a Marketplace dataset matching a filter.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`dataset_id` required</td><td>string</td><td>body</td><td>Dataset to filter. Example `gd_l1viktl72bvl7bjuj0`</td></tr>

    <tr>
      <td>
        `filter`

        required
      </td>

      <td>
        object
      </td>

      <td>
        body
      </td>

      <td>
        Filter object, e.g. \{"name": "name", "operator": "includes", "value": "Egor"}; conditions can be combined.
      </td>
    </tr>

    <tr><td>`records_limit`</td><td>integer</td><td>body</td><td>Most records to include in the snapshot. Example `1000`</td></tr>
  </tbody>
</table>

[Vendor docs](https://docs.brightdata.com/api-reference/marketplace-dataset-api/filter-dataset.md) · Same job: [BounceBan](https://docs.webrouter.net/data-apis/bounceban.md#bounceban-bulk-create), [Decodo](https://docs.webrouter.net/data-apis/decodo.md#decodo-task-create), [Extruct AI](https://docs.webrouter.net/data-apis/extruct.md#extruct-discovery-create), [Filtrat](https://docs.webrouter.net/data-apis/filtrat.md#filtrat-bulk-create), [FullEnrich](https://docs.webrouter.net/data-apis/fullenrich.md#fullenrich-contact-enrich), [GetLeads](https://docs.webrouter.net/data-apis/getleadsio.md#getleadsio-contacts-export)

> [!NOTE]
>
> * Starts a billed job: it only produces data and changes nothing else in your account.
> * Async: returns a snapshot\_id; poll datasets.snapshot.status until ready (the docs say up to 5 minutes), then read it with datasets.snapshot.download. Dataset records are billed at \$2.5 per thousand records at the time of writing.

### Get a dataset snapshot's status

GET

`/datasets/snapshots/{id}`

`brightdata.datasets.snapshot.status`

A filtered snapshot's status (scheduled, building, ready or failed), record count and file size.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`id` required</td><td>string</td><td>path</td><td>The snapshot\_id that datasets.filter returned. Example `s_m123456789`</td></tr>
  </tbody>
</table>

[Vendor docs](https://docs.brightdata.com/api-reference/marketplace-dataset-api/get-snapshot-meta.md) · Same job: [AI Ark](https://docs.webrouter.net/data-apis/aiark.md#aiark-people-find-emails-status), [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-requests-get), [Anymail Finder](https://docs.webrouter.net/data-apis/anymailfinder.md#anymailfinder-bulk-get), [Apify](https://docs.webrouter.net/data-apis/apify.md#apify-actors-list), [Aviato](https://docs.webrouter.net/data-apis/aviato.md#aviato-marketmap-get), [BounceBan](https://docs.webrouter.net/data-apis/bounceban.md#bounceban-single-status)

```python Python theme={null}
router.call_data_api("brightdata.datasets.snapshot.status", {'id': 's_m123456789'})
```

```text MCP theme={null}
call_data_api(endpoint="brightdata.datasets.snapshot.status", params={"id": "s_m123456789"})
```

> [!NOTE]
>
> * Poll until status is ready, then download it with datasets.snapshot.download.

### Download a dataset snapshot

GET

`/datasets/snapshots/{id}/download`

`brightdata.datasets.snapshot.download`

The records of a ready snapshot, whole or one batch at a time.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`id` required</td><td>string</td><td>path</td><td>The snapshot\_id that datasets.filter returned. Example `s_m123456789`</td></tr>
    <tr><td>`format`</td><td>string</td><td>query</td><td>Format of the records; jsonl by default. One of `json`, `ndjson`, `jsonl`, `csv` Example `json`</td></tr>

    <tr>
      <td>
        `batch_size`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Records per batch, at least 1000; use with part for large snapshots.
      </td>
    </tr>

    <tr>
      <td>
        `part`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Which batch to return, starting at 1.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.brightdata.com/api-reference/marketplace-dataset-api/download-the-file-by-snapshot_id.md) · Same job: [BetterContact](https://docs.webrouter.net/data-apis/bettercontact.md#bettercontact-contacts-enrich-result), [Clay](https://docs.webrouter.net/data-apis/clay.md#clay-routines-results), [Decodo](https://docs.webrouter.net/data-apis/decodo.md#decodo-task-results), [Dune](https://docs.webrouter.net/data-apis/dune.md#dune-execution-results), [Forager](https://docs.webrouter.net/data-apis/forager.md#forager-person-work-email-result), [FullEnrich](https://docs.webrouter.net/data-apis/fullenrich.md#fullenrich-contact-enrich-result)

```python Python theme={null}
router.call_data_api("brightdata.datasets.snapshot.download", {'id': 's_m123456789', 'format': 'json'})
```

```text MCP theme={null}
call_data_api(endpoint="brightdata.datasets.snapshot.download", params={"id": "s_m123456789", "format": "json"})
```

> [!NOTE]
>
> * Answers 202 while the snapshot is not ready yet.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.