Exa Search

Exa Search
Exa · Research & Search
POST /v1/search

Web search engine for finding pages, retrieving similar pages, crawling, and dedicated code search across the open web for AI agents.

At a glance

FieldValue
Model idexa-search
Input modalitiesText
Output modalitiesText
Context window-
Weight precision-
Featuresweb_search, semantic_search
Native inferenceNo
NewNo
Supported endpointsPOST /v1/search

Pricing

ChargeSpecRate
Search (1-25 results)per search$0.0060
Search (26-100 results)per search$0.030
Content (Text/Highlights/Summary)per page/feature$0.0060
Code Searchper 1k tokens$0.0060

Example request

$curl https://api.empiriolabs.ai/v1/search \
> -H 'Authorization: Bearer $EMPIRIOLABS_API_KEY' \
> -H 'Content-Type: application/json' \
> -d '{"model": "exa-search", "query": "latest LLM benchmarks 2026"}'

Parameters

ParameterTypeRequiredDefaultDescription
querystringyes-Search query (or URL for similar)
operationenumno"search"search | answer | research. Determines which Exa endpoint runs. · Allowed: search, similar, contents, code
search_typeenumno"auto"Choose the search algorithm: auto, neural, keyword, fast, or full. Alias of type. · Allowed: auto, instant, neural, deep, fast
typeenumno"auto"auto | keyword | neural. Auto picks the best mode per query. · Allowed: auto, instant, neural, deep, fast
num_resultsnumberno10How many results to return (1-100). · Range: 1 – 100
categoryenumno-Restrict results to a category (research-paper, news, github, etc.). · Allowed: company, research paper, news, github, tweet, movie, song, personal site, pdf
include_domainsstringno-Comma-separated allowlist of domains. Only results from these domains are returned (e.g. arxiv.org, github.com).
exclude_domainsstringno-Comma-separated denylist of domains to filter out of results.
include_textstringno-Comma-separated text snippets that must appear
exclude_textstringno-Comma-separated text snippets to exclude
start_crawl_datestringno-Only return results crawled after this date. ISO 8601 (e.g. 2024-01-01T00:00:00Z).
end_crawl_datestringno-Only return results crawled before this date. ISO 8601.
start_published_datestringno-Only return results published after this date. ISO 8601.
end_published_datestringno-Only return results published before this date. ISO 8601.
return_textbooleannofalseFetch the full page text content for each result. Alias of text.
show_contentbooleannofalseDisplay the complete page content in results. Alias of text.
textbooleannofalseReturn full page text
text_max_charsnumberno2000Cap on the cleaned-text length per result. · Range: 100 – 100000
include_html_tagsbooleannofalseKeep HTML tags in the extracted text.
return_highlightsbooleannofalseGet AI-selected key snippets from each result. Alias of highlights.
highlightsbooleannofalseInclude relevant text snippets (“highlights”) per result.
highlights_querystringno-Query used to score which sentences become highlights.
highlights_sentencesnumberno3Number of sentences to include per highlight. · Range: 1 – 10
highlights_per_urlnumberno3Max highlights returned per URL. · Range: 1 – 10
return_summarybooleannofalseGet an AI-generated summary of each result. Alias of summary.
summarybooleannofalseReturn an LLM-generated summary of each result.
summary_querystringno-Custom summary prompt (only when summary=True)
livecrawlenumno"fallback"never | fallback | always. Fetch a fresh crawl instead of cached content. · Allowed: always, fallback, never, preferred
subpagesnumberno0Number of related subpages to fetch alongside each main result. · Range: 0 – 10
subpage_targetstringno-Keyword guiding which subpages to fetch (e.g. “pricing”).
code_tokensenumno"dynamic"Max tokens of code to include when scraping code-heavy pages. · Allowed: dynamic, 5000, 10000, 20000
disable_formattingbooleannofalseSkip the EmpirioLabs Markdown formatting (Sources / References / Code blocks added by the renderer). The raw upstream Exa search JSON is returned for power users / agents that want to parse the schema directly.

Notes

Operations

  • search, similar pages, contents, code search

Search types

  • Auto, Instant (sub-150ms), Neural (embeddings), Deep Search (Exa 2.1), Fast

Categories

  • Company, Research Paper, News, PDF, GitHub, Tweet, Personal Site, LinkedIn Profile, Financial Report

Machine-readable schema: GET https://api.empiriolabs.ai/v1/models/exa-search.