How to scrape with the CLI
Get clean content from any website
How to scrape with geo-targeting
How to take screenshots
How to run search workflows
Basic web search
Localized and specialized search
Pagination
How to run discovery workflows
How to run AI-powered research
How to discover with geo-targeting
Export discovery results
How to run browser workflows
Navigate and read pages
Interact with pages
How to compare multiple sessions
Extract content from dynamic pages
Structured data extraction
How to extract e-commerce data
Social media profiles
Reviews and comments
Piping and automation
The CLI is designed to be pipe-friendly. When stdout is not a TTY, colors and spinners are automatically disabled.Chain search → scrape
Scrape and read in terminal
Export to CSV for analysis
Extract specific fields with jq
Async jobs for heavy workloads
How to manage your account
Monitor costs
Manage configuration
AI agent integration
Add the MCP server to your coding agent
Install skills into coding agents
Supported environment variables
Override any stored configuration with environment variables:| Variable | Purpose |
|---|---|
BRIGHTDATA_API_KEY | API key (skips login entirely) |
BRIGHTDATA_UNLOCKER_ZONE | Default Web Unlocker zone |
BRIGHTDATA_SERP_ZONE | Default SERP zone |
BRIGHTDATA_POLLING_TIMEOUT | Polling timeout in seconds |
BRIGHTDATA_BROWSER_ZONE | Default Scraping Browser zone (default: cli_browser) |