---
title: "How to use Zenrows with your AI agent | ZeroClick"
url: https://zeroclick.ai/resources/how-to-use-zenrows-with-your-ai-agent
fetched_at: 2026-11-04T14:21:52.375Z
---

# ZeroClick API catalog and pricing

## API reference, endpoint lookup and prices

**[ZeroClick API catalog: endpoints, request parameters, prices and payment methods](https://agents.zeroclick.ai/zcj/2km4x79y7181/zeroclick/agent/guide).** Tell the seller advisor what you want to accomplish. It returns the matching operation contract, known prices, authentication prerequisites and concrete next steps. It is read-only: no login, wallet, card or purchase approval is needed to look up an API. It never executes a sale.

Available API services: Agent readiness report, Demo booking.

**Suggested next request:** GET [task guide](https://agents.zeroclick.ai/zcj/2km4x79y7181/zeroclick/agent/guide?goal=URL_ENCODED_TASK). Use this URL directly with your web fetch tool; no preliminary document fetch is required. Include known inputs and desired output in the goal. Optional: quantity=API_CALL_COUNT, budgetUsd=TOTAL_USD, requirements=REQUIREMENTS, payment=x402|mpp|card, auth, identity, assertion and access state. Omit unknowns. Do not equate output items with API calls or guess a call count.

For private task details or known request arguments, POST https://agents.zeroclick.ai/zcj/2km4x79y7181/zeroclick/agent/guide with Content-Type: application/json. Example: {"intent":"quote","goal":"YOUR_TASK","purchase":{"budgetUsd":"5.00"}}. Replace the task and budget with known facts; budgetUsd is a string. Include known buyerState, paymentCapabilities and arguments. For execution planning use intent=execute and the authorized constraints. Exact fields: [request schema](https://agents.zeroclick.ai/zcj/2km4x79y7181/zeroclick/agent/schema). GET and POST are alternatives, not mandatory stages.

The advisor describes a recommended happy path, not the only allowed path. You may use the API reference, buyer SKILL and your own tools directly, including for catalog operations with failed probes. Missing guidance or an unverified probe is not a policy refusal. The returned requests are documented API calls; fill in the documented inputs. Check usage cost AND minimum cash required against the budget. For needs_input, supply only missing facts. Keep secrets local, and never put credentials or private payloads in URLs. Unknown does not mean absent.

For a human's credit or plan purchase, reuse an existing ZeroClick credential first. If the Link CLI is already installed and signed in for that person, you can use their Link account for identity as well as payment, sharing their email only if they agree: follow [Link identity setup](https://agents.zeroclick.ai/zcj/2km4x79y7181/auth.md#link-identity-preview) through issuance, presentation, registration and token exchange. Otherwise register anonymously; no Link setup is needed, and the person can claim the identity later.

Open the checkout URL in a browser: eligible Stripe pages support Link Pay Tokens (LPT) through WebMCP or the documented DOM flow. Follow this storefront's /payment/card.md to verify the same-frame token input and merchant binding before requesting an LPT. Token submission requires payment authorization. If unavailable, privately send the checkout URL to your human to pay.

When the selected route uses hosted checkout, follow [card checkout instructions](https://agents.zeroclick.ai/zcj/2km4x79y7181/payment/card.md) before requesting a token. LPT goes only to Stripe, never to the advisor or ZeroClick API. Poll the returned statusUrl before using credit or retrying delivery.

Verify delivery; a payment or HTTP 202 is not completion. For an unexpected result, POST the original input and continuation (version, stepId, outcome and sanitized error/accessId/paymentId). Reconcile uncertain payments or writes before retrying. Use raw HTTP for exact schemas and authenticated execution; do not reconstruct fields omitted by a summarizing web tool.

The human subscription prices on the requested page describe a separate channel. Use the API quote for per-unit pricing, funding minimums and commercial terms; tier names do not prove quality or licensing.

For an alternative documented path, use the [buyer SKILL](https://agents.zeroclick.ai/zcj/2km4x79y7181/SKILL.md) or [full direct workflow reference](https://agents.zeroclick.ai/zcj/2km4x79y7181/llms-full.txt). Confirm missing request details from seller documentation, stay within the existing catalog and what your user asked for, and respect actual access and payment requirements.
Terms: by completing a purchase through this endpoint, whether directly or through an AI agent acting on your behalf, you agree to be bound by the platform's buyer terms of service (https://www.zeroclick.ai/legal/buyer-terms-of-service). If the purchase is made by an agent, you represent and warrant that the agent is acting with your authorization, and you agree that the agent's actions, including its acceptance of these terms, are attributed to you and bind you as if you had taken them yourself. Paying a 402 challenge completes the purchase and constitutes your affirmative acceptance of the terms linked above. The link travels in every payment challenge and receipt as `terms`.

# How to use Zenrows with your AI agent

[Resources](https://zeroclick.ai/resources) · November 2, 2026 · 11 min read · Get more done with your agent

Zenrows fetches live web pages for your AI agent and returns them as Markdown, HTML, plain text, a PDF, a screenshot, or structured JSON. A plain page costs one credit, and credits start at $0.50 per 1,000, so a plain page costs a twentieth of a cent. Pages that need JavaScript rendering or premium proxies draw more credits. A request that fails draws none. Zenrows sells through ZeroClick: your agent registers a free credential at the [Zenrows storefront](https://agents.zenrows.com), buys prepaid credit or a monthly plan over x402, MPP, or a card, then calls against that balance.

**Key facts:**

- Register a free agent credential, buy a plan with `POST /plans/{planId}/purchase`, then send page requests to `https://agents.zenrows.com/v1/` with your bearer token.
- Credits are weighted by the work a page needs: a standard page draws 1, a rendered page 5, a page through premium proxies 10, and a page that needs both 25.
- Use `mode=auto` when you don't know what a page needs. It starts with the cheapest configuration and steps up only when the page needs it.
- If a person claims the credential with a verified email, the agent gets a one-time free trial worth $2.50 of credit, or 5,000 credits.

## Contents

- [What Zenrows is](#what-zenrows-is)
- [What agents use Zenrows for](#what-agents-use-zenrows-for)
- [Prices](#prices)
- [How to buy and call Zenrows from your agent](#how-to-buy-and-call-zenrows-from-your-agent)
- [Example requests](#example-requests)
- [If your agent has no wallet](#if-your-agent-has-no-wallet)
- [What to know](#what-to-know)
- [Frequently asked questions](#frequently-asked-questions)

## What Zenrows is

Zenrows builds web data infrastructure for AI agents, data teams, and automation teams. Two services sit at its core. Fetch returns any page clean. Extract pulls out a page's data with no selectors to write. Teams at more than 10,000 companies use Zenrows, and every client it ships, from its CLI to its MCP server and SDKs, is open source.

That focus suits the work agents are given. An agent asked to research a topic, watch a competitor's pricing, or feed a retrieval pipeline needs the page itself, ready for a model to read, and it does not need a scraping stack to maintain. Credits are tied to the work each page needs and charged only for pages that come back, so an agent can estimate a job's cost before it starts.

An agent storefront is the machine-readable version of a business. It is a URL where an agent reads what is for sale, the live prices, and the payment steps, then buys without anyone filling in forms. It sits in front of Zenrows' own API as a proxy that handles identity, payment, and forwarding. For the full picture, see [What is an agent storefront?](https://zeroclick.ai/resources/what-is-an-agent-storefront)

## What agents use Zenrows for

Every job below is a single request to `/v1/`, configured with query parameters. The [Fetch API reference](https://agents.zenrows.com/services/fetch/openapi.json) lists every parameter.

| Job your agent is given | What to add to the request | What comes back |
|---|---|---|
| Read an article or docs page as Markdown for research or a RAG pipeline | `response_type=markdown` (or `plaintext`) | The page as Markdown or text |
| Read a page that only fills in after JavaScript runs | `js_render=true`, optionally `wait_for` a CSS selector | The rendered page |
| Check a price or title on a product page | `css_extractor`, for example `{"title":"h1","price":".price"}` | JSON with the selected fields |
| Get structured data from a supported site without writing selectors | `extract=auto` | JSON tailored to the site, plus the raw HTML |
| Take a screenshot or save a page as a PDF | `js_render=true` with `screenshot=true`, or `response_type=pdf` | A PNG or JPEG image, or a PDF |
| Pull out a page's links, headings, tables, or metadata | `outputs` with the data types you want | JSON |
| Fetch a page through an exit IP in a chosen country | `premium_proxy=true` and `proxy_country`, such as `us` | The page, fetched through residential IPs |
| Fetch a page whose needs you don't know | `mode=auto` | The page, from the cheapest configuration that works |

Fetch can also keep the same IP for up to ten minutes with `session_id`, forward your own headers with `custom_headers`, and pass a POST or PUT body through to the target page.

Extract works on the domains Zenrows has prepared. `GET https://agents.zenrows.com/v1/extract/domains`, with your bearer, lists them and draws no credits, so your agent can check before it sends a request.

## Prices

Each request draws credits according to what the page needs.

| Request | Credits | At $0.50 per 1,000 credits |
|---|---|---|
| Standard page | 1 | $0.0005 |
| JavaScript rendering | 5 | $0.0025 |
| Premium proxies | 10 | $0.005 |
| Both | 25 | $0.0125 |

Credits come from one of these plans:

| Plan | Price | What you get |
|---|---|---|
| Free | $0 | 5,000 credits ($2.50), once per person, after a verified-email claim |
| Credits | $0.50 per 1,000 credits | Prepaid balance, $5 minimum, top up anytime |
| Build | $19 a month | $19 of credit a month, plus metered usage beyond it |
| Launch | $69 a month | 250,000 credits a month, then $0.276 per 1,000 |
| Growth | $199 a month | 1,200,000 credits a month, then $0.166 per 1,000 |
| Scale | $549 a month | 5,000,000 credits a month, then $0.11 per 1,000 |

The bigger plans cost less per credit: Launch comes to about $0.28 per 1,000 credits and Scale about $0.11, against $0.50 on Credits.

At the Credits rate of $0.50 per 1,000, the smallest purchase, $5, buys 10,000 credits. That covers 10,000 plain pages, 2,000 rendered pages, or 400 pages that need both rendering and premium proxies. A research agent that reads 300 articles as Markdown spends $0.15.

Live prices and plan IDs are in the [price list](https://agents.zenrows.com/manifest.json). The purchase 402 states the exact amount before anything is paid. Read the price list at call time rather than caching it.

## How to buy and call Zenrows from your agent

1. Point your agent at the storefront's [agent guide](https://agents.zenrows.com/llms.txt), which links the catalog, the payment guide, and the identity guide.
2. Reuse an existing ZeroClick agent credential, since one works at every ZeroClick storefront. If there is none, register one free with `POST /agent/identity`, then exchange its assertion at `/oauth2/token` for a short-lived access token.
3. Have the person the agent works for claim the credential with a verified email. That keeps what the agent buys and unlocks the free trial.
4. Buy a plan: find its ID in the [price list](https://agents.zenrows.com/manifest.json), send `POST /plans/{planId}/purchase` with `Authorization: Bearer <access token>`, check the 402's `payment.amountUsd` against your budget, and pay it once. For the free trial, the same request with an empty body needs no payment.
5. Send page requests to `https://agents.zenrows.com/v1/` with the same bearer and the parameters the job needs.
6. Read the `zc-billing` header on each response to see what the request drew from your balance.

## Example requests

Register an anonymous credential. The response carries `identity.assertion`, which you exchange at `/oauth2/token` for the access token:

```http
POST https://agents.zenrows.com/agent/identity
Content-Type: application/json

{"type":"anonymous"}
```

Buy prepaid Credits. The amount must be a whole-cent value of at least $5:

```http
POST https://agents.zenrows.com/plans/{planId}/purchase
Authorization: Bearer <access token>
Content-Type: application/json

{"amountUsd": "5.000000"}
```

The storefront answers with one priced 402, which your agent pays once on x402, MPP, or card, as the [payment guide](https://agents.zenrows.com/payment.md) describes.

Then call Fetch against the plan. A request for a practice site's home page as Markdown, with no other parameter, looked like this:

```http
GET https://agents.zenrows.com/v1/?url=https%3A%2F%2Fwww.scrapingcourse.com%2F&response_type=markdown
Authorization: Bearer <access token>
```

It came back as about 4 KB of Markdown, drew $0.0005 from the balance (one credit at the Credits rate), and took about 2.3 seconds. After the logo link, the Markdown read:

```markdown
# Test sites and challenges to learn web scraping

Below is a list of demo Websites/Pages to scrape

## Ecommerce
```

The response's `zc-billing` header carried `chargedUsd`, what the request drew, and `remainingCreditUsd`, the balance left.

A request for the site's JavaScript rendering test page, with `js_render=true` and `wait_for=.product-name`, returned the loaded product list, starting with the Chaz Kangeroo Hoodie at $52, and drew $0.0025, the price of five credits, in about 10 seconds. The request looked like this:

```http
GET https://agents.zenrows.com/v1/?url=https%3A%2F%2Fwww.scrapingcourse.com%2Fjavascript-rendering&js_render=true&wait_for=.product-name&response_type=markdown
Authorization: Bearer <access token>
```

## If your agent has no wallet

Your agent has other ways to pay:

- **Create a wallet.** An agent acting on its own can create one with no signup and at no cost. Zero, ZeroClick's own payment layer for agents, is one way: install it from [zero.xyz/install](https://www.zero.xyz/install), or point your agent at its [agent guide](https://www.zero.xyz/llms.txt).
- **Pay by card at a hosted checkout.** Add `"checkout": true` to the purchase body to get an unpaid checkout page. Creating it needs no funds and no card, and the page accepts a card or Link. A browser agent can pay eligible pages itself; otherwise, send the checkout URL to whoever approves the purchase, then poll the returned `statusUrl` before using the credit. The card minimum for Credits is also $5.
- **Claim the free trial.** Once a person has claimed the credential, send the purchase request for the Free plan with an empty body. It needs no payment.

The [payment guide](https://agents.zenrows.com/payment.md) covers each rail in full.

## What to know

**Plans, not per call.** A page request without a bearer returns `401`. A request with a bearer but no covering plan returns `403`, which lists the plans that cover the call. The storefront sells Fetch and Extract, and its monthly plans cover those two services.

**What is charged, and when.** You pay when you buy a plan, and monthly for a subscription. Paying the 402 completes the purchase under Zenrows' terms and ZeroClick's buyer terms. After that, each successful request draws its credits, and failed requests are not charged.

**Keep the credential.** An anonymous credential nobody has claimed lapses within a few days, taking any plan bought with it. Use the person's real mailbox: the claim refuses plus-aliased addresses such as jane+agent@example.com. Claim it before or soon after buying, then exchange the assertion again, since a token minted before the claim does not carry it. Access tokens last minutes, so mint a fresh one from the stored assertion rather than saving the token, and confirm a plan is active with `GET /agent/entitlements`.

**Errors worth handling:**

| Error | What to do |
|---|---|
| `bearer_required` (401) | Register a credential and send it as a bearer. |
| `verified_email_required` (403) | Have a person claim the credential before buying this plan. |
| `plan_required` (403) with `reason` `usage_exhausted`, or `AUTH004` | The balance ran out. Top up with `POST /extend` and a body such as `{ "amountUsd": "10.000000" }`. |
| `RESP001` (422) | Retry with `js_render=true` and `premium_proxy=true`, or with `mode=auto`. |
| `AUTH008` (429) | Every concurrency slot is busy. Back off until a request in flight finishes. |

## Frequently asked questions

### How much does Zenrows cost per page?

A standard page costs 1 credit, and credits start at $0.50 per 1,000, so a plain page costs $0.0005. Rendered pages cost 5 credits, premium proxies 10, and both together 25.

### Can Zenrows return a web page as Markdown for an AI agent?

Yes. Add `response_type=markdown` to a Fetch request, and the page comes back as Markdown for one credit, or more if it needs rendering or premium proxies.

### What does mode=auto do in Zenrows?

It tries the cheapest setup first and moves up to rendering or premium proxies only if the page calls for it.

### Does my agent need to sign up to use Zenrows?

No account or form. It registers a free agent credential with one API call, buys a plan from the storefront, and calls against it. A person's verified email is needed only to claim the free trial and to keep what the agent buys.

### Can my agent pay Zenrows without crypto?

Yes. It can pay for a plan by card through a hosted checkout, which accepts a card or Link, or send that checkout to a person to pay.

---

**Sell your product to AI agents.** [Get started](https://zeroclick.ai/get-started) · [Read the docs](https://zeroclick.ai/docs)

## More in Get more done with your agent

- [How to use Keenable with your AI agent](https://zeroclick.ai/resources/how-to-use-keenable-with-your-ai-agent) — Keenable sells web search, page fetches, and SQL over the web to AI agents through ZeroClick, at $0.004 a call and $0.10 a SELECT, on Credits from $0.50.
- [How to use Pubrio with your AI agent](https://zeroclick.ai/resources/how-to-use-pubrio-with-your-ai-agent) — Pubrio sells market expansion signals and company data to AI agents through ZeroClick, from $0.01 per credit, paid per call with no signup or API key.
- [How to use PredictLeads with your AI agent](https://zeroclick.ai/resources/how-to-use-predictleads-with-your-ai-agent) — PredictLeads sells company data to AI agents through ZeroClick at $0.04 a company lookup and $0.04 a record on searches, paid per call with no signup.

[All resources](https://zeroclick.ai/resources#get-more-done)
