> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.auxiliar.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.auxiliar.ai/_mcp/server.

# ZenRows

Proxies [ZenRows](https://www.zenrows.com)' Universal Scraper API, injecting the secret `apikey` query parameter:

```
GET|POST /zenrows   → https://api.zenrows.com/v1/?apikey=<secret>&<your query>
```

* `GET` scrapes the target URL.
* `POST` forwards a POST to the target.

All controls travel in the **query string** — the target `url` and any ZenRows parameter (`js_render`, `premium_proxy`, `css_extractor`, `autoparse`, …). Your query string is passed through byte-for-byte.

## What the gateway injects and strips

* **`apikey` is injected first**, ahead of your parameters, so a partially-encoded target URL can't swallow it.
* **A client-supplied `apikey` query param is dropped** (in any encoding), so the injected key can't be overridden.
* **The `Authorization` header is stripped** before forwarding — ZenRows has no use for your gateway token.

## Examples

```bash
curl "$GATEWAY/zenrows?url=https://example.com" \
  -H "Authorization: Bearer $TOKEN"
```

```bash
curl "$GATEWAY/zenrows?url=https://example.com&js_render=true&premium_proxy=true" \
  -H "Authorization: Bearer $TOKEN"
```

The response is ZenRows', returned unchanged. For the full parameter set, see [ZenRows' documentation](https://docs.zenrows.com).