curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "zenrows",
"path": "/",
"method": "GET",
"query": {
"url": ""
}
}'
The final charge depends on what comes back. It shows after Run.
up to$0.00046per call
Response-basedYou pay for what the call uses, read from the response, never more than $0.00046 per call.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
About this endpoint
Fetch a page (ZenRows Fetch, formerly Universal Scraper API): retrieve any URL with anti-bot bypass, optional JavaScript rendering (js_render), premium residential proxies (premium_proxy, proxy_country) or Adaptive Stealth Mode (mode=auto). Returns HTML, or Markdown/plaintext/PDF (response_type), screenshots, CSS-selected or Extract structured JSON.
Query parameters
urlrequiredstringThe URL of the page to retrieve.modestringAdaptive 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.js_renderbooleanRender the page in a headless browser before returning it. Required for content that only exists after JavaScript runs.js_instructionsstringJSON array of browser instructions (click, fill, scroll, wait) executed on the page before the content is returned. Requires js_render.custom_headersbooleanForward your own request headers (cookies, referer) to the target.premium_proxybooleanRoute the request through residential IPs. Required by most protected sites.proxy_countrystringTwo-letter country code for the exit IP. Requires premium_proxy.session_idintegerReuse the same IP across requests for up to 10 minutes. Any integer you choose identifies the session.original_statusbooleanReturn the target's own HTTP status code instead of the Zenrows one.allowed_status_codesstringComma-separated status codes whose body should be returned instead of raising an error, for example 404,500.wait_forstringCSS selector to wait for before returning. Requires js_render.waitintegerMilliseconds to wait after load before returning. Requires js_render.block_resourcesstringComma-separated resource types to block (for example image,media,font). Blocking is on by default.json_responsestringReturn a JSON envelope that also carries the network requests (XHR/fetch) the page made.css_extractorstringJSON object mapping output keys to CSS selectors, applied to the retrieved page.extractstringReturn 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 preparedextract_fieldsstringComma-separated list of the fields extract should return, dot-notated for fields inside a group (for example products.name,products.price). Omit it to receive every field.autoparsebooleanDeprecated in favour of Extract (extract=auto). Returns general-purpose JSON parsed from the page, not tailored to the website.response_typestringConvert the page before returning it: Markdown, plaintext or PDF.screenshotbooleanReturn an above-the-fold screenshot of the page. Requires js_render.screenshot_fullpagebooleanReturn a full-page screenshot. Requires js_render.screenshot_selectorstringScreenshot only the element matching this CSS selector. Requires js_render.screenshot_formatstringScreenshot image format.screenshot_qualityintegerJPEG quality, 1 to 100. Only with screenshot_format=jpeg.outputsstringComma-separated data types to pull out of the retrieved HTML (for example emails,phone_numbers).More from ZenRows
- Extract domain listGET/extract/domainsFree
- Crawl stopPOST/crawls/{crawl_id}/stopFree
- Crawled page HTMLGET/crawls/{crawl_id}/contents/{content_id}Free
- Crawl status and resultsGET/crawls/{crawl_id}Free
- Crawl startPOST/crawlsFrom $0.0115 per callRequest-based · up to $1,149.95
- Page fetch via POSTPOST/Up to $0.00046 per callResponse-based
- Page fetch via PUTPUT/Up to $0.00046 per callResponse-based
- Crawl results downloadGET/crawls/{crawl_id}/downloadFree