ZenRows

Universal Scraper API with the apikey injected for you
View as Markdown

Proxies ZenRows’ 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

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

The response is ZenRows’, returned unchanged. For the full parameter set, see ZenRows’ documentation.