curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "scrapfly",
"path": "/screenshot",
"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 Screenshot API with HEAD: takes the screenshot but returns no body, only headers with the URL of the stored screenshot.
Query parameters
urlrequiredstringTarget URL to screenshot. Must be URL encoded.formatstringImage format.capturestringArea to capture: viewport, fullpage, or a CSS selector/XPath.resolutionstringScreen resolution (width x height).countrystringProxy country (ISO 3166 alpha-2). Supports multiple, weighted, or exclusions.timeoutintegerMaximum time in milliseconds (min 60000, max 120000).rendering_waitintegerDelay in milliseconds to wait after page load.wait_for_selectorstringWait until a CSS selector or XPath is visible before capturing.optionsstringScreenshot flags, comma separated: dark_mode, block_banners, print_media_format, load_images.auto_scrollbooleanAuto-scroll to bottom to trigger lazy-loaded content.jsstringJavaScript to execute (base64 encoded, max 16KB).cachebooleanEnable caching for repeated screenshots of the same URL.cache_ttlintegerCache time-to-live in seconds.cache_clearbooleanForce cache refresh on this request.vision_deficiencystringSimulate a vision deficiency for accessibility testing (no extra cost).More from Scrapfly
- Crawl cancelPOST/crawl/{crawler_uuid}/cancelFree
- Crawl searchGET/crawl/{crawler_uuid}/search$0.000164 per callFixed
- Web scrape headers onlyHEAD/scrapeUp to $0.1635 per callResponse-based
- 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