
Web search engine for finding pages, retrieving similar pages, crawling, and dedicated code search across the open web for AI agents.
Web search engine for finding pages, retrieving similar pages, crawling, and dedicated code search across the open web for AI agents.
exa-search/v1/searchLive pay-as-you-go rates from the EmpirioLabs catalog. You are billed only for what you use, with no monthly minimum.
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 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"
}'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())Request parameters supported by the Exa Search API on EmpirioLabs. Defaults apply when a field is omitted.
| Parameter | Type | Default | Range / values | Description |
|---|---|---|---|---|
| query | string | - | - | Search query (or URL for `similar`) |
| operation | enum | search | search, similar, contents, code | 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. |
| search_type | enum | auto | auto, lite, deep-lite, deep | Search mode: auto, lite, deep-lite or deep. auto balances quality and speed, lite is the fastest and lowest priced, deep-lite runs a light multi-step search and deep... |
| type | enum | auto | auto, lite, deep-lite, deep | Search mode: auto, lite, deep-lite or deep. auto balances quality and speed, lite is the fastest and lowest priced, deep-lite runs a light multi-step search and deep... |
| num_results | number | 10 | 1 to 100 | How many results to return (1-100). |
| category | enum | - | company, publication, news, personal site, financial report, ... | Restrict results to a category. company and people take no start_published_date or end_published_date, and people takes no exclude_domains. |
| include_domains | string | - | - | Comma-separated allowlist of domains. Only results from these domains are returned (e.g. arxiv.org, github.com). |
| exclude_domains | string | - | - | Comma-separated denylist of domains to filter out of results. Not available with category people. |
| user_location | string | - | - | The end user's location, to localize results: a two-letter ISO 3166-1 country code such as US, or an object with country, latitude and longitude (decimal degrees).... |
| moderation | boolean | false | - | Filter unsafe content out of the results. Available with operation search. |
| start_published_date | string | - | - | Only return results published after this date. ISO 8601. Not available with category company or people. |
| end_published_date | string | - | - | Only return results published before this date. ISO 8601. Not available with category company or people. |
| return_text | boolean | true | - | Return each result's full page text. Alias of text. |
| show_content | boolean | true | - | Return each result's full page text. Alias of text. |
On EmpirioLabs, Exa Search is billed pay as you go: Search, Auto (up to 10 results) $0.0084 per search; Search, Lite (up to 10 results) $0.0048 per search; Search, Deep Lite (up to 10 results) $0.0144 per search; Search, Deep (up to 10 results) $0.0144 per search; Find Similar (up to 10 results) $0.0048 per search; Each Result Above 10 $0.0012 per page; Result Summary $0.0012 per page; Contents: Text, Highlights or Summary (each) $0.0012 per page; Code Search $0.0048 per code search. The live rate card on this page always matches what the API charges.
Exa Search is served through POST /v1/search on api.empiriolabs.ai with standard bearer-token authentication.
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.
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.
Check out our pricing or reach out if you want your own model deployed on our stack.