---
ref: tool:exa/get-page-contents
name: Read web pages
company: company:exa
workflows: [workflow:personal-email-enrichment]
access: [mcp, api]
tags: [capability:scrape-web, category:web-search, has:api, has:mcp]
docs: https://exa.ai/docs/reference/get-contents
updated: 2026-09-29
---

# Read web pages

Returns clean text, the most relevant highlights or a summary for one or more known URLs, from Exa's cache or a fresh crawl.

## 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_fetch_exa`.

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

### API (official)

- Base URL: https://api.exa.ai
- Endpoint: `POST /contents`
- 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 anything else, confirm access with the cheapest read-only call, like a list or a search. Never send or change anything to test access.

## Rules

- Ask the user before anything that sends messages, costs money, or changes data, and say how many records it touches. One approval covers a batch the user has seen.
- Never print API keys.
