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

Fetch API Alpha

Render any public web page in a fresh browser and get it back as Markdown, HTML, plain text or a full-page PNG screenshot.

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

// from request to code

Integrate Fetch

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

APIFetch
More options 12
Page

Render a public page in a fresh browser and return its content.

Extraction
Browser

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.

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

// request reference

Fetch parameters

Send query parameters with GET /api/web/fetch. 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.

Page

Render a public page in a fresh browser and return its content.

url
URL

Required public HTTP(S) URL, up to 8,192 characters. Standard ports only, no credentials.

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

respond_with
Format

Screenshots return a base64 PNG.

Accepted values / omission behavior Default (markdown)markdownhtmltextscreenshot

Extraction

target_selector
Target selector

CSS selector to extract, up to 2,048 characters. Falls back to the full page when nothing matches.

Example / input hint: article

remove_selector
Remove selector

CSS selector removed before extraction, up to 2,048 characters.

Example / input hint: nav, footer

with_images
Images

How Markdown writes images.

Accepted values / omission behavior Default (all)allaltnone
with_iframe
Iframes

Include direct child frames before extraction.

Accepted values / omission behavior Default (false)truefalsequoted
with_shadow_dom
Shadow DOM

Expand open shadow roots before extraction.

Accepted values / omission behavior Default (false)truefalse

Browser

wait_until
Wait until

Navigation event to wait for.

Accepted values / omission behavior Default (domcontentloaded)commitdomcontentloadedloadnetworkidle
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 …

// response

Work with the complete JSON response

Response groups include url, title, content, status_code. 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.