exa/answer
Get a direct, cited answer to a question. Retrieve relevant sources and generate a direct answer or detailed summary with source citations.
Example output — click Run to generate your own
API README
Exa Answer
Get a direct, cited answer to a question. Retrieves relevant sources and generates a direct answer or detailed summary with source citations.
Highlights
Cited answers — Returns a natural-language answer with inline source citations, so you can verify claims.
Multiple retrieval modes — Choose from auto, fast, instant, deep-lite, deep, or deep-reasoning to balance speed vs. quality.
Structured output — Optionally supply a JSON Schema to get structured answers instead of free text.
Full citation text — Include the full page text of each citation for deeper context.
Pricing
$0.08 per request.
When to Use
| ✅ Good fit | ❌ Consider alternatives |
|---|---|
| Agent Q&A workflows | Real-time chat completions |
| Research fact-checking | Creative writing |
| RAG with citations | Image/video analysis |
| Report generation | Broad web crawling |
Technical Specs
| Spec | Value |
|---|---|
| Input | Natural language question |
| Output | Answer string + citations array |
| Retrieval modes | auto, fast, instant, deep-lite, deep, deep-reasoning |
| Structured output | Optional via outputSchema |
| Execution | Sync (direct response) |
| Provider | Exa (api.exa.ai) |

