Skip to main content

Setup

Put them in your environment or .env; Data APIs 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

List Marketplace datasets

Get a Marketplace dataset’s fields

Create a snapshot of a dataset filtered by field values

  • 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

  • Poll until status is ready, then download it with datasets.snapshot.download.

Download a dataset snapshot

  • Answers 202 while the snapshot is not ready yet.