Skip to navigation

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
Model release date-
Input modalitiesText
Output modalitiesText
Context window-
Weight precision-
Featuresweb_search, semantic_search
Native inferenceNo
NewNo
Supported endpointsPOST /v1/search

Pricing

ChargeSpecRate
Search, Auto or Fast (up to 10 results)per search$0.0084
Search, Instant or Neural (up to 10 results)per search$0.0048
Search, Deep (up to 10 results)per search$0.0144
Find Similar (up to 10 results)per search$0.0048
Each Result Above 10per page$0.0012
Result Summaryper page$0.0012
Contents: Text, Highlights or Summary (each)per page$0.0012
Code Searchper request$0.0048

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 runs a web search, similar finds pages like a given URL, contents returns the text of given URLs, and code returns code context for a query. · Allowed: search, similar, contents, code
search_typeenumno"auto"Search algorithm: auto, instant, neural, deep, or fast. Alias of type. · Allowed: auto, instant, neural, deep, fast
typeenumno"auto"Search algorithm: auto, instant, neural, deep, or fast. 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, such as research paper, news, or github. · Allowed: company, research paper, news, github, tweet, movie, song, personal site, pdf, linkedin profile, financial report
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_textbooleannotrueReturn each result’s full page text. Alias of text.
show_contentbooleannotrueReturn each result’s full page text. Alias of text.
textbooleannotrueReturn each result’s 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. Not used by operation code.
highlightsbooleannofalseInclude relevant text snippets (“highlights”) per result. Not used by operation code.
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. Not used by operation code.
summarybooleannofalseReturn an LLM-generated summary of each result. Not used by operation code.
summary_querystringno-Custom summary prompt (only when summary=True)
livecrawlenumno-Fetch a fresh crawl instead of cached content: always, preferred, fallback or never. When omitted, Exa’s default applies. · 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_formattingbooleannofalseReturn the results as JSON instead of formatted Markdown.

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.