Skip to main content

Scrapfly

Connect a Scrapfly account on each action.

Scrape URL

Core
  • URL
  • Format — Raw HTML, plain text, Markdown, Markdown (no links/images), clean HTML, or JSON.
  • Anti-scraping protection — Bypass hardening when enabled.
  • Render JavaScript — Default on. When on, you get:
    • Rendering wait — Ms after load before scrape.
    • JavaScript code — Runs in the page; return value surfaces (see placeholder in editor / javascriptResult output).
    • Wait for selector — CSS selector before considering the page ready (after your JS).
    • Auto scroll — Scroll to bottom to trigger lazy content.
Session & network
  • Session — Alphanumeric name (≤255 chars) to reuse cookies, fingerprint, and proxy across requests.
  • Cache — Skip repeat fetches for the same URL when enabled.
  • Proxy pool — Datacenter vs residential.
  • Proxy country — See Scrapfly country param docs.
  • Operating system — Emulated OS profile (Win11, macOS, Linux, Chrome OS) or random.
Request
  • Headers — Repeatable name/value pairs.
Outputs
  • content — Body in the selected format.
  • statusCode — HTTP status after redirects.
  • finalUrl — Final URL.
  • javascriptResult — When JS rendering is on and your script returns a value.

Take Screenshot

Inputs
  • URL
  • Format — JPEG, PNG, WebP, GIF.
  • Capture — Viewport, full page, or vertical scroll.
  • Element selector — Optional CSS or XPath; when set, captures that element instead of the general capture mode.
  • Width / height — Viewport pixels (100–4096; defaults 1920×1080).
  • Dark mode, block banners (cookie overlays), print media format, auto scroll.
  • Wait for selector, rendering wait (ms after load).
  • Proxy country, cache.
Output: screenshot (image file).