Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Screenshot API — Full-Page Website Screenshots via HTTP

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.

One request

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

What the API handles that DIY headless doesn't

  • 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 cases in the wild

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.

About

Full-page website screenshots via HTTP: geo-true rendering, bot walls handled, PNG out.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages