[Integrations](https://spiral.ai/integrations) › [Grok](https://spiral.ai/integrations/grok) › [Exa web search](https://spiral.ai/integrations/grok/exa-web-search)

# How to Use Exa web search in Grok

Exa web search returns relevant web pages with titles, URLs, and optional page text, excerpts, or summaries. Use it to find sources for a question and read supporting passages in the same search.

|  |  |
| --- | --- |
| Model | Exa web search |
| Available through | Exa |
| Category | Web |
| Price | $0.0091 per search with 10 results ($0.0052 lite or instant, $0.0156 deep, $0.0195 deep reasoning). Each result after 10: $0.0013. Summaries: $0.0013 per result. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Exa web search in Grok

- Use Exa web search to compare Stripe and Adyen webhook retry behavior using their official documentation. Show a supporting passage and link for each finding.
- Use Exa web search to find five research papers about evaluating retrieval-augmented generation. Give me their titles, links, and excerpts explaining what they evaluate.
- Use Exa web search to find NVIDIA's recent Blackwell announcements. Summarize the returned pages and link each announcement.
- Use Exa web search to compare how Notion and Airtable describe project management on their public product pages. Include the passages behind your comparison.
- Use Exa web search to find City of Austin pages explaining public electric vehicle charging programs. Give me the relevant excerpts and source links.

## How to set up Exa web search in Grok

Pick the way that suits you. Each takes about two minutes.

### Use the Grok connector

1. **Add a custom connector**: In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

3. **Check that it is connected**: Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

### Use the Spiral skill

1. **Send Grok this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Exa web search**: One request; the result comes back by polling or a webhook.

```bash
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/search",
    "input": {
      "query": "<query>"
    }
  }'
```

Then paste one of the prompts above: Grok finds Exa web search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/grok

## Exa web search tools and prices

- [Exa Search · Web Search](https://spiral.ai/tools/exa/exa/search) (Exa): $0.0091 per search with 10 results ($0.0052 lite or instant, $0.0156 deep, $0.0195 deep reasoning). Each result after 10: $0.0013. Summaries: $0.0013 per result.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| type |  | auto | The search mode to use. |
| context |  | — | Deprecated. Use `highlights` or `text` instead. Returns page contents as a combined context string. |
| category | company, publication, news, personal site, financial report, people | — | A data category to focus on. |
| contents |  | — | Content options for text, highlights, summary, extras, and freshness controls. |
| objective |  | — | The broader goal this search serves: the task the caller is working on, beyond the query itself. |
| compliance | hipaa | — | Enterprise-only compliance mode. Set to `hipaa` for HIPAA mode. Requires cache-only retrieval with supported parameters. See the HIPAA docs for details. |

## What can you do with Exa web search in Grok?

Get a comparison you can check against the original pages. Exa gives a chat app source links and extracted passages for explaining products, research, or public announcements.

### Find evidence for a technical decision

Search for PostgreSQL and ClickHouse documentation about analytical workloads, then compare the returned passages and link each recommendation to its source.

### Prepare a software migration

Find Pydantic migration guides and release notes, then use the relevant passages to identify changes that affect a project's validation code.

### Compare public product documentation

Find Stripe and Adyen documentation about webhook retries and build a comparison with a supporting URL for each behavior.

### Build a research reading list

Search for papers evaluating retrieval-augmented generation, then organize the returned titles, URLs, and excerpts by evaluation method.

### Follow company announcements

Search regularly for NVIDIA and AMD product announcements, compare returned URLs with previous searches, and summarize newly found pages.

### Check sources for an article

Find government and company pages supporting a draft about electric vehicle charging, then map the returned passages to the claims they support.

### Review public business positioning

Find Notion and Airtable product pages discussing project management, then compare how each company describes its workflows using source excerpts.

### Collect background for a market briefing

Search for public reports and company announcements about battery recycling in the United States, then assemble a briefing with links to the returned sources.

## Overview

- [Exa](https://spiral.ai/providers/exa)
- [All Grok guides](https://spiral.ai/integrations/grok)

## Exa web search in other agents

- [Amp](https://spiral.ai/integrations/amp/exa-web-search)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/exa-web-search)
- [Claude](https://spiral.ai/integrations/claude-desktop/exa-web-search)
- [Claude Code](https://spiral.ai/integrations/claude-code/exa-web-search)
- [Cline](https://spiral.ai/integrations/cline/exa-web-search)
- [Codex](https://spiral.ai/integrations/codex/exa-web-search)
- [Cursor](https://spiral.ai/integrations/cursor/exa-web-search)
- [Devin](https://spiral.ai/integrations/devin/exa-web-search)
- [dots](https://spiral.ai/integrations/dots/exa-web-search)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/exa-web-search)
- [Gemini](https://spiral.ai/integrations/gemini/exa-web-search)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/exa-web-search)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/exa-web-search)
- [goose](https://spiral.ai/integrations/goose/exa-web-search)
- [Grok Build](https://spiral.ai/integrations/grok-build/exa-web-search)
- [Instinct](https://spiral.ai/integrations/instinct/exa-web-search)
- [Manus](https://spiral.ai/integrations/manus/exa-web-search)
- [Muse](https://spiral.ai/integrations/muse/exa-web-search)
- [Muse Code](https://spiral.ai/integrations/muse-code/exa-web-search)
- [n8n](https://spiral.ai/integrations/n8n/exa-web-search)
- [Notion](https://spiral.ai/integrations/notion/exa-web-search)
- [OpenClaw](https://spiral.ai/integrations/openclaw/exa-web-search)
- [opencode](https://spiral.ai/integrations/opencode/exa-web-search)
- [Perplexity](https://spiral.ai/integrations/perplexity/exa-web-search)
- [Raycast](https://spiral.ai/integrations/raycast/exa-web-search)
- [VS Code](https://spiral.ai/integrations/vscode/exa-web-search)
- [Windsurf](https://spiral.ai/integrations/windsurf/exa-web-search)
- [Zapier](https://spiral.ai/integrations/zapier/exa-web-search)

## More Grok guides

- [Exa web research](https://spiral.ai/integrations/grok/exa-web-research)
- [Firecrawl batch web scraping](https://spiral.ai/integrations/grok/firecrawl-batch-web-scraping)
- [Exa web page content](https://spiral.ai/integrations/grok/exa-web-page-content)
- [Firecrawl developer search](https://spiral.ai/integrations/grok/firecrawl-developer-search)
- [Exa similar web pages](https://spiral.ai/integrations/grok/exa-similar-web-pages)
- [Firecrawl web page content](https://spiral.ai/integrations/grok/firecrawl-web-page-content)

## Questions about Exa web search in Grok

**Can Grok use Exa web search?**

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run Exa web search like any built-in tool.

**How much does Exa web search cost in Grok?**

$0.0091 per search with 10 results ($0.0052 lite or instant, $0.0156 deep, $0.0195 deep reasoning). Each result after 10: $0.0013. Summaries: $0.0013 per result. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok plan is separate.

**Do I need an Exa account to use Exa web search in Grok?**

No. Spiral runs Exa web search on its own Exa account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Exa web search in Grok?**

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

**Does Grok wait while Exa web search runs?**

Exa web search runs in the background. Grok starts the run, checks on it and gives you the json when it's ready.

**How many pages can one Exa search return?**

A search can return up to 100 results, with fewer returned when fewer relevant pages are available. Exa does not support pagination, so that result set is not an exhaustive export.

**Can Exa read pages behind a login or paywall?**

Exa's crawler does not bypass logins, paywalls, or CAPTCHAs. A search result should not be treated as access to the protected content behind it.

**How fresh is content described as live?**

Exa defines live content as a page copy fetched within the last 60 seconds. That describes the retrieved page copy, not when the publisher last updated its information.

**Are Exa highlights generated summaries?**

Highlights are extracted passages from the returned pages, selected for relevance to the query. They provide source wording rather than a generated overview.

**Does Exa handle PDFs and pages that use JavaScript?**

Exa's content extraction handles PDFs, JavaScript-rendered pages, and complex layouts. Its search coverage also spans multiple languages.

