Spiral gives your agent every tool with one account. Browse the tools →

ExaWebAvailable now

exa/answer

Search and scrape the web with Exa Answer · Cited Answers through one Spiral API key. Answers a question from a live web search, with the sources it cites and an optional JSON output schema. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

Run time p50 · last 24 hours
3.6s
Success rate · last 24 hours
100.0%

Pricing

$0.0065 per answer.

Limits

Runs
In the background
Returns
json
Longest queue wait
1 hour
Run deadline
5 minutes
Longest run, end to end
225 minutes
Largest inline input
1 MB
Largest input file
500 MB
Largest output
5 GB
Outputs per run
16

Input

FieldKindDefaultDescription
query requiredtext—

Natural-language question or instructions for the request.

texttrue or falsefalse

If true, returns full page text with default settings. If false, disables text return.

modelone of
exa, exa-pro, exa-research, exa-fast
exa

The model used to generate the answer.

outputSchemaJSON—

A JSON Schema Draft 7 specification for the desired answer structure. When provided, the answer is returned as a structured object matching the schema instead of a plain string.

systemPrompttext—

Additional instructions that guide generated output or agent behavior. Use this for source preferences, novelty constraints, duplication constraints, or other behavior guidance.

userLocationJSON—

The end user's location, as a two-letter ISO 3166-1 country code (e.g. US) or an object with country, a latitude and longitude pair, or both. The country localizes results. Coordinates are used only for queries that name no place but depend on where the user is, such as "coffee near me". They do not set a country, so send country with them to localize results. Send only the precision your use case needs.

Same request in code

curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "exa",
    "model": "exa/answer",
    "input": {
      "query": "<query>"
    }
  }'

Frequently asked questions

How much does Exa Answer · Cited Answers cost?

$0.0065 per answer. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

How do I use Exa Answer · Cited Answers through an API?

Send `POST /v1/runs` with `"provider": "exa"`, `"model": "exa/answer"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

Do I need an account with Exa to use Exa Answer · Cited Answers?

No. Spiral runs it on its own Exa account and charges your Spiral balance.

Can my AI agent use Exa Answer · Cited Answers?

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.