Skip to main content
This guide shows how to install the Bright Data JavaScript SDK, scrape URLs, run searches, call platform-specific scrapers (LinkedIn, Amazon, Instagram, and more), and connect to the Browser API and Scraper Studio from Node.js.

Install the package

Open the terminal and run:
In your code file, import the package and launch your first requests:

Launch scrapes and web searches

Platform scrapers and datasets

Collect data from popular platforms by URL, or discover content by parameters.

Discover API

Search the web and get AI-ranked results in one call, or trigger and poll manually.

Scraper Studio

Run your custom Scraper Studio collectors from the SDK.

Browser API

Connect Playwright to Bright Data’s cloud browser.

Datasets API

Query and download from any of the 126+ Bright Data datasets.

Client and method parameters

Search the web using the SERP API.
Scrape a single URL or list of URLs using the Web Unlocker API.

Error handling

Enable VERBOSE in the Client for advanced logging (see Client parameters). Use the listZones() function to check available zones.
Create a Bright Data account and copy your API key. Go to account settings and make sure your API key has admin permissions.

Resources

GitHub

Visit the Bright Data SDK GitHub repository