curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "scrapfly",
"path": "/scrape",
"method": "HEAD",
"query": {
"url": ""
}
}'
The final charge depends on what comes back. It shows after Run.
up to$0.1635per call
Response-basedYou pay for what the call uses, read from the response, never more than $0.1635 per call.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
About this endpoint
Scrapfly Scrape API (HEAD): sends a HEAD request to the target URL through Scrapfly's proxies, with the same proxy, anti-bot and rendering options as the other scrape methods; returns only response headers, no body.
Query parameters
urlrequiredstringTarget URL to scrape. Must be URL encoded.proxy_poolstringProxy pool. public_datacenter_pool (1 credit) or public_residential_pool (25 credits).countrystringProxy country (ISO 3166-1 alpha-2). Supports exclusions (-gb), lists (us,ca,mx) and weights (us:10,gb:5).langstringPage language (sets Accept-Language). Defaults to the proxy location language.osstringOperating system persona. Cannot be set with a custom User-Agent header.browser_brandstringChromium browser brand for the fingerprint (with render_js=true).headersstringCustom HTTP headers, sent as headers[name]=url-encoded-value.timeoutintegerTimeout in milliseconds.retrybooleanRetry on failure (network errors, HTTP 5xx).formatstringOutput format: raw, clean_html, json, markdown, text. Markdown/text accept :no_links,no_images,only_content options.proxified_responsebooleanReturn the scraped content directly as the response body instead of the JSON wrapper.debugbooleanStore the API result and take a screenshot (if render_js enabled).correlation_idstringHelper ID for grouping scrapes.tagsstringTags for grouping scrapes, sent as tags[]=value.dnsbooleanQuery and return target DNS information.sslbooleanPull the remote SSL certificate and TLS info (https targets only).extraction_templatestringExtraction template for structured data: ephemeral:base64(json_template). Adds 1 credit.extraction_promptstringLLM instruction to extract data or ask questions about the page. URL encoded. Adds 5 credits.extraction_modelstringAI auto-extraction model for structured data. Adds 5 credits.unblockerbooleanEnable Unblocker (formerly ASP) to bypass anti-bot protection. It may upgrade the proxy pool and browser, which raises the cost.aspbooleanLegacy name of unblocker. When both are sent, asp wins.cost_budgetintegerMaximum credits Unblocker may spend on this request.render_jsbooleanRender the page in a headless browser to execute JavaScript (+5 credits).rendering_waitintegerDelay in milliseconds after page load (render_js only).wait_for_selectorstringWait until a CSS/XPath selector or xhr: pattern is visible (render_js only).jsstringJavaScript to execute, base64 encoded, max 16KB (render_js only).screenshotsstringScreenshots to capture, sent as screenshots[name]=fullpage or a selector (render_js only).screenshot_flagsstringScreenshot options: load_images, dark_mode, block_banners, high_quality, print_media_format.js_scenariostringBase64-encoded JSON scenario of page actions (click, fill, wait, scroll...).geolocationstringSpoof browser geolocation as latitude,longitude.auto_scrollbooleanAuto-scroll to the bottom to trigger lazy-loaded content.rendering_stagestringPage load stage to wait for.cachebooleanEnable caching: returns cached content on a hit, otherwise scrapes and caches.cache_ttlintegerCache time-to-live in seconds.cache_clearbooleanForce cache refresh on this request.More from Scrapfly
- Crawl cancelPOST/crawl/{crawler_uuid}/cancelFree
- Crawl searchGET/crawl/{crawler_uuid}/search$0.000164 per callFixed
- Crawl archive downloadGET/crawl/{crawler_uuid}/artifactFree
- Web scrape OPTIONS requestOPTIONS/scrapeUp to $0.1635 per callResponse-based
- Crawled page contentGET/crawl/{crawler_uuid}/contentsFree
- Crawl structured extractionPOST/crawl/extractFree
- Website crawlPOST/crawlFrom $0.000164 per callRequest-based · up to $5.7225
- Crawl statusGET/crawl/{crawler_uuid}/statusFree
- Multi-crawl searchPOST/crawl/search$0.000164 per callFixed
- Crawled URL listGET/crawl/{crawler_uuid}/urlsFree
- Multi-crawl question answeringPOST/crawl/prompt$0.000491 per callFixed
- Web scrape with POST bodyPOST/scrapeUp to $0.1635 per callResponse-based