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 base64 PNG, with support for your own cookies, viewport, scripts and page readiness controls.
// live playground
Run the request to draw its results here. This endpoint returns:
urltitlescreenshot_base64full_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.
The response includes screenshot_base64. Decode the base64 string to PNG bytes, or display it with a data URL prefix.
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 5 calls are free. Top up the same key from $10 whenever you need more.