bright-data-best-practices

Featured

Build production-ready Bright Data integrations with best practices baked in. Reference documentation for developers using coding assistants (Claude Code, Cursor, etc.) to implement web scraping, search, browser automation, and structured data extraction. Covers Web Unlocker API, SERP API, Web Scraper API, and Browser API (Scraping Browser).

Data & Documents 33,961 stars 4034 forks Updated today MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Bright Data APIs Bright Data provides infrastructure for web data extraction at scale. Four primary APIs cover different use cases — always pick the most specific tool for the job. ## Choosing the Right API | Use Case | API | Why | |----------|-----|-----| | Scrape any webpage by URL (no interaction) | Web Unlocker | HTTP-based, auto-bypasses bot detection, cheapest | | Google / Bing / Yandex search results | SERP API | Specialized for SERP extraction, returns structured data | | Structured data from Amazon, LinkedIn, Instagram, TikTok, etc. | Web Scraper API | Pre-built scrapers, no parsing needed | | Click, scroll, fill forms, run JS, intercept XHR | Browser API | Full browser automation | | Puppeteer / Playwright / Selenium automation | Browser API | Connects via CDP/WebDriver | ## Authentication Pattern (All APIs) All APIs share the same authentication model: ```bash export BRIGHTDATA_API_KEY="your-api-key" # From Control Panel > Account Settings export BRIGHTDATA_UNLOCKER_ZONE="zone-name" # Web Unlocker zone name export BRIGHTDATA_SERP_ZONE="serp-zone-name" # SERP API zone name export BROWSER_AUTH="brd-customer-ID-zone-NAME:PASSWORD" # Browser API credentials ``` REST API authentication header for Web Unlocker and SERP API: ``` Authorization: Bearer YOUR_API_KEY ``` --- ## Web Unlocker API HTTP-based scraping proxy. Best for simple page fetches without browser interaction. **Endpoint:** `POST https://api.brightdata.com/request` ```python...

Details

Author
davila7
Repository
davila7/claude-code-templates
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category