> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zenrows.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> The Zenrows HTTP API serves Fetch and Extract (extract=auto) at https://api.zenrows.com/v1/, Crawl at https://api.zenrows.com/v1/crawls, and Batch at https://async.api.zenrows.com/v1. Fetch, Extract, Crawl and Batch are described in OpenAPI 3.1 at https://www.zenrows.com/openapi.json and listed in the RFC 9727 API catalog at https://www.zenrows.com/.well-known/api-catalog. Every endpoint also has its own page under /api-reference with its schema. Use the spec for exact parameter names and types. Crawl's endpoints, parameters and errors are also at https://docs.zenrows.com/crawl/endpoints.md. To call Zenrows from an agent, connect the MCP server at https://mcp.zenrows.com/mcp. To search these docs from an agent, connect the docs MCP server at https://docs.zenrows.com/mcp. Agent skills for Zenrows are published at https://github.com/ZenRows/cli and install with `npx skills add ZenRows/cli`.

# Welcome to Zenrows

> Get started with Zenrows' web data infrastructure, built for AI agents and applications: Fetch, Extract, Crawl, Batch, and Browser, available over the API, CLI, MCP, and SDKs.

Zenrows is web data infrastructure built for agents and applications. It gives them reliable access to the live web, including the protected web. That means sites defended by anti-bot systems, rendered dynamically in JavaScript, or built to block ordinary tools.

It's for developers and AI agents alike. It's just as useful for data, product, and GTM teams running web data workflows in production.

A small set of primitives, Fetch, Extract, Crawl, Batch, and Browser, handle the actual work of retrieving pages and extracting their data. Use them through whichever surface fits how you build: the API directly, the CLI, MCP, or an SDK.

**Simple by default. Deep when needed.**

## Get started

Set up Zenrows MCPPick your client, copy the config, and replace `YOUR_ZENROWS_API_KEY` with your key from the dashboard.

[Sign up free](https://app.zenrows.com/register)

> [tab] Claude Code
>
> Run this in your terminal:
>
> ```bash theme={"theme":"css-variables"}
> claude mcp add zenrows -e ZENROWS_API_KEY=YOUR_ZENROWS_API_KEY -- npx -y @zenrows/mcp
> ```
>
> [Claude Code guide](https://docs.zenrows.com/integrations/claude-code.md)

> [tab] Cursor
>
> Add this to `~/.cursor/mcp.json`. It runs the server locally with Node.js:
>
> ```json theme={"theme":"css-variables"}
> {
>   "mcpServers": {
>     "zenrows": {
>       "command": "npx",
>       "args": ["-y", "@zenrows/mcp"],
>       "env": {
>         "ZENROWS_API_KEY": "YOUR_ZENROWS_API_KEY"
>       }
>     }
>   }
> }
> ```
>
> [Cursor guide](https://docs.zenrows.com/integrations/cursor.md)

> [tab] Claude Desktop
>
> Add this to `claude_desktop_config.json`, then restart Claude Desktop:
>
> ```json theme={"theme":"css-variables"}
> {
>   "mcpServers": {
>     "zenrows": {
>       "command": "npx",
>       "args": ["-y", "@zenrows/mcp"],
>       "env": {
>         "ZENROWS_API_KEY": "YOUR_ZENROWS_API_KEY"
>       }
>     }
>   }
> }
> ```
>
> [Claude Desktop guide](https://docs.zenrows.com/integrations/claude-desktop.md)

> [tab] Windsurf
>
> Add this to `~/.codeium/windsurf/mcp_config.json`:
>
> ```json theme={"theme":"css-variables"}
> {
>   "mcpServers": {
>     "zenrows": {
>       "command": "npx",
>       "args": ["-y", "@zenrows/mcp"],
>       "env": {
>         "ZENROWS_API_KEY": "YOUR_ZENROWS_API_KEY"
>       }
>     }
>   }
> }
> ```
>
> [Windsurf guide](https://docs.zenrows.com/integrations/windsurf.md)

> [tab] Any MCP client
>
> Point any client that supports remote servers at the hosted server, with your key as a Bearer token. Nothing to install; OAuth sign-in also works.
>
> ```text theme={"theme":"css-variables"}
> https://mcp.zenrows.com/mcp
> Authorization: Bearer YOUR_ZENROWS_API_KEY
> ```
>
> [Zenrows MCP Server](https://docs.zenrows.com/mcp/overview.md)

> [tab] API
>
> Or skip MCP and fetch a page with one request:
>
> ```bash theme={"theme":"css-variables"}
> curl "https://api.zenrows.com/v1/?apikey=YOUR_ZENROWS_API_KEY&url=https%3A%2F%2Fhttpbin.io%2Fget&mode=auto"
> ```
>
> [Try every endpoint in the API Reference](https://docs.zenrows.com/api-reference.md#endpoint-reference)

Give your agent the Zenrows skill: what each primitive does, which to reach for, and how to call it. Works with Claude Code, Cursor, Codex and other agents.

npx skills add [https://docs.zenrows.com](https://docs.zenrows.com)

## Primitives

> [card] [Fetch](https://docs.zenrows.com/fetch/api-reference.md)
>
> Get any page as clean, usable content, even if it's protected by anti-bot defenses.

> [card] [Extract](https://docs.zenrows.com/extract/setup.md)
>
> Turn a messy page into clean, structured JSON with a single parameter.

> [card] [Crawl](https://docs.zenrows.com/crawl/introduction.md)
>
> New Give one start URL and get back the pages behind it: their URLs, and their HTML if you want it.

> [card] [Batch](https://docs.zenrows.com/batch/introduction.md)
>
> Process thousands of URLs reliably, as one managed job.

> [card] [Browser](https://docs.zenrows.com/browser-sessions/introduction.md)
>
> Click, log in, navigate, and interact with a page, like a real user, from your own Puppeteer or Playwright code.

## Surfaces

Every primitive above is available however you build: the API, the CLI (`zenrows crawl`), MCP, and the SDKs.

> [card] [API](https://docs.zenrows.com/fetch/api-reference.md)
>
> One HTTP endpoint and a set of parameters. Call it directly from any language.

> [card] [CLI](https://docs.zenrows.com/cli/introduction.md)
>
> Fetch, extract, and run jobs at scale from your terminal, or an agent's.

> [card] [MCP](https://docs.zenrows.com/mcp/overview.md)
>
> Give an AI assistant the ability to scrape any page from inside your editor.

> [card] [SDKs](https://docs.zenrows.com/fetch/sdk/overview.md)
>
> Typed clients for Node.js, Python, and Go, wrapping the same endpoint.

## Build with AI

The CLI installs everything an agent needs to use Zenrows on its own: skills, templates, and the MCP config to paste into your client, printed by one command.

```bash theme={"theme":"css-variables"}
npx -y @zenrows/cli init --all
```

> [card] [Zenrows CLI](https://docs.zenrows.com/cli/introduction.md)
>
> Primitives, Agent Toolkit commands, and the full command reference.

> [card] [Connect an agent](https://docs.zenrows.com/cli/mcp.md)
>
> Get the MCP config for Claude Code, Cursor, Windsurf, and more, printed by one command.

## Learn with Zenrows Academy

Recipes, pipelines and a six-lesson course for every primitive and surface, each with a prompt you can hand to your AI agent.

> [card] [Zenrows Academy](https://docs.zenrows.com/academy/introduction.md)
>
> Find a recipe by goal, primitive, surface or industry.

> [card] [Foundations course](https://docs.zenrows.com/academy/foundations/first-request.md)
>
> Build one project with Fetch, Extract, Crawl, Batch and Browser.

### 💡 Need Help? You Can Ask Our AI-Powered Search!

> [!TIP]
>
> You can use the **search bar at the top of the page** to instantly get answers to your questions, find documentation, and explore Zenrows' features. Simply type what you're looking for, and our AI will guide you!


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.