workingproxysites.

SDK

Bright Data Python SDK

Official Python client for URL scraping, search, platform scrapers, datasets and Browser API workflows.

SDK. Official documentation · Checked · Review due .

documented capabilities

Package
Package
Install brightdata-sdk; import clients from brightdata.[1]
Authentication
The SDK looks for a key in this order: the token argument, BRIGHTDATA_API_TOKEN, BRIGHTDATA_API_KEY, then the key saved by `brightdata login`. If both variables are set, BRIGHTDATA_API_TOKEN wins. Versions before 2.5.0 read only BRIGHTDATA_API_TOKEN.[1]
Client modes
SyncBrightDataClient is synchronous; BrightDataClient supports asyncio.[1]
Scope
The guide includes URL scraping, search, platform scrapers, datasets and Browser API.[1]
CLI distinction
The CLI reads BRIGHTDATA_API_KEY, which the Python SDK (2.5.0+) also accepts, so one export covers both.[1]

Billing: Depends on the Bright Data product invoked; no normalized SDK workload price was collected.

Outputs: html, json

Documented for: Python

official referenceProvider profileJSON record

getting started

documentation reviewed
  1. Install the package in the Python environment.
  2. Provide the API token through the documented environment variable or client configuration.
  3. Choose the sync or async client and the product-specific operation.

Requirements & limitations

  • Since SDK 2.5.0, BRIGHTDATA_API_KEY works for both the SDK and the CLI. Older SDK versions read only BRIGHTDATA_API_TOKEN, and BRIGHTDATA_API_TOKEN takes precedence when both are set.
  • No package install or authenticated SDK request was performed by WPS.

We reviewed the linked documentation. No live service connection, checkout or performance test is claimed for this listing.

primary sources

1 references
  1. Bright Data Python SDK — official documentationChecked 2026-09-27

related listings