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

# Introduction to Extract

> Turn any web page into structured JSON in a single request with Zenrows Extract, which builds a tailored extraction for each website and keeps it working when the site's layout changes.

> [!NOTE]
>
> Extract works on any prepared domain, and you can prepare a new one yourself. The one exception is a site Extract is not enabled for; see [domain coverage](https://docs.zenrows.com/extract/setup.md#domain-coverage). Any active Zenrows API key can use it, with no extra setup needed.

Zenrows Extract turns a web page into structured JSON in a single request. Add `extract=auto` to your Fetch call, and Zenrows identifies the meaningful data on the page and returns it as clean JSON, together with the raw HTML. There are no selectors to write, no schema to define, and no parser to maintain, and the extraction adapts automatically when a website changes its layout.

## How It Works

Unlike general-purpose parsing rules that apply the same logic to every website, Extract builds and maintains an extraction that's tailored to each individual site. Zenrows analyzes a domain's pages, identifies its meaningful data points, and keeps that extraction working as the site evolves, so you get richer and more complete fields than a one-size-fits-all approach can offer.

## Basic Usage

Enable Extract by adding the `extract=auto` parameter to your Zenrows request:

```bash cURL theme={"theme":"css-variables"}
curl "https://api.zenrows.com/v1/?apikey=YOUR_ZENROWS_API_KEY&url=https%3A%2F%2Fwww.scrapingcourse.com%2Fecommerce%2F&extract=auto"
```

The response returns `Content-Type: application/json` with a `parsed` field containing the structured data, and an `html` field with the raw page so you can validate the result against the source.

Two optional parameters shape what comes back: [`extract_fields`](https://docs.zenrows.com/extract/setup#selecting-the-fields-you-need) narrows `parsed` to the fields you name, and [`extract=standard`](https://docs.zenrows.com/extract/setup#extraction-modes) swaps each website's own field names for a canonical schema shared across a vertical, on the API and currently for real estate only.

## OpenAPI Spec

The `extract` parameter, including its modes, and `extract_fields` are part of the Fetch endpoint's definition in the Zenrows OpenAPI 3.1 spec at [www.zenrows.com/openapi.json](https://www.zenrows.com/openapi.json), which is listed in the RFC 9727 API catalog at [www.zenrows.com/.well-known/api-catalog](https://www.zenrows.com/.well-known/api-catalog).

The spec doesn't describe the [Extract endpoints](https://docs.zenrows.com/extract/endpoints.md) under `/v1/extract/` yet. Use the Extract reference pages for those.

## Next Steps

> [card] [Extract Reference](https://docs.zenrows.com/extract/setup.md)
>
> Full parameter reference: response shape, domain coverage, pricing, and FAQ.

> [card] [Autoparse (Legacy)](https://docs.zenrows.com/fetch/features/autoparse.md)
>
> The deprecated general-purpose parser, and how to migrate an integration off it.


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