- Takes: URL
- Active: contacts the target
- Cost: Credits per request (see the X-Request-Cost header)
The body depends on the request: HTML by default; Markdown or plain text with response_type; JSON with extract, css_extractor or json_response; PDF or PNG for those options. The default mode is auto, which manages js_render and premium_proxy itself, so setting either alongside it returns 400.
Query parameters
urlTarget page, http or https only
modeAdaptive Stealth Mode; manages js_render and premium_proxy
js_renderRender in a headless browser; not allowed with mode=auto
premium_proxyUse residential IPs; not allowed with mode=auto
proxy_countryTwo-letter exit country; needs premium_proxy=true or mode=auto
wait_forCSS selector to wait for; needs js_render
response_typeOutput format
extractStructured JSON without writing selectors
css_extractorJSON object mapping output keys to CSS selectors
outputsComma-separated data types to extract from the HTML; not allowed with response_type
screenshotAbove-the-fold screenshot; needs js_render or mode=auto
original_statusReturn the target's status code instead of Zenrows'
Response fields · 1ShowHide
(body)
Page content in the requested format; with response_type=markdown, the page as Markdown
curl 'https://api.zenrows.com/v1/?url=https%3A%2F%2Fexample.com%2F&apikey=YOUR_API_KEY'# Example Domain
This domain is for use in illustrative examples.