Key Benefits
- Token efficient: Use
highlightsto get key excerpts relevant to your query, reducing token usage by 10x compared to full text, without adding latency. - Specialized index coverage: State of the art search performance on people, company, and code using Exa’s in-house search indexes.
- Incredible speed: From
autofor highest quality toinstantfor sub-200ms latency, Exa provides the fastest search available without compromising on quality—enabling real-time workflows like autocomplete and live suggestions.
Request Fields
Thequery parameter is required for all search requests. The remaining fields are optional. See the API Reference for complete parameter details.
| Field | Type | Notes | Example |
|---|---|---|---|
| query | string | The search query. Supports long, semantically rich descriptions for finding niche content. | ”blog post about embeddings and vector search” |
| type | string | Search method: auto (highest quality), instant (lowest latency), deep (comprehensive). | “auto” |
| numResults | int | Number of results to return (1-100). Defaults to 10. | 10 |
| highlights | bool/obj | Return token-efficient excerpts most relevant to your query. You can also request full text if needed—see the API Reference. | { "maxCharacters": 2000 } |
| maxAgeHours | int | Maximum age of indexed content in hours. If older, fetches with livecrawl. 0 = always livecrawl, -1 = never livecrawl (cache only). | 24 |
| category | string | Target specific content types: company, people, tweet, news | ”company” |
Search Types
Thetype parameter selects the search method:
-
auto(default): Exa’s highest quality search. Intelligently combines neural and other search methods. -
instant: Lowest latency search optimized for real-time applications like autocomplete or live suggestions. -
deep: Comprehensive search with automatic query expansion and detailed context. Best for research tasks requiring thorough coverage.
Token Efficiency
Choosing the right content mode can significantly reduce token usage while maintaining answer quality.| Mode | Best For |
|---|---|
| text | Deep analysis, when you need full context, comprehensive research |
| highlights | Factual questions, specific lookups, multi-step agent workflows |
| summary | Quick overviews, structured extraction, when you control the output size |
maxCharacters to cap token usage.
Verbosity Settings
When usingtext, control how much content is returned with the verbosity parameter:
| Content Type | Compact | Standard | Full |
|---|---|---|---|
| Main body text | ✓ | ✓ | ✓ |
Image placeholders (![], ![alt]) | ✓ | ✓ | |
| Infobox/metadata tables | ✓ | ✓ | |
| Navigation menus | ✓ | ✓ | |
| Footer content | ✓ | ||
| Legal/copyright notices | ✓ | ||
| Site-wide links (About, Privacy, etc.) | ✓ |
Content Freshness
Control whether results come from Exa’s index or are freshly crawled usingmaxAgeHours:
maxAgeHours: 24: Use cache if less than 24 hours old, otherwise livecrawl. Good for daily-fresh content.maxAgeHours: 1: Use cache if less than 1 hour old. Good for near real-time data.maxAgeHours: 0: Always livecrawl (ignore cache). Use when cached data is unacceptable.maxAgeHours: -1: Never livecrawl (cache only). Maximum speed, historical/static content.- Omit (recommended): Default behavior — livecrawl as fallback if no cache exists.
Category Filters
Usecategory to target specific content types where Exa has specialized coverage:
| Category | Best For |
|---|---|
company | Company pages, LinkedIn company profiles |
people | Multi-source data on people, LinkedIn profiles |
research paper | Academic papers, arXiv, peer-reviewed research |
news | Current events, journalism |
tweet | Posts from X/Twitter |
personal site | Blogs, personal pages (Exa’s unique strength) |
financial report | SEC filings, earnings reports |

