Just want working code?
Stop reading. Use Exa’s Dashboard Onboarding to generate a perfect integration prompt for your coding agent in under one minute.
Welcome
We’re honored that you’re reading our docs in 2026. These docs serve two audiences: human readers, and coding agents that should read this guide instead.Why choose Exa?
Exa is a custom search engine built for AIs. Our API is the only that offers:Search types for any agent
Whether you're building a fast chatbot or a deep research tool, Exa has custom search types with appropriate latency-quality profiles, from ~250 ms instant search to 12-40 second deep-reasoning search.
Search types for any agent
Whether you're building a fast chatbot or a deep research tool, Exa has custom search types with appropriate latency-quality profiles, from ~250 ms instant search to 12-40 second deep-reasoning search.
| Type | Speed | Best For |
|---|---|---|
auto | ~1 second | Default |
instant | ~250 ms | Real-time apps (e.g., chat, voice) |
fast | ~450 ms | Speed with minimal quality sacrifice |
deep-lite | 4 seconds | Lightweight synthesized search output |
deep | 4-15 seconds | Complex queries requiring multi-step reasoning with structured outputs |
deep-reasoning | 12-40 seconds | Higher-reasoning synthesized output for harder research tasks |
10x token-efficient contents
LLMs just want dense information! At Exa, we train models that take full webpages and condense them into just the tokens an LLM needs. We can also use LLMs to process information on our end, returning structured outputs or grounded answers.
10x token-efficient contents
LLMs just want dense information! At Exa, we train models that take full webpages and condense them into just the tokens an LLM needs. We can also use LLMs to process information on our end, returning structured outputs or grounded answers.
| Type | Description |
|---|---|
| Structured outputs | Use output_schema with any search type to extract structured JSON from search results |
| LLM summaries | AI-generated overviews of each result’s content |
| Grounded answers | Use output_schema on /search for grounded text or structured extraction |
| Type | Description |
|---|---|
| Highlights | 10x token efficient extracts of only the relevant tokens from a webpage. 4000 characters recommended. |
| Full text | Full webpage text, when full comprehensiveness needed |
Category-specific search
Agents can parallel process gigantic quantities of precise information. Exa has custom indexes of 1B+ people, 50M+ companies, 100M+ research papers, and more. Use categories when you already know the retrieval surface you need.
Category-specific search
Agents can parallel process gigantic quantities of precise information. Exa has custom indexes of 1B+ people, 50M+ companies, 100M+ research papers, and more. Use categories when you already know the retrieval surface you need.
| Category | Best For |
|---|---|
company | 50M+ company pages and metadata |
people | 1B+ people and metadata (e.g., job, education) |
research paper | 100M+ full papers |
news | Current events, journalism |
personal site | Blogs, personal pages |
financial report | SEC filings, earnings reports |
Common patterns
Web retrieval with highlights
Give any agent the ability to search the web in real time.
Web retrieval with highlights
Give any agent the ability to search the web in real time.
Deep Search for data enrichment / structured output
Use deeper modes when you want Search to synthesize across sources and return structured output.
Deep Search for data enrichment / structured output
Use deeper modes when you want Search to synthesize across sources and return structured output.
output_schema, system_prompt, and stream work across all search types. For more demanding
synthesis, prefer deeper search types like deep-lite or deep.Company/People research
Find and enrich companies/people with dozens of fields.
Company/People research
Find and enrich companies/people with dozens of fields.
Human Quickstart
Get your API key from the Exa Dashboard, then set it as an environment variable:- macOS/Linux
- Windows
Next
- Contents API - Extract clean content from any URL
- Search API Reference - Full API reference with all parameters
- MCP Setup - Connect your AI assistant to Exa
- SDKs - Python and JavaScript SDK docs