brightdata-sdk-js
Installation
SKILL.md
Bright Data JavaScript SDK
Access web data through a unified Node.js/TypeScript SDK (@brightdata/sdk). One
client, several services: web unlocking (scrapeUrl), platform scraping
(scrape.<platform>), SERP search (search.google/bing/yandex), AI discovery
(discover), datasets, browser automation, and Scraper Studio.
Requires Node.js ≥ 20. Ships ESM + CommonJS with full TypeScript types. The
client is exported as bdclient (lowercase — not a typo).
Setup gate (do first)
npm install @brightdata/sdk # or: pnpm add / yarn add
The client reads the BRIGHTDATA_API_TOKEN env var, or you pass { apiKey }.
Get a token at https://brightdata.com/cp/setting/users.