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
getting started
documentation reviewed- Install the package in the Python environment.
- Provide the API token through the documented environment variable or client configuration.
- 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- Bright Data Python SDK — official documentationChecked 2026-09-27