Use Bright Data to scrape pages, query search engines, discover content, and run structured dataset scrapers. For asynchronous scraping, check snapshot status before downloading the results; an in-progress snapshot can also be canceled.
Scrape any URL with Web Unlocker, search Google and other engines with SERP API, discover web content ranked by intent, or trigger pre-built scrapers for structured data extraction.
Fetch page content with Bright Data Web Unlocker, including its supported anti-bot, CAPTCHA, and IP-block handling. Access depends on the target site and zone configuration.
Inputs and outputsParameter Type Required Description apiKeystring Yes Bright Data API token zonestring Yes Web Unlocker zone name from your Bright Data dashboard (e.g., "web_unlocker1") urlstring Yes The URL to scrape (e.g., "https://example.com/page ") formatstring No Response format: "raw" for HTML or "json" for parsed content. Defaults to "raw" countrystring No Two-letter country code for geo-targeting (e.g., "us", "gb") dataFormatstring No Convert the response to "markdown" instead of raw HTML, useful for feeding page content to an LLM. Omit for the default HTML/JSON response
Parameter Type Description contentstring The scraped page content (HTML or JSON depending on format) urlstring The URL that was scraped statusCodenumber HTTP status code of the response
Search Google, Bing, DuckDuckGo, or Yandex and get structured search results using Bright Data SERP API.
Inputs and outputsParameter Type Required Description apiKeystring Yes Bright Data API token zonestring Yes SERP API zone name from your Bright Data dashboard (e.g., "serp_api1") querystring Yes The search query (e.g., "best project management tools") searchEnginestring No Search engine to use: "google", "bing", "duckduckgo", or "yandex". Defaults to "google" countrystring No Two-letter country code for localized results (e.g., "us", "gb") languagestring No Two-letter language code (e.g., "en", "es") numResultsnumber No Number of results to return (e.g., 10, 20). Defaults to 10
Parameter Type Description resultsarray Array of search results ↳ title string Title of the search result ↳ url string URL of the search result ↳ description string Snippet or description of the result ↳ rank number Position in search results querystring The search query that was executed searchEnginestring The search engine that was used
AI-powered web discovery that finds and ranks results by intent. Returns up to 20 results with optional cleaned page content for RAG and verification.
Inputs and outputsParameter Type Required Description apiKeystring Yes Bright Data API token querystring Yes The search query (e.g., "competitor pricing changes enterprise plan") numResultsnumber No Number of results to return (1-20). Defaults to 10 modestring No Search depth and ranking mode: "standard" (balanced), "deep" (exhaustive, broader search), "fast" (optimized for speed), or "zeroRanking" (raw volume without AI filtering). Defaults to "standard" intentstring No Describes what the agent is trying to accomplish, used to rank results by relevance (e.g., "find official pricing pages and change notes") includeContentboolean No Whether to include cleaned page content in results formatstring No Response format: "json" or "md". Defaults to "json" languagestring No Search language code (e.g., "en", "es", "fr"). Defaults to "en" countrystring No Two-letter ISO country code for localized results (e.g., "us", "gb")
Parameter Type Description resultsarray Array of discovered web results ranked by intent relevance ↳ url string URL of the discovered page ↳ title string Page title ↳ description string Page description or snippet ↳ relevanceScore number AI-calculated relevance score for intent-based ranking ↳ content string Cleaned page content in the requested format (when includeContent is true) querystring The search query that was executed totalResultsnumber Total number of results returned
Scrape URLs synchronously using a Bright Data pre-built scraper and get structured results directly. Supports up to 20 URLs with a 1-minute timeout.
Inputs and outputsParameter Type Required Description apiKeystring Yes Bright Data API token datasetIdstring Yes Dataset scraper ID from your Bright Data dashboard (e.g., "gd_l1viktl72bvl7bjuj0") urlsstring Yes JSON array of URL objects to scrape, up to 20 (e.g., [ { "url": "https://example.com/product " } ]) formatstring No Output format: "json", "ndjson", or "csv". Defaults to "json" includeErrorsboolean No Whether to include error reports in results
Parameter Type Description dataarray Array of scraped result objects with fields specific to the dataset scraper used snapshotIdstring Snapshot ID returned if the request exceeded the 1-minute timeout and switched to async processing isAsyncboolean Whether the request fell back to async mode (true means use snapshot ID to retrieve results)
Trigger a Bright Data pre-built scraper to extract structured data from URLs. Supports 660+ scrapers for platforms like Amazon, LinkedIn, Instagram, and more.
Inputs and outputsParameter Type Required Description apiKeystring Yes Bright Data API token datasetIdstring Yes Dataset scraper ID from your Bright Data dashboard (e.g., "gd_l1viktl72bvl7bjuj0") urlsstring Yes JSON array of URL objects to scrape (e.g., [ { "url": "https://example.com/product " } ]) formatstring No Output format: "json" or "csv". Defaults to "json" includeErrorsboolean No Whether to include a per-input error report in the results
Parameter Type Description snapshotIdstring The snapshot ID to retrieve results later statusstring Status of the scraping job (e.g., "triggered", "running")
Check the progress of an async Bright Data scraping job. Returns status: starting, running, ready, or failed.
Inputs and outputsParameter Type Required Description apiKeystring Yes Bright Data API token snapshotIdstring Yes The snapshot ID returned when the collection was triggered (e.g., "s_m4x7enmven8djfqak")
Parameter Type Description snapshotIdstring The snapshot ID that was queried datasetIdstring The dataset ID associated with this snapshot statusstring Current status of the snapshot: "starting", "running", "ready", or "failed"
Download the results of a completed Bright Data scraping job using its snapshot ID. The snapshot must have ready status.
Inputs and outputsParameter Type Required Description apiKeystring Yes Bright Data API token snapshotIdstring Yes The snapshot ID returned when the collection was triggered (e.g., "s_m4x7enmven8djfqak") formatstring No Output format: "json", "ndjson", "jsonl", or "csv". Defaults to "json" compressboolean No Whether to compress the results
Parameter Type Description dataarray Array of scraped result records formatstring The content type of the downloaded data snapshotIdstring The snapshot ID that was downloaded
Cancel an active Bright Data scraping job using its snapshot ID. Terminates data collection in progress.
Inputs and outputsParameter Type Required Description apiKeystring Yes Bright Data API token snapshotIdstring Yes The snapshot ID of the collection to cancel (e.g., "s_m4x7enmven8djfqak")
Parameter Type Description snapshotIdstring The snapshot ID that was cancelled cancelledboolean Whether the cancellation was successful