---
ref: tool:firecrawl/search-web
name: Search the web
company: company:firecrawl
workflows: []
access: [mcp, cli, api]
tags: [capability:research-accounts, category:scraper, has:api, has:cli, has:mcp]
docs: https://docs.firecrawl.dev/api-reference/endpoint/search
updated: 2026-09-26
---

# Search the web

Returns web search results with title, description and URL, and can scrape each result's content in the same call.

## 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": { "firecrawl": { "url": "https://mcp.firecrawl.dev/v2/mcp-oauth" } } }
```

Call the MCP tool `firecrawl_search`.

Server URL: https://mcp.firecrawl.dev/v2/mcp-oauth

### CLI (official)

Install the command, then confirm it runs.

```sh
npm install -g firecrawl-cli
firecrawl --version
```

Run `firecrawl search`.

Set `$FIRECRAWL_API_KEY` in your environment first (get a key: https://www.firecrawl.dev/app/api-keys).

### API (official)

- Base URL: https://api.firecrawl.dev/v2
- Endpoint: `POST /search`
- Auth: send the header `Authorization: Bearer $FIRECRAWL_API_KEY`
- Get a key: https://www.firecrawl.dev/app/api-keys
- Docs: https://docs.firecrawl.dev/api-reference/introduction

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.
