Documentation
Base URL: . All responses are JSON, except the screenshot (an image).
Key and requests
Sign up and your key appears in the dashboard. Send it as the X-API-Key header, as Authorization: Bearer, or as ?api_key=.
Pass parameters as a JSON body in POST or as a query string in GET. Credits are reserved before a request and returned if the site did not answer or blocked every attempt.
Proxies
The proxy parameter: cheap (residential, default), vip (premium, +3 credits), mobile (4G/5G, +3 credits), auto (start on base proxies, switch to premium/mobile only if the site blocks), none (no proxy).
OpenAPI spec: /openapi.json. Import it into Postman or generate a client for your language.
Smart mode and geo
By default render=auto: first a plain request with a real Chrome TLS fingerprint (1 credit). If the page turns out to be an empty JavaScript app shell or a bot challenge, we open it in a browser ourselves and charge the rendering price (5 credits). The response then contains "escalated": ["render"]. To never use a browser, pass render=false.
| Parameter | Description |
|---|---|
country | Exit country, 2 letters: us, de, gb, kz… Works in scrape, extract, screenshot, crawl, agent and the cloud browser. |
session_id | Any string (latin letters, digits, _). Requests with the same value use the same IP: logins, carts, pagination. |
max_age | Serve from cache if the copy is at most N seconds old. A cache hit costs 0 credits. |
change_tracking | true: compare with your previous snapshot of this page. change.status is new, same or changed with a diff. |
Blocks, site errors and captchas are not charged: credits are returned automatically.
Scraping API
| Parameter | Description |
|---|---|
url | The page. Required. |
formats | Several formats in one response: markdown, html, raw, text, links, metadata, extract (auto JSON), screenshot, json (AI, needs prompt or json_schema). Results go to formats, the first one also to content. |
format | A single format. Default html. |
render | auto (default), true (always a browser, 5 credits) or false. |
country, session_id, max_age, change_tracking | See Smart mode and geo. |
wait_for | CSS selector to wait for after load (rendering). |
wait_ms | Wait N ms after load, up to 15000. |
actions | Page actions: [{"click":"#more"},{"type":["#q","iphone"]},{"press":"Enter"},{"wait_for":".item"},{"scroll":3},{"evaluate":"document.title"}] |
main_only | For markdown/text: main content only, without menus and footer. Default true. |
method, body, headers, cookies | Custom HTTP method, body, headers and cookies (no rendering). |
mobile, screenshot, full_page | Mobile view; attach a screenshot as screenshot_b64. |
retries, timeout | Attempts with a new IP (default 3) and timeout in seconds. |
curl -X POST /v1/scrape -H "X-API-Key: $KEY" -H "Content-Type: application/json" \
-d '{"url":"https://news.ycombinator.com","formats":["markdown","links"],"country":"us"}'
Response: {"url","final_url","status","content","formats","credits","attempts","ms","blocked","rendered","escalated","cached","change"}.
A PDF link comes back as text (in markdown, text and json extraction), page by page.
Batch and webhooks
Up to 1,000 URLs per call, processed in the background. Same parameters as /v1/scrape, plus urls, concurrency (up to 10) and webhook. Each page costs a normal scrape.
{"urls": ["https://example.com/a", "https://example.com/b"], "formats": ["markdown", "metadata"],
"webhook": {"url": "https://your.site/hook", "metadata": {"order": 15}}}
Status and results: GET /v1/batch/{id} (page through big jobs with ?offset=0&limit=100). Job list: GET /v1/jobs.
The webhook fires when a batch or crawl finishes: {"event":"batch.completed","id","status","count","data_url","metadata"}. Fetch the data from data_url with your key; it is never sent in the webhook.
Cloud browser
A real Chromium/Edge over the Chrome DevTools Protocol. Connect any CDP library. The proxy is already configured, no auth needed. 10 credits per minute, sessions up to 15 minutes.
# Python, Playwright
from playwright.async_api import async_playwright
async with async_playwright() as p:
browser = await p.chromium.connect_over_cdp("/v1/browser?key=KEY&proxy=cheap")
page = browser.contexts[0].pages[0] if browser.contexts[0].pages else await browser.contexts[0].new_page()
await page.goto("https://example.com")
print(await page.title())
// Node.js, Puppeteer
const browser = await puppeteer.connect({ browserWSEndpoint: "/v1/browser?key=KEY" });
Screenshot API
| Parameter | Description |
|---|---|
url | The page. |
full_page | The whole page. |
selector | Capture only this element. |
width, height, mobile | Window size (default 1366×900), mobile view. |
format, quality | png or jpeg, JPEG quality. |
json | 1: return JSON with image_b64 instead of the image. |
curl "/v1/screenshot?url=https://example.com&full_page=true" -H "X-API-Key: $KEY" -o shot.png
Extraction API
Pass a url (we fetch it, render and proxy work) or ready html. Three modes:
By CSS schema (1 credit)
{"url": "https://books.toscrape.com",
"schema": {
"title": "h1",
"books": {"selector": "article.product_pod", "all": true, "fields": {
"name": {"selector": "h3 a", "attr": "title"},
"price": ".price_color",
"link": {"selector": "h3 a", "attr": "href"}}}}}
Automatic (1 credit)
Without schema and prompt we return title, description, meta tags, Open Graph, JSON-LD, h1–h3 headings, links, images, tables, emails, phones and Markdown.
AI by prompt (60 credits)
{"url": "https://example.com/product/1", "prompt": "name, price, availability, specs",
"json_schema": {"name": "string", "price": "number", "in_stock": "boolean"}}
AI parser and parsing rules
Describe the data in plain words. The AI writes parsing rules (CSS selectors) once, we check them on the page, ask the AI to fix fields that came back empty and save the rules under a name. Costs 60 credits once.
{"url": "https://books.toscrape.com", "prompt": "all books: title, price as a number, link", "name": "books"}
Response: data (from this page), rules, empty_fields. After that any /v1/scrape, /v1/batch, /v1/tasks or crawl parses pages with the rules and no AI, for 1 credit:
{"url": "https://books.toscrape.com/catalogue/page-2.html", "parser": "books", "formats": ["parsed"]}
"formats": ["csv"] returns a CSV table. Pass your own rules inline: "parse": {"title": "h1", "price": {"selector": ".price", "type": "number"}}. A rule supports attr, all, fields for lists, regex (first group) and type: number, int or bool. List: GET /v1/parsers; edit: POST /v1/parsers/{name} with {"rules": {...}}; delete: DELETE /v1/parsers/{name}.
XHR capture
"formats": ["xhr"] opens the page in a browser and returns the JSON it loaded in the background (up to 50 responses): url, status, method, body. Often that is the catalog data, no HTML parsing needed. Priced as a rendered request.
Locale, device, browser
locale: "en-US", "de", the site interface language (Accept-Language and browser locale). device: desktop, mobile or tablet. browser: chrome, firefox, safari or edge (TLS fingerprint of plain requests). timezone, e.g. "Europe/Berlin", for rendered pages.
Async tasks
Same parameters as /v1/scrape plus webhook. Returns an id right away; fetch the result with GET /v1/tasks/{id}. We POST to your webhook when it is done.
Unblocker (proxy mode)
Use Scrape as a plain HTTP proxy, no code changes: http://YOUR_KEY:x@sousproxy.com:60000 (proxy login = API key). Every request runs through the same engine as /v1/scrape: IP rotation, retries on blocks, rendering with X-Sous-Render: 1. You get the site's response with X-Sous-Credits, X-Sous-Rendered, X-Sous-Final-Url headers.
curl -k -x "http://ss_key:x@sousproxy.com:60000" https://example.com
HTTPS uses our certificate: skip verification (-k, verify=False) or install the root certificate from /unblocker-ca.pem. Control headers X-Sous-Country, X-Sous-Device, X-Sous-Locale, X-Sous-Proxy, X-Sous-Session are removed before the request leaves. Priced like /v1/scrape.
Site templates
Ready-made scrapers: send a query or a link, get clean JSON, no selectors. List: GET /v1/templates. Priced like a page load; blocked or empty results are refunded. "ai_fallback": true lets the AI extract the same fields when a site changed its layout (AI extraction price). Heavily protected sites (Yandex, Ozon, Avito, WB, Google) work best through residential or mobile proxies: "proxy": "vip" or "mobile".
{"query": "running shoes"} → POST /v1/templates/amazon_search
{"channel": "durov"} → POST /v1/templates/telegram_channel
| Template | Parameters |
|---|---|
google_search | query, country, language, page |
bing_search | query, country, language, page |
yandex_search | query, region (lr), page |
telegram_channel | channel, before |
youtube_video | url | id, subtitles |
youtube_search | query |
wildberries_search | query, page, sort |
wildberries_product | id | url |
ozon_search | query, page |
ozon_product | url | id |
avito_search | query, city, page |
amazon_search | query, domain, page |
amazon_product | asin | url, domain |
Scheduled jobs
Repeat a batch of URLs or a crawl every N minutes (15 minutes minimum). Each run is an ordinary job; we POST to your webhook when it is done.
{"name": "prices", "every_minutes": 360, "type": "batch", "webhook": "https://you.com/hook",
"params": {"urls": ["https://shop.com/p/1"], "parser": "shop", "formats": ["parsed"]}}
GET /v1/schedules (with last_job), pause with POST /v1/schedules/{id} {"active": false}, delete with DELETE /v1/schedules/{id}.
Volume
Map: up to 150,000 URLs per call. Crawl: up to 10,000 pages per job; blocked or JavaScript-only pages are retried in a browser (js_retry, on by default). Crawls accept parser / parse too.
SDKs and integrations
Python (one file, no dependencies, CLI and a LangChain loader inside): sous_scrape.py. JavaScript / TypeScript (Node 18+, Deno, Bun): sous-scrape.js.
from sous_scrape import SousScrape
s = SousScrape("ss_your_key")
print(s.scrape("https://example.com")["content"])
n8n, Make, Zapier: HTTP Request node, POST https://sousproxy.com/scrape/v1/scrape, header X-API-Key, JSON body. AI agents: see MCP.
Limits and rules
Up to 20 requests per second and 10 concurrent per account (429 above that). Banking, government and payment sites are not available (400). Free credits are added every month; after that usage is billed from your balance.
Crawl API
Starts a crawl and returns an id right away. Status and pages: GET /v1/crawl/{id}, stop: DELETE /v1/crawl/{id}. 1 credit per page (+5 with rendering).
| Parameter | Description |
|---|---|
url | Start page. |
max_pages, max_depth | Page limit (up to 1000, default 50) and depth (default 3). |
include, exclude | URL masks: ["*/blog/*"]. |
same_domain, subdomains | Stay on the domain (default yes), include subdomains. |
format | markdown, text, html, extract. |
sitemap | Seed URLs from sitemap.xml first (default yes): faster and more complete than links alone. |
respect_robots | Skip pages disallowed in robots.txt. |
webhook | Where to report completion (see webhooks). |
render, proxy, country | As in /v1/scrape. |
Map API
Every URL of a site in one call: robots.txt, sitemaps (including indexes and .gz) and homepage links. 2 credits per call, empty results are free.
| Parameter | Description |
|---|---|
url | The site or one of its pages. |
search | Keep only URLs containing this text: "blog", "/product/". |
limit | Up to 5000, default 1000. |
subdomains, sitemap | Include subdomains; read sitemaps (default yes). |
{"url": "https://example.com", "search": "/catalog/"} → {"count": 412, "links": ["https://example.com/catalog/1", ...]}
Search API
Search results: title, URL, snippet, position. 3 credits per query. With scrape_results: N we also fetch the top N pages (up to 10) as Markdown or the formats you choose, each at the scrape price.
{"query": "best running shoes 2026", "country": "us", "lang": "en", "limit": 10, "scrape_results": 3}
Link check by geo
Where a link leads from each country: every hop (HTTP, meta refresh, tracker JavaScript redirects), status codes and the final page. 2 credits per country, 5 more with a screenshot. Failed checks are free.
| Parameter | Description |
|---|---|
url | The link: a tracker, a pre-lander or a landing page. |
countries | Up to 15 countries: ["us","de","gb"]. Without it, one check over the default proxy. |
mobile | Go as a phone (mobile User-Agent). |
screenshot | Attach a screenshot of the final page as screenshot_b64. |
{"url": "https://example.com/go", "countries": ["us", "de"], "mobile": true}
→ {"same_destination": false, "results": [{"country": "us", "ok": true, "status": 200, "final_host": "offer.example",
"redirects": 2, "hops": [{"url": "...", "status": 302, "redirect": "http"}, ...], "title": "..."}, ...]}
Link monitoring
We check a link on a schedule and alert you in Telegram and by webhook when it stops opening, its redirect moves to another domain, a required text disappears or the page changes. A “down” alert is sent after two failures in a row.
| Plan | Links | Interval | Credits per 30 days |
|---|---|---|---|
| Free | 2 | from 60 minutes | 0 |
| Start | 20 | from 15 minutes | 18,000 |
| Pro | 150 | from 5 minutes | 58,000 |
Parameters: url, name, country (empty: checked directly from our server), interval_min, mobile, keyword (text that must be on the page), track_content, webhook.
List, plan and events: GET /v1/monitors. One link with history: GET /v1/monitors/{id}. Pause: POST /v1/monitors/{id} with {"active": false}. Check now: POST /v1/monitors/{id}/check. Delete: DELETE /v1/monitors/{id}. Plan: POST /v1/monitors/plan with {"plan": "start"}; it renews automatically while credits last; turn renewal off with {"auto_renew": false}.
Webhook: {"event": "monitor.down" | "monitor.up" | "monitor.redirect_changed" | "monitor.keyword_missing" | "monitor.changed", "id", "url", "country", "detail", "ts"}.
Domain check
Up to 200 domains per call, 2 credits each: registration date and age, expiry, registrar, IPs, SSL certificate (valid and days left), site response and redirects.
{"domains": ["example.com", "example.org"]}
→ {"results": [{"domain": "example.com", "created": "1995-08-14", "age_days": 11000, "expires": "2027-08-13",
"ssl": {"valid": true, "expires_in_days": 61}, "http": {"status": 200, "redirects": 0}}]}
AI landing analysis
We open a landing page (from a chosen country if needed) and return a breakdown: offer, vertical, price, language, audience, call to action, persuasion triggers, trust elements, forms and weak points. With translate_to you also get the headline, subheadline and CTA rewritten for native speakers of another language. Price: the page request plus AI extraction (60 credits).
{"url": "https://example.com/landing", "country": "de", "lang": "en", "translate_to": "German"}
AI browser agent
Describe a task in words. The AI agent opens a browser, clicks, types and returns the answer, data, the list of steps and a final screenshot. 100 credits per step, up to 15 steps by default. With output_schema the data comes back in exactly the shape you need.
{"task": "Find the cheapest plan on the site and what it includes",
"url": "https://example.com", "max_steps": 10, "country": "de",
"output_schema": {"plan": "string", "price": "number", "features": ["string"]}}
The agent never enters passwords or payment details and never places orders.
MCP server
Streamable HTTP. Tools: scrape, extract, screenshot, crawl, map, search, browser_agent, check_link, check_domains, analyze_landing, account. You pay only for tool calls.
Claude Code
claude mcp add --transport http --scope user sous-scrape /mcp --header "Authorization: Bearer KEY"
Cursor, Claude Desktop and others (mcp.json)
{"mcpServers": {"sous-scrape": {
"url": "/mcp",
"headers": {"Authorization": "Bearer KEY"}}}}
Other clients and "Copy for AI": /en/ai · /llms-full.txt
Errors and limits
| Code | Meaning |
|---|---|
400 | Bad parameters or a forbidden address (local and private networks). |
401 | No key or the key was revoked. |
402 | Not enough credits. |
429 | More than 10 concurrent requests per account. |
502 | The site did not answer after all attempts. Credits returned. |
503 | Browser or AI is unavailable right now. |
Credit balance: GET /v1/account.