Exa searches the web, retrieves page content, and answers questions with citations. Use Agent for multi-step research and supply a JSON schema when you need structured results with field-level citations.
Migration notes. Use Agent for multi-step research. Sim routes workflows configured with the old Research operation to Agent and maps their former research-model setting to an effort level. Find Similar Links remains a legacy operation; prefer the current Search API for new workflows. Use maxAgeHours for content freshness instead of the legacy livecrawl setting.
Search the web, retrieve page content, answer questions with citations, or run multi-step research with Exa Agent. Find Similar Links remains a legacy operation; prefer Search for new workflows.
Search the web using Exa AI. Returns relevant search results with titles, URLs, and text snippets.
Inputs and outputsParameter Type Required Description querystring Yes The search query to execute numResultsnumber No Number of results to return (1-100). Default: 10 typestring No Search type: "instant", "fast", "auto", "deep-lite", "deep", or "deep-reasoning". Default: "auto" includeDomainsstring No Comma-separated list of domains to include in results (e.g., "github.com, stackoverflow.com") excludeDomainsstring No Comma-separated list of domains to exclude from results (e.g., "reddit.com, pinterest.com") categorystring No Filter by category: company, publication, news, personal site, financial report, people textboolean No Include full text content in results (default: false) highlightsboolean No Include highlighted snippets in results (default: false) summaryboolean No Include AI-generated summaries in results (default: false) summaryQuerystring No Query to focus the generated summaries on a specific question subpagesnumber No Number of subpages to crawl per result (0-100). Default: 0 subpageTargetstring No Comma-separated keywords to target specific subpages (e.g., "docs,pricing,about") extrasLinksnumber No Number of links to extract from each result page (0-1000). Default: 0 extrasImageLinksnumber No Number of image URLs to extract from each result page (0-1000). Default: 0 outputSchemajson No JSON Schema describing a synthesized answer to build from the results. Returned in structuredOutput. systemPromptstring No Additional guidance for generating the synthesized output userLocationstring No Two-letter ISO country code to localize results (e.g., "US") maxAgeHoursnumber No Cache freshness in hours (-1 to 720). 0 always crawls live, -1 uses cache only. Cannot be combined with livecrawl. livecrawlTimeoutnumber No Live crawl timeout in milliseconds (max 90000). Default: 10000 livecrawlstring No Deprecated: use maxAgeHours instead. Live crawling mode: never, fallback, always, or preferred startPublishedDatestring No Only include results published on or after this ISO 8601 date (e.g., "2024-01-01" or "2024-01-01T00:00:00.000Z") endPublishedDatestring No Only include results published on or before this ISO 8601 date startCrawlDatestring No Deprecated: use startPublishedDate. Only include results crawled on or after this ISO 8601 date endCrawlDatestring No Deprecated: use endPublishedDate. Only include results crawled on or before this ISO 8601 date apiKeystring Yes Exa AI API Key
Parameter Type Description resultsarray Search results with titles, URLs, and text snippets ↳ id string Result identifier, usable as an id on the Get Contents operation ↳ title string The title of the search result ↳ url string The URL of the search result ↳ publishedDate string Date when the content was published ↳ author string The author of the content ↳ summary string A brief summary of the content ↳ favicon string URL of the site's favicon ↳ image string URL of a representative image from the page ↳ text string Text snippet or full content from the page ↳ highlights array Relevant snippets extracted from the page ↳ highlightScores array Similarity score for each highlight ↳ subpages json Crawled subpages of the result ↳ entities json Structured entity data for company, people, and publication results ↳ extras json Extracted links and image links when requested ↳ score number Relevance score. Only returned by the legacy neural search type requestIdstring Exa request identifier, useful for support structuredOutputjson Synthesized answer matching outputSchema, when one was supplied groundingjson Field-level citations backing the synthesized output
Retrieve the contents of webpages using Exa AI. Returns the title, text content, and optional summaries for each URL.
Inputs and outputsParameter Type Required Description urlsstring No Comma-separated list of URLs to retrieve content from (1-100). Provide either urls or ids, not both. idsstring No Comma-separated list of result IDs from a prior Exa search (1-100). Provide either urls or ids, not both. textboolean No If true, returns full page text with default settings. If false, disables text return. summaryboolean No Include an AI-generated summary of each page (default: false) summaryQuerystring No Query to guide the summary generation subpagesnumber No Number of subpages to crawl from the provided URLs (0-100) subpageTargetstring No Comma-separated keywords to target specific subpages (e.g., "docs,tutorial,about") highlightsboolean No Include highlighted snippets in results (default: false) extrasLinksnumber No Number of links to extract from each page (0-1000). Default: 0 extrasImageLinksnumber No Number of image URLs to extract from each page (0-1000). Default: 0 maxAgeHoursnumber No Cache freshness in hours (-1 to 720). 0 always crawls live, -1 uses cache only. Cannot be combined with livecrawl. livecrawlTimeoutnumber No Live crawl timeout in milliseconds (max 90000). Default: 10000 livecrawlstring No Deprecated: use maxAgeHours instead. Live crawling mode: never, fallback, always, or preferred apiKeystring Yes Exa AI API Key
Parameter Type Description resultsarray Retrieved content from URLs with title, text, and summaries ↳ id string Exa identifier for the retrieved document ↳ url string The URL that content was retrieved from ↳ title string The title of the webpage ↳ text string The full text content of the webpage ↳ summary string AI-generated summary of the webpage content ↳ highlights array Relevant snippets extracted from the page ↳ highlightScores array Similarity score for each highlight ↳ subpages json Crawled subpages of the document ↳ entities json Structured entity data for company, people, and publication pages ↳ extras json Extracted links and image links when requested statusesjson Per-URL crawl outcome, showing which pages succeeded and whether they came from cache requestIdstring Exa request identifier, useful for support
Find webpages similar to a given URL using Exa AI. Deprecated by Exa in favor of Search — prefer Search for new workflows.
Inputs and outputsParameter Type Required Description urlstring Yes The URL to find similar links for numResultsnumber No Number of similar links to return (1-100). Default: 10 textboolean No Whether to include the full text of the similar pages includeDomainsstring No Comma-separated list of domains to include in results (e.g., "github.com, stackoverflow.com") excludeDomainsstring No Comma-separated list of domains to exclude from results (e.g., "reddit.com, pinterest.com") excludeSourceDomainboolean No Exclude the source domain from results (default: false) categorystring No Filter by category: company, publication, news, personal site, financial report, people highlightsboolean No Include highlighted snippets in results (default: false) summaryboolean No Include AI-generated summaries in results (default: false) maxAgeHoursnumber No Cache freshness in hours (-1 to 720). 0 always crawls live, -1 uses cache only. Cannot be combined with livecrawl. livecrawlTimeoutnumber No Live crawl timeout in milliseconds (max 90000). Default: 10000 livecrawlstring No Deprecated: use maxAgeHours instead. Live crawling mode: never, fallback, always, or preferred apiKeystring Yes Exa AI API Key
Parameter Type Description similarLinksarray Similar links found with titles, URLs, and text snippets ↳ id string Exa identifier for the similar page ↳ title string The title of the similar webpage ↳ url string The URL of the similar webpage ↳ text string Text snippet or full content from the similar webpage ↳ summary string AI-generated summary of the similar webpage ↳ highlights array Relevant snippets extracted from the page ↳ score number Similarity score indicating how similar the page is requestIdstring Exa request identifier, useful for support
Get an AI-generated answer to a question with citations from the web using Exa AI.
Parameter Type Required Description querystring Yes The question to answer textboolean No Include the full page text of each cited source (default: false). This does not affect the answer itself. outputSchemajson No JSON Schema describing the answer shape. When supplied, the answer is returned as a structured object instead of a string. apiKeystring Yes Exa AI API Key
Parameter Type Description answerjson AI-generated answer to the question. A string, or an object matching outputSchema when one was supplied. citationsarray Sources and citations for the answer ↳ id string Exa identifier for the cited source ↳ title string The title of the cited source ↳ url string The URL of the cited source ↳ text string Full page text of the cited source, when text is enabled ↳ author string The author of the cited source ↳ publishedDate string Publication date of the cited source requestIdstring Exa request identifier, useful for support
Run a deep research task with Exa Agent. Handles multi-step list building, enrichment, and research, returning a written answer with field-level citations and optional structured output.
Parameter Type Required Description querystring Yes The research question or instructions for the agent effortstring No Cost and depth tradeoff: minimal, low, medium, high, xhigh, or auto (default: auto) outputSchemajson No JSON Schema describing the structured result to return. Returned in the structured output. systemPromptstring No Additional guidance for how the agent should behave or format its answer previousRunIdstring No ID of a completed agent run to continue from, for follow-up questions apiKeystring Yes Exa AI API Key
Parameter Type Description runIdstring Identifier of the agent run, reusable as previousRunId statusstring Final status of the agent run stopReasonstring Why the agent stopped, such as schema_satisfied textstring The written answer produced by the agent structuredjson Structured result matching outputSchema, when one was supplied groundingjson Field-level citations backing the agent output researcharray The agent answer in the shape the retired Research operation emitted, so workflows that reference it keep resolving