Discover API
Discover API
The Bright Data Discover API retrieves search results and automatically evaluates their relevance based on an AI-driven intent parameter. Covers 31 languages.
POST
Introduction to Discover API
Collect search results at scale for you, instead of wasting time and effort on filtering or processing irrelevant results
Body Parameters
string
required
The search query.
Maximum length: 1,500 characters.
string
Describes the specific goal of the search to help the AI evaluate and rank result relevance. If not provided, the
query string is used as the intent.Maximum length: 3,000 characters.For best results, use the following formula:
string
default:"standard"
required
Controls the search depth and ranking behavior of the request.
standard- Provides standard search depth and AI ranking. Best for general use cases where a balance of relevance and speed is needed.zeroRanking- Bypasses AI ranking to maximize the raw volume of results returned. Best when you want to collect as much broad data as possible without relevance filtering.InzeroRankingmode, thenum_resultsparameter has no effect on the number of results returned. Additionally,include_contentis not supported in this mode.deep- Performs a more exhaustive, broader search. Best when you need comprehensive coverage of a topic and prioritize thoroughness over speed.fast- Optimizes the request for quicker response times. Best for time-sensitive tasks where getting immediate results is the top priority.
array of strings
A list of exact keywords that must appear in the search results. The API automatically applies
intext: operators to guarantee keyword inclusion.Example: ["Product Manager", "Roadmap"]string
default:"json"
The response format.Available options:
json, mdWhen set tomdandinclude_contentis true, the content field returns parsed Markdown instead of raw HTML.
boolean
default:"false"
If true, the response will include the page content in markdown format.PDF support: When a search result links to a PDF file, the API will automatically extract and parse the PDF content. Limitations:
- Maximum PDF file size: 50 MB
- Maximum PDF parsing time: 30 seconds
- If either limit is exceeded, the content field returns empty.
boolean
default:"false"
If true, the response will extract and include an array of images.
string
default:"en"
The language to search in and return data for.Supported across 31 languages to align with Voyage AI and SERP capabilities, including but not limited to:
en (English), es (Spanish), fr (French), de (German), zh (Chinese), ja (Japanese), ar (Arabic), he (Hebrew), ko (Korean), hi (Hindi), pt (Portuguese), and ru (Russian).integer
The exact number of search results to return in the response.
boolean
default:"true"
If true, duplicate results will be removed from the response.
string
Search only for content updated from the date specified (format: YYYY-MM-DD).
string
Search only for content updated until the date specified (format: YYYY-MM-DD).
string
default:"US"
Get search results from a specific country. This accepts all standard 2-letter ISO country codes (e.g.,
US, GB, DE, IL, FR, JP). This will prioritize content from the selected country in the search results.string
Get search results localized to a specific city using SERP
uule encoding (e.g., "New York", "Berlin", "Tel Aviv"). For best results, use this in conjunction with the corresponding country parameter.Errors
FAQs
What is the difference between query and intent?
What is the difference between query and intent?
query is the exact string submitted to Google’s search engine. intent is the instruction given to the Bright Data AI to evaluate and rank the relevance of those results before returning them to you.Think of query as what you type into Google, and intent as the brief you give to a research analyst explaining what you actually need and what to ignore. The more specific the intent, the more relevant your results.Why am I getting a 403 Forbidden error?
Why am I getting a 403 Forbidden error?
Access to the Bright Data Discover API is restricted. It must be manually enabled for your account by your account manager.