---
ref: tool:exa/search-web
name: Search the web
company: company:exa
workflows: []
access: [mcp, api]
tags: [capability:research-accounts, category:web-search, has:api, has:mcp]
docs: https://exa.ai/docs/reference/search
updated: 2026-09-27
---

# Search the web

Returns web pages that match a natural-language query, up to 100 per call, with their text, highlights or summaries, and can focus on company pages, people profiles or news.

Set `category` to `company` or `people` to find company pages and
professional profiles, and `type` to trade speed for depth, from `instant` to
`deep-reasoning`. Ask for page content in the same call with `contents`. The
MCP tool keeps a smaller set of options; for domain, date and category
filters, list `web_search_advanced_exa` in the server URL's `tools`
parameter, along with every other tool you want, since the list replaces the
defaults.

## Set up

Use the first option your agent supports.

### MCP (official, remote)

Add this server to your agent's MCP settings, then sign in when asked.

```json
{ "mcpServers": { "exa": { "url": "https://mcp.exa.ai/mcp?login" } } }
```

Call the MCP tool `web_search_exa`.

Server URL: https://mcp.exa.ai/mcp?login

### API (official)

- Base URL: https://api.exa.ai
- Endpoint: `POST /search`
- Auth: send the header `Authorization: Bearer $EXA_API_KEY`
- Get a key: https://dashboard.exa.ai/api-keys
- Docs: https://exa.ai/docs/get-started/quickstart

Before doing anything else, make one read-only call to confirm access.

## Rules

- Ask the user before anything that sends messages, costs money, or changes data.
- Never print API keys.
