Capture rendered, full-page screenshots of any URL with a single POST — no headless Chrome to babysit, no font/emoji/GPU issues in Docker, no cold starts. Useful for visual monitoring, link previews, archiving and compliance snapshots.
import requests
resp = requests.post(
"https://app.quantumproxies.io/api/v1/scraper/extract",
headers={"Authorization": "Bearer qp_live_YOUR_KEY"},
json={"url": "https://example.com", "screenshot": True, "country": "us"},
timeout=120,
)
shot = resp.json()["screenshot"] # image payload (see shot.py for saving it)shot.py saves it to shots/<domain>.png and handles both payload styles (URL or base64).
QP_API_KEY=qp_live_... python shot.py https://example.com
- Real rendering — actual browser, real fonts, JS executed, lazy-loaded images scrolled in.
- Geo-true pages —
"country": "de"screenshots the page a German visitor sees (consent walls, prices, localized banners included). That's the feature for ad-verification and compliance work. - Bot walls — the fetch exits through residential IPs, so you screenshot the page, not the CAPTCHA.
| Use case | Trick |
|---|---|
| Visual regression on marketing pages | cron + compare hashes of the PNG |
| Ad/landing-page verification per market | loop over country values |
| Archiving competitor changes | date-stamped filenames, keep forever |
| OG-image style link previews | screenshot + crop top 1200×630 |
Screenshots run on the QuantumProxies Scraper API — per-request billing, same endpoint that does markdown and structured extraction. Keys: app.quantumproxies.io/api-keys.