Contents
Get the full page contents, summaries, and metadata for a list of URLs.
Returns instant results from our cache, with automatic live crawling as fallback for uncached pages.
Get your Exa API key
Authorizations
Pass your Exa API key in the x-api-key header. You can also authenticate with Authorization: Bearer .
Body
- Option 1
- Option 2
Provide either ids or urls, but not both.
Document IDs obtained from searches.
1 - 100 elements1 - 2048URLs to crawl (backwards compatible with the ids parameter).
1 - 100 elements1 - 2048Enterprise-only compliance mode. Set to hipaa for HIPAA mode. Requires cache-only retrieval with supported parameters. See the HIPAA docs for details.
hipaa An opaque ID your platform assigns to the end user this request is made for, such as a UUID. Lets Exa attribute usage to that end user rather than your whole team. Must not contain personal information such as an email address, phone number, username, or name. Hash such values before sending them. 1 to 64 characters: letters, digits, underscores, and hyphens. Retained even when your team has Zero Data Retention enabled. Does not affect results.
1 - 64^[A-Za-z0-9_-]+$"7f3a9c52-1d4e-4b8a-9e60-2c5d8a1f0b37"
Text extraction options for each result.
Text snippets the LLM identifies as most relevant from each page.
Summary of the webpage.
Extra parameters to pass.
The timeout for livecrawling in milliseconds.
0 < x <= 90000Maximum age of cached content, in hours, up to 720. Cached content younger than this is used, and older pages are fetched fresh. 0 always fetches fresh content and -1 always uses the cache. When omitted, cached content is used when available and pages without it are fetched live.
-1 <= x <= 720Return the newest stored version of each page as of this instant. Accepts an ISO 8601 date-time (2026-01-15T00:00:00Z) or a date-only value (2026-01-15), which is interpreted as midnight UTC. Historical requests are served from stored versions only and never fetch the live page.
The number of subpages to crawl. The actual number crawled may be limited by system constraints.
0 <= x <= 100Term to find specific subpages of search results. Can be a single string or an array of strings.
1 - 100Deprecated. Use highlights or text instead. Returns page contents as a combined context string.
Deprecated. Use maxAgeHours instead. Does not guarantee freshly fetched content. Cannot be combined with maxAgeHours.
never, always, fallback, preferred Deprecated. Use snapshotAsOf instead. Alias of snapshotAsOf with identical behavior.
Response
OK
Unique identifier for the request.
Status information for each requested URL or document ID.
Estimated dollar cost of the request. Which fields appear depends on the endpoint.
Server-side processing time in milliseconds. May exclude output synthesis time, so it can be lower than end-to-end latency.
Deprecated. Use results[].highlights or results[].text instead. Combined context string from search results.