> ## Documentation Index
> Fetch the complete documentation index at: https://langchain.idochub.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Bright Data

[Bright Data](https://brightdata.com) is a web data platform that provides tools for web scraping, SERP collection, and accessing geo-restricted content.

Bright Data allows developers to extract structured data from websites, perform search engine queries, and access content that might be otherwise blocked or geo-restricted. The platform is designed to help overcome common web scraping challenges including anti-bot systems, CAPTCHAs, and IP blocks.

## Installation and Setup

<CodeGroup>
  ```bash pip theme={null}
  pip install langchain-brightdata
  ```

  ```bash uv theme={null}
  uv add langchain-brightdata
  ```
</CodeGroup>

You'll need to set up your Bright Data API key:

```python theme={null}
import os
os.environ["BRIGHT_DATA_API_KEY"] = "your-api-key"
```

Or you can pass it directly when initializing tools:

```python theme={null}
from langchain_bright_data import BrightDataSERP

tool = BrightDataSERP(bright_data_api_key="your-api-key")
```

## Tools

The Bright Data integration provides several tools:

* [BrightDataSERP](/oss/python/integrations/tools/brightdata_serp) - Search engine results collection with geo-targeting
* [BrightDataUnblocker](/oss/python/integrations/tools/brightdata_unlocker) - Access ANY public website that might be geo-restricted or bot-protected
* [BrightDataWebScraperAPI](/oss/python/integrations/tools/brightdata-webscraperapi) - Extract structured data from 100+ ppoular domains, e.g. Amazon product details and LinkedIn profiles
