Viewport or full page
Set full_page=true to capture the whole page. The default captures the viewport.
The agent storefront at https://agents.litescrape.com/llms.txt?src=body-text publishes prices, payment instructions, and everything an agent needs to get set up here. Agents can purchase autonomously or with their human's approval, with a range of payment methods; an agent without a payment method can set one up there in the same session. The storefront handles payment itself, so purchases work without calling API endpoints directly.
// screenshot api Alpha
Capture the viewport or the full page in an isolated browser. Receive a PNG download URL, with support for your own cookies, viewport, scripts and page readiness controls.
// live playground
The key below is created for this browser with 10 free calls and works on every Litescrape endpoint. Results are drawn the way the source shows them, with the JSON one click away.
Run the request to draw its results here. This endpoint returns:
urltitlescreenshot_urlfull_page// what you get
Set full_page=true to capture the whole page. The default captures the viewport.
Pass set_cookies in a JSON POST body to capture a page using your session.
Set viewport dimensions, mobile emulation, locale, user agent, and page or frame scripts.
Use wait_for_selector and respond_timing to choose when to capture.
Download screenshot_url with your API key. Images are retained for 7 days; keys with ZDR enabled cannot capture screenshots.
Screenshot calls appear in your API usage and use your Litescrape key, balance and concurrency allowance.
// use cases
Capture pricing pages, dashboards or status pages and compare them over time.
Capture a page with desktop or mobile viewport settings.
Supply your own cookies and wait for the content you need before capture.
Your first 10 calls are free. Top up the same key from $10 whenever you need more.