@@ -45,7 +45,9 @@ await client.close();
4545- ** Web Scraping** — Scrape any website using anti-bot detection bypass and proxy support
4646- ** Search Engine Results** — Google, Bing, and Yandex search with batch support
4747- ** Platform Scrapers** — Structured data collection from LinkedIn, Amazon, Instagram, TikTok, YouTube, Reddit, and more
48- - ** Datasets** — Access 19 pre-built datasets (Amazon, LinkedIn, Instagram, TikTok, X/Twitter) with query/download support
48+ - ** Discover API** — AI-powered web search with intent-based relevance ranking
49+ - ** Scraper Studio** — Trigger and fetch results from custom scrapers built in Bright Data's Scraper Studio
50+ - ** Datasets** — Access 126 pre-built datasets across dozens of platforms with query/download support
4951- ** Parallel Processing** — Concurrent processing for multiple URLs or queries
5052- ** Robust Error Handling** — Typed error classes with retry logic
5153- ** Zone Management** — Automatic zone creation and management
@@ -168,11 +170,77 @@ console.log(result.status); // 'ready'
168170console .log (result .rowCount );
169171```
170172
171- ** Available platforms:** ` linkedin ` , ` amazon ` , ` instagram ` , ` tiktok ` , ` youtube ` , ` reddit ` , ` facebook ` , ` chatGPT ` , ` digikey ` , ` perplexity `
173+ ** Available platforms:** ` linkedin ` , ` amazon ` , ` instagram ` , ` tiktok ` , ` youtube ` , ` reddit ` , ` facebook ` , ` pinterest ` , ` chatGPT ` , ` digikey ` , ` perplexity `
174+
175+ ### Discover API
176+
177+ AI-powered web search with relevance ranking based on intent.
178+
179+ ``` javascript
180+ // Basic search
181+ const result = await client .discover (' artificial intelligence trends 2026' );
182+ console .log (result .data ); // [{ link, title, description, relevance_score }, ...]
183+
184+ // With intent for semantic ranking
185+ const result = await client .discover (' Tesla battery technology' , {
186+ intent: ' recent breakthroughs in EV battery chemistry' ,
187+ });
188+
189+ // With filtering and localization
190+ const result = await client .discover (' sustainable fashion brands' , {
191+ intent: ' eco-friendly clothing companies' ,
192+ filterKeywords: [' sustainability' , ' eco-friendly' , ' organic' ],
193+ country: ' us' ,
194+ numResults: 10 ,
195+ });
196+
197+ // Include full page content
198+ const result = await client .discover (' python asyncio tutorial' , {
199+ includeContent: true ,
200+ numResults: 3 ,
201+ });
202+
203+ // Manual trigger/poll/fetch
204+ const job = await client .discoverTrigger (' market research SaaS' , {
205+ intent: ' competitor pricing strategies' ,
206+ });
207+ await job .wait ({ timeout: 60_000 });
208+ const data = await job .fetch ();
209+ ```
210+
211+ ### Scraper Studio
212+
213+ Trigger and fetch results from your custom scrapers built in [ Scraper Studio] ( https://brightdata.com/cp/data_collector ) .
214+
215+ ``` javascript
216+ // Orchestrated — trigger + poll + return results
217+ const results = await client .scraperStudio .run (' c_your_collector_id' , {
218+ input: { url: ' https://example.com/product/1' },
219+ });
220+ // results: RunResult[] — one per input with { input, data, error, responseId, elapsedMs }
221+
222+ // Multiple inputs (processed sequentially)
223+ const results = await client .scraperStudio .run (' c_your_collector_id' , {
224+ input: [
225+ { url: ' https://example.com/product/1' },
226+ { url: ' https://example.com/product/2' },
227+ ],
228+ });
229+
230+ // Manual control — trigger, then poll yourself
231+ const job = await client .scraperStudio .trigger (' c_your_collector_id' , {
232+ url: ' https://example.com/product/1' ,
233+ });
234+ const data = await job .waitAndFetch ();
235+
236+ // Check job status (by job ID from the dashboard)
237+ const status = await client .scraperStudio .status (' j_abc123' );
238+ console .log (status .status ); // 'queued' | 'running' | 'done' | 'failed'
239+ ```
172240
173241### Datasets
174242
175- Access pre-built datasets for querying and downloading structured data snapshots.
243+ Access 126 pre-built datasets for querying and downloading structured data snapshots.
176244
177245``` javascript
178246const ds = client .datasets ;
0 commit comments