The search endpoint lets you search the web and extract contents from the results.
API key can be provided either via x-api-key header or Authorization header with Bearer scheme
The query string for the search.
"Latest developments in LLM capabilities"
Additional query variations for deep search. Only works with type="deep" or type="deep-reasoning". When provided, these queries are used alongside the main query for comprehensive results.
[
"LLM advancements",
"large language model progress"
]JSON schema for deep search structured output mode. When provided, the output.content field is returned as structured JSON matching this schema.
Deep-search-only instructions that guide both the search process and the final synthesized result. Use this for source preferences, novelty or duplication constraints, or reasoning style; use outputSchema to control the shape of output.content.
"Prefer official sources and avoid duplicate results."
The type of search. Neural uses an embeddings-based model, auto (default) intelligently combines neural and other search methods, fast uses streamlined versions of the search models, deep is light deep search, deep-reasoning is base deep search, and instant provides the lowest latency search optimized for real-time applications.
neural, fast, auto, deep, deep-reasoning, instant "auto"
A data category to focus on. The people and company categories have improved quality for finding LinkedIn profiles and company pages. Note: The company and people categories only support a limited set of filters. The following parameters are NOT supported for these categories: startPublishedDate, endPublishedDate, startCrawlDate, endCrawlDate, includeText, excludeText, excludeDomains. For people category, includeDomains only accepts LinkedIn domains. Using unsupported parameters will result in a 400 error.
company, research paper, news, tweet, personal site, financial report, people "research paper"
The two-letter ISO country code of the user, e.g. US.
"US"
Number of results to return. Limits vary by search type:
If you want to increase the num results beyond these limits, contact sales (hello@exa.ai)
x <= 10010
List of domains to include in the search. If specified, results will only come from these domains.
1200["arxiv.org", "paperswithcode.com"]List of domains to exclude from search results. If specified, no results will be returned from these domains.
1200Crawl date refers to the date that Exa discovered a link. Results will include links that were crawled after this date. Must be specified in ISO 8601 format.
"2023-01-01T00:00:00.000Z"
Crawl date refers to the date that Exa discovered a link. Results will include links that were crawled before this date. Must be specified in ISO 8601 format.
"2023-12-31T00:00:00.000Z"
Only links with a published date after this will be returned. Must be specified in ISO 8601 format.
"2023-01-01T00:00:00.000Z"
Only links with a published date before this will be returned. Must be specified in ISO 8601 format.
"2023-12-31T00:00:00.000Z"
List of strings that must be present in webpage text of results. Currently, only 1 string is supported, of up to 5 words.
["large language model"]List of strings that must not be present in webpage text of results. Currently, only 1 string is supported, of up to 5 words. Checks from the first 1000 words of the webpage text.
["course"]Deprecated: Use highlights or text instead. Returns page contents as a combined context string.
true
Enable content moderation to filter unsafe content from search results.
true
OK
Unique identifier for the request
"b5947044c4b78efa9552a7c89b306d95"
A list of search results containing title, URL, published date, and author.
For auto searches, indicates which search type was selected.
neural, deep, deep-reasoning "auto"
Deprecated. Combined context string from search results. Use highlights or text instead.
Deep-search synthesized output. Returned for deep search variants.