Skip to main content
Bright Data provides a powerful Web Scraper API that allows you to extract structured data from 44 popular domains, including e-commerce sites (Amazon, Walmart, eBay), social media (LinkedIn, Instagram, TikTok, Facebook), and more, making it particularly useful for AI agents requiring reliable structured web data feeds.

Overview

Integration details

Tool features

Setup

The integration lives in the langchain-brightdata package.
You’ll need a Bright Data API key to use this tool. You can set it as an environment variable:
Or pass it directly when initializing the tool:

Instantiation

Here we show how to instantiate an instance of the BrightDataWebScraperAPI tool. This tool allows you to extract structured data from various websites including Amazon product details, LinkedIn profiles, and more using Bright Data’s Dataset API. The tool accepts the following parameter during instantiation:
  • bright_data_api_key (required, str): Your Bright Data API key for authentication.

Invocation

Basic usage

Advanced usage with parameters

Customization options

The BrightDataWebScraperAPI tool accepts several parameters for customization:

Available dataset types (44 datasets)

E-commerce (10 datasets)

LinkedIn (5 datasets)

Business intelligence (2 datasets)

Instagram (4 datasets)

Facebook (4 datasets)

TikTok (4 datasets)

YouTube (3 datasets)

Google (3 datasets)

Other platforms (9 datasets)

Use within an agent


API reference