# Zenrows Fetch a Page

> Zenrows Fetch a Page is a paid API for AI agents from agents.zenrows.com, paid per call via MPP, price unknown, live (last probed 2026-10-17, last successful call 2026-10-15).

Agents call it through Zero, which pays per call: no API key and no wallet of your own. New accounts start with $5.

Retrieve the content of any public web page through Zenrows, with optional JavaScript rendering, proxy routing, extraction, screenshots, and structured output.

## Facts

- Endpoint: GET https://agents.zenrows.com/v1/?utm_source=zero.xyz
- Price: price unknown
- Payment: MPP
- Status: healthy
- Last checked: 2026-10-17
- Last successful call: 2026-10-15
- Success rate: 100% of calls made through Zero
- Rating: 4.3 / 5 from 1 review
- Activations on Zero: 1
- Provider: agents.zenrows.com
- Website: https://agents.zenrows.com
- Canonical page: https://www.zero.xyz/c/agents-zenrows-com-zenrows-fetch-a-page-5726acc5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RARH362ssaYA71o9_xUYf

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agents-zenrows-com-zenrows-fetch-a-page-5726acc5
```

Example prompt: Fetch the full HTML of https://www.example.com/products using JavaScript rendering and route it through a US residential proxy so we can get past any anti-bot protection.

## When to prefer this

Use this endpoint when you need to retrieve content from public web pages, especially those protected by anti-bot systems or requiring JavaScript rendering. It is ideal when you need flexible output formats (HTML, Markdown, JSON, screenshot), structured extraction without writing parsers, or geo-targeted proxy routing. Prefer this over generic HTTP fetch libraries when the target site has bot protection, uses client-side rendering, or when you need to interact with the page before capturing content.

## Known failure modes

- Invalid or unreachable URL returns an error response
- Anti-bot protection not bypassed even with premium proxy — page returns incomplete or blocked content
- js_render=false on a JavaScript-heavy page returns empty or incomplete HTML
- wait_for selector never appears — request times out
- Invalid API key returns 401 unauthorized
- Insufficient credits returns 402 payment required
- Rate limiting on the target site causes failed fetch

## How this service works

Retrieve a URL through Zenrows and return its content. The same operation covers Extract (`extract=auto` or `css_extractor`), format conversion (`response_type`), screenshots and structured output, because they are configurations of one request rather than separate endpoints.

## Output

Returns the page content in the requested format: raw HTML by default, or Markdown, plain text, PDF, or structured JSON depending on response_type and extract settings. If screenshot=true, returns an image of the above-the-fold view. If css_extractor or extract=auto is used, returns a JSON object with the extracted fields. If json_response=true, may include network request logs.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "url"
 ],
 "properties": {
  "url": {
   "type": "string",
   "format": "uri",
   "examples": [
    "https://www.scrapingcourse.com/ecommerce/"
   ],
   "description": "The URL of the page to retrieve."
  },
  "mode": {
   "enum": [
    "auto"
   ],
   "type": "string",
   "description": "Adaptive Stealth Mode. `auto` starts from the cheapest viable configuration and escalates to JavaScript rendering or premium proxies only when the target requires it. You are billed for the configuration that succeeds."
  },
  "wait": {
   "type": "integer",
   "default": 0,
   "minimum": 0,
   "description": "Milliseconds to wait after load before returning. Requires js_render."
  },
  "extract": {
   "enum": [
    "auto",
    "native",
    "standard"
   ],
   "type": "string",
   "description": "Return structured JSON extracted from the page with no selectors to write (Extract). Omit it and Extract is off. `auto` and `native` return the website's own field names; `standard` returns a canonical schema shared by every website in a vertical (real estate only for now). Extract works on any prepared domain, with any active API key (prepare a new one with `POST /extract/prepared-domains`), and is currently free on top of the Fetch cost. A domain, or a kind of page on it, that is not prepared yet answers 403 `REQS007`: see `requestExtractDomain`."
  },
  "outputs": {
   "type": "string",
   "description": "Comma-separated data types to pull out of the retrieved HTML (for example `emails,phone_numbers`)."
  },
  "wait_for": {
   "type": "string",
   "description": "CSS selector to wait for before returning. Requires js_render."
  },
  "autoparse": {
   "type": "boolean",
   "default": false,
   "description": "Deprecated in favour of Extract (`extract=auto`). Returns general-purpose JSON parsed from the page, not tailored to the website."
  },
  "js_render": {
   "type": "boolean",
   "default": false,
   "description": "Render the page in a headless browser before returning it. Required for content that only exists after JavaScript runs."
  },
  "screenshot": {
   "type": "boolean",
   "default": false,
   "description": "Return an above-the-fold screenshot of the page. Requires js_render."
  },
  "session_id": {
   "type": "integer",
   "description": "Reuse the same IP across requests for up to 10 minutes. Any integer you choose identifies the session."
  },
  "css_extractor": {
   "type": "string",
   "examples": [
    "{\"title\":\"h1\
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "Structured output: the extracted fields, the autoparsed record, or the JSON envelope with captured network requests.",
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agents-zenrows-com-zenrows-fetch-a-page-5726acc5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.zenrows.com](https://www.zero.xyz/host/agents.zenrows.com/llms.txt)
