Our new LangChain Academy Course Deep Research with LangGraph is now live!
Enroll for free.
Bright DataBright Data 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 Setuppip install langchain-brightdata
You'll need to set up your Bright Data API key:
import os
os.environ["BRIGHT_DATA_API_KEY"] = "your-api-key"
Or you can pass it directly when initializing tools:
from langchain_bright_data import BrightDataSERP
tool = BrightDataSERP(bright_data_api_key="your-api-key")
The Bright Data integration provides several tools:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4