Exa Search API

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

ExaResearch & SearchProprietary Endpoint

About Exa Search

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

web searchsemantic search

Exa Search specs

Model ID
exa-search
Provider
Exa
Category
Research & Search
Input
text
Output
text
Endpoints
POST /v1/search

Exa Search API pricing

Live pay-as-you-go rates from the EmpirioLabs catalog. You are billed only for what you use, with no monthly minimum.

Type
Spec
Rate
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 Search
per 1k tokens
$0.0060
Compare on the full pricing page

How to call the Exa Search API

Exa Search answers live queries through POST /v1/search. Send the search query with the model id exa-search and read structured results from the response. Get an API key from the EmpirioLabs dashboard.

cURL
curl https://api.empiriolabs.ai/v1/search \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "exa-search",
    "query": "latest developments in solid-state batteries"
  }'
Python
import requests

response = requests.post(
    "https://api.empiriolabs.ai/v1/search",
    headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
    json={
        "model": "exa-search",
        "query": "latest developments in solid-state batteries",
    },
)
print(response.json())
Full Exa Search API reference

Exa Search API parameters

Request parameters supported by the Exa Search API on EmpirioLabs. Defaults apply when a field is omitted.

ParameterTypeDefaultRange / valuesDescription
querystring--Search query (or URL for `similar`)
operationenumsearchsearch, similar, contents, codesearch | answer | research. Determines which Exa endpoint runs.
search_typeenumautoauto, instant, neural, deep, fastChoose the search algorithm: auto, neural, keyword, fast, or full. Alias of type.
typeenumautoauto, instant, neural, deep, fastauto | keyword | neural. Auto picks the best mode per query.
num_resultsnumber101 to 100How many results to return (1-100).
categoryenum-company, research paper, news, github, tweet, movie, song, pe...Restrict results to a category (research-paper, news, github, etc.).
include_domainsstring--Comma-separated allowlist of domains. Only results from these domains are returned (e.g. arxiv.org, github.com).
exclude_domainsstring--Comma-separated denylist of domains to filter out of results.
include_textstring--Comma-separated text snippets that must appear
exclude_textstring--Comma-separated text snippets to exclude
start_crawl_datestring--Only return results crawled after this date. ISO 8601 (e.g. 2024-01-01T00:00:00Z).
end_crawl_datestring--Only return results crawled before this date. ISO 8601.
start_published_datestring--Only return results published after this date. ISO 8601.
end_published_datestring--Only return results published before this date. ISO 8601.
18 more parameters in the docs

Good to know

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

Exa Search API: common questions

How much does the Exa Search API cost?

On EmpirioLabs, Exa Search is billed pay as you go: Search (1-25 results) $0.0060 per search; Search (26-100 results) $0.030 per search; Content (Text/Highlights/Summary) $0.0060 per page/feature. The live rate card on this page always matches what the API charges.

Which endpoint does Exa Search use?

Exa Search is served through POST /v1/search on api.empiriolabs.ai with standard bearer-token authentication.

Can I try Exa Search in the browser before integrating?

Yes. The EmpirioLabs playground runs Exa Search in the browser with the same parameters the API exposes, so you can test prompts before writing code.

How do I get a Exa Search API key?

Create an EmpirioLabs account, then generate a key under API Keys in the dashboard. Billing is pay-as-you-go credits, so you only pay for the requests you make.

Ready to use better endpoints?

Explore our models, or contact us about business inquiries, custom deployments, or anything else.