Litescrape sells to AI agents - live prices and self-serve payment

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.

← All documentation

// Web documentation

Screenshot API Alpha

Web page screenshots as PNG download URLs, with full-page capture, custom cookies, viewport settings and browser controls.

GET https://api.litescrape.com/api/web/screenshot

// from request to code

Integrate Screenshot

Build your request and copy it into your stack. Or let your coding agent set it up.

APIScreenshot
More options 11
Screenshot

Capture a PNG and receive its authenticated download URL.

Browser

For custom cookies, viewport dimensions and scripts, send a POST request with a JSON body. See the Screenshot API reference.

Your request updates the code instantly.

Open the Playground →
https://mcp.litescrape.com/mcp

Add the server URL to your MCP client with an Authorization: Bearer header containing your API key, then call the tool below.

Screenshot is available over HTTP. Choose the Python, TypeScript, or cURL tab to use this API.

// request reference

Screenshot parameters

Send query parameters with GET /api/web/screenshot. Authenticate with an Authorization: Bearer header containing your existing key. Keep keys on your server, not in browser code.

The groups below list every request field, including compatibility restrictions. Read the extended reference for detailed types, defaults, parameter combinations and additional examples.

Screenshot

Capture a PNG and receive its authenticated download URL.

url
URL

Public http:// or https:// URL, up to 8,192 characters, with a standard port and no credentials.

Example / input hint: https://litescrape.com

full_page
Full page

Capture the full page when true. The default captures the viewport.

Accepted values / omission behavior Default (false)truefalse

Browser

For custom cookies, viewport dimensions and scripts, send a POST request with a JSON body. See the Screenshot API reference.

respond_timing
Respond timing

Page readiness condition before responding.

Accepted values / omission behavior Defaulthtmlvisible-contentmutation-idleresource-idlemedia-idlenetwork-idle
wait_for_selector
Wait for selector

CSS selector to wait for after navigation, up to 2,048 characters.

Example / input hint: main

page_timeout
Page timeout

Seconds from 1 through 180 for browser operations.

Example / input hint: 30

locale
Locale

Browser locale, such as en-US.

Example / input hint: en-US

user_agent
User agent

Optional User-Agent, up to 1,024 characters.

Example / input hint: Mozilla/5.0 …

referer
Referer

Optional HTTP(S) referer.

Example / input hint: https://example.com

remove_overlay
Remove overlays

Remove cookie banners and modal overlays before capture.

Accepted values / omission behavior Default (false)truefalse
detach_invisibles
Detach invisible elements

Drop display:none elements before capture.

Accepted values / omission behavior Default (false)truefalse
assert_status_code
Expected status

Require this origin HTTP status, from 100 through 599.

Example / input hint: 200

robots_txt
Robots user agent

Check robots.txt for this user agent and reject disallowed URLs.

Example / input hint: MyBot

// response

Work with the complete JSON response

Response groups include url, title, screenshot_url, full_page. Groups and fields depend on the upstream result.

The SDK examples use raise_for_error() or raiseForError() so API errors are not mistaken for successful results.

More Web APIs