ScraperFlyAI-ready Web Data API

main

API Builder for ScraperFly requests

Build a canonical request, choose output format and routing options, then move the exact shape into your app, Postman, or cURL workflow.

API Builder
Build, send, and inspect a canonical ScraperFly API request.
step 1
1
Enter a full http:// or https:// URL.
Enter a target URL to unlock output, proxy, render, file, and Postman options.
Generated request
Canonical endpoint only. Legacy aliases are intentionally hidden.
Your generated URL, query params, and cURL command will appear here after step 1.

API Documentation

Build the right ScraperFly request before you wire it into production

Pick the output format, add delivery controls only when the target needs them, and copy a canonical request into your backend or agent workflow.

HTML
Raw response

Raw HTML

Fetch source HTML for simple pages, or rendered HTML when JavaScript builds the markup in the browser.

format=htmlrender=falserender=true
TXT
Clean data

Text, Markdown, and JSON

Return readable clean text, Markdown for prompts and RAG, or JSON with metadata, links, headings, text, and Markdown.

format=textformat=markdownformat=json
PDF
Visual files

Screenshots and PDFs

Capture the rendered page as a screenshot or PDF when you need visual QA, archived proof, or downloadable artifacts.

format=screenshotformat=pdfdownload

Core request parameters

url

The target page ScraperFly should fetch.

format

Choose html, text, markdown, json, screenshot, or pdf.

premium

Use stronger proxy routing for harder targets.

render

Run Chromium for JavaScript-heavy pages.

country

Route through a country-specific proxy.

keep_headers

Forward allowed headers such as user-agent, cookie, language, and referer.

render_wait

Wait before extraction or capture after the page loads.

download

Return screenshots or PDFs as downloadable files.

cURL example

Get clean Markdown from a target page

curl "https://scraperfly.com/api/v1?url=https%3A%2F%2Fexample.com&format=markdown" \
  -H "apikey: YOUR_API_KEY"