exa/agent
Search and scrape the web with Exa Agent · Web Research through one Spiral API key. Researches a question across the web, builds or enriches lists of records, and answers in text or a JSON schema with sources. It runs in the background and returns structured JSON. Pay as you go, with no subscription.
Pricing
$0.0156 per run at minimal effort ($0.0325 low, $0.13 medium, $0.65 high, $1.30 xhigh). Auto and ultra: $0.13 per compute unit and $0.0065 per search, each run capped at $6.50 ($26.00 ultra) or its budget. Contact lookups: $0.026 per email, $0.091 per phone number.
Limits
- Runs
- In the background
- Returns
- json
- Longest queue wait
- 1 hour
- Run deadline
- 190 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
| Field | Kind | Default | Description |
|---|---|---|---|
query required | text | — | Natural-language question or instructions for the request. |
input | JSON | — | Records to process and records or entities to exclude from the answer. |
budget | JSON | — | Per-run cost or contact-enrichment limits, depending on effort, and an |
effort | one of minimal, low, medium, high, xhigh, auto, ultra | auto | Cost and reasoning effort preference for the run. |
metadata | JSON | — | Caller-provided metadata stored with the run. |
outputSchema | JSON | — | JSON Schema for validated structured output in |
systemPrompt | text | — | Additional instructions that guide generated output or agent behavior. Use this for source preferences, novelty constraints, duplication constraints, or other behavior guidance. |
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/agent",
"input": {
"query": "<query>"
}
}'Frequently asked questions
How much does Exa Agent · Web Research cost?
$0.0156 per run at minimal effort ($0.0325 low, $0.13 medium, $0.65 high, $1.30 xhigh). Auto and ultra: $0.13 per compute unit and $0.0065 per search, each run capped at $6.50 ($26.00 ultra) or its budget. Contact lookups: $0.026 per email, $0.091 per phone number. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use Exa Agent · Web Research through an API?
Send `POST /v1/runs` with `"provider": "exa"`, `"model": "exa/agent"` 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 Agent · Web Research?
No. Spiral runs it on its own Exa account and charges your Spiral balance.
Can my AI agent use Exa Agent · Web Research?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.