Documentation
Scraper API
One GET request turns any URL into clean, structured data — metadata, logos & images,
social profiles, contact details, JSON-LD, links, readable text, Markdown, and screenshots.
Endpoint
GET https://api.scrape.dev/v1?url={target}&token=sk_your_token Quick start
curl "https://api.scrape.dev/v1?url=stripe.com&token=sk_your_token" Add &markdown=true for LLM-ready Markdown, or &screenshot=true for a rendered capture.
Authentication
Every request needs your Scraper token as ?token=sk_…. The Scraper API is its own product
with its own keys and quota — independent of any other API.
Fetch modes
direct and auto are free. The advanced tiers cost real resources per request and need a paid plan.
| Mode | Cost | What it does |
|---|---|---|
direct | Free | Plain HTTP with a full browser fingerprint. ~200–800ms. |
auto | Free → $ | Direct, then escalates to proxy, then unlocker on failure. |
proxy | $ | Rotating residential IP. For 403/429 datacenter blocks. |
unlocker | $$ | Server-side render — clears Cloudflare / JS challenges. |
render | $$$ | Headless Chromium: JS, waitForSelector, screenshots. |
Parameters
| Parameter | Default | Description |
|---|---|---|
url | required | The page to scrape. Protocol optional (https:// assumed). |
token | required | Your Scraper token (sk_…). |
mode | auto | direct · auto · proxy · unlocker · render. |
markdown | false | Include a clean, LLM-ready Markdown rendering. |
html | false | Include the raw fetched HTML. |
probeImages | false | Attach real width×height + byte size to the best images. |
screenshot | false | Capture a screenshot (forces render). Returned as a CDN URL. |
screenshotFullPage | false | Full-page instead of viewport-only. |
waitForSelector | — | Render: wait for a CSS selector before capturing. |
waitMs | — | Render: extra settle time in ms (capped 15s). |
acceptLanguage | — | Override Accept-Language to control returned locale. |
country | US | Geolocation for proxy / unlocker / render proxy. |
Response
A single JSON object. Best-pick fields (logo, image, banner) sit beside the full candidate lists — nothing dropped. Opt-in fields (markdown, html, screenshot) appear only when requested.
{
"ok": true,
"version": "1",
"fetch": {
"finalUrl": "https://www.apple.com/",
"method": "direct",
"status": 200,
"elapsedMs": 286,
"htmlBytes": 287559
},
"pageType": "organization",
"page": {
"title": "Apple",
"description": "Discover the innovative world of Apple…",
"lang": "en-US",
"wordCount": 286
},
"logo": {
"url": "https://www.apple.com/…/knowledge_graph_logo.png",
"source": "json-ld-logo",
"format": "png",
"width": 302,
"height": 302,
"bytes": 10070
},
"image": {
"url": "https://www.apple.com/…/open_graph_logo.png",
"source": "og:image",
"width": 1200,
"height": 630
},
"social": [
{
"platform": "youtube",
"url": "https://www.youtube.com/user/Apple"
}
],
"contact": {
"emails": [],
"phones": [
"+1-800-692-7753"
],
"address": null
},
"links": {
"internal": [
{
"url": "https://www.apple.com/mac/",
"text": "Mac"
}
],
"external": []
},
"technologies": [
"Adobe Experience Manager",
"Akamai"
],
"structuredData": [
{
"@type": "Organization",
"name": "Apple"
}
],
"markdown": "## Father's Day\n\nIt's not too late…",
"screenshot": "https://cdn.scrape.dev/…/▢.jpg"
} | Field | Description |
|---|---|
fetch | How the page was retrieved — finalUrl, method, status, headers, timing. |
page | title, description, canonical, lang, favicon, dates, word count. |
logo / logos | Best logo pick beside the full candidate list. |
image / banner | Best share image / banner (dimensions when probed). |
social / contact | Profile links; emails, phones, address. |
structuredData / microdata | JSON-LD blocks + parsed schema.org microdata. |
links | Internal vs external, each with anchor text. |
technologies | Detected stack (frameworks, CMS, CDN, analytics). |
text / markdown | Readable text and clean Markdown (opt-in). |
screenshot | CDN URL of the capture (opt-in, render mode). |
Plans & quotas
Metered per month with its own quota. Free includes 1,000 requests/month; paid plans raise the limit (Starter: 50,000) and unlock the advanced fetch tiers.
| Plan | Requests / month | Advanced tiers |
|---|---|---|
| Free | 1,000 | — |
| Starter | 50,000 | Included |
| Pro | 250,000 | Included |
| Enterprise | Unlimited | Included |
Errors
| Status | Meaning |
|---|---|
400 | Missing url, or a blocked/internal address. |
401 | Missing or invalid API token. |
403 | Advanced tier requested on a free plan. |
429 | Monthly quota exceeded. |
502 | Target unreachable by any mode (see attempts). |