Screenshot
Provider operation: POST /api/web/screenshot. Supply a URL. Sample fields include URLs. Use it in content discovery, monitoring, or research. The POST request schema also lists timeout.
- Selected price
- $0.00015 / callPublished pricing
- Sellers / implementations
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
litescrapeCurrent Screenshot · POST | $0.00015 / call | — | —successP50— |
Run sends a real API request. Charges follow the published API contract.
Response structure
descriptionnullfull_pagebooleanscreenshot_base64stringsubmit_feedback_for_this_response_herestringtitlenullurlstring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
description?: null;
full_page?: boolean;
screenshot_base64?: string;
submit_feedback_for_this_response_here?: string;
title?: null;
url?: string;
};- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/litescrape/api/web/screenshot- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/litescrape/api/web/screenshot' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"full_page": false,
"url": "https://example.com"
}'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
timeout | URL query parametersquery | number | No | Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget. maximum: 90 |
assert_status_code | JSON request bodybody | integer | null | No | Expected origin HTTP status, 100-599. A different status is rejected; otherwise a rendered error page is a successful capture. |
detach_invisibles | JSON request bodybody | boolean | null | No | Drop display:none elements from the page. |
full_page | JSON request bodybody | boolean | No | Capture the full page when true. The default, false, captures the viewport. |
inject_frame_script | JSON request bodybody | array | null | No | POST only. 1-8 scripts (source, or a URL to a script), up to 8,192 characters each, run in every frame.Nested fields and variantsarrayNested fields and variants
|
inject_page_script | JSON request bodybody | array | null | No | POST only. 1-8 scripts (source, or a URL to a script), up to 8,192 characters each, run in the main frame.Nested fields and variantsarrayNested fields and variants
|
locale | JSON request bodybody | string | null | No | Browser locale as a language tag, 2-64 characters. Defaults to the browser's own. |
page_timeout | JSON request bodybody | integer | null | No | Seconds from 1 through 180 for page loading and browser operations. Cannot extend the total request budget set by timeout. |
referer | JSON request bodybody | string | null | No | HTTP(S) URL sent as the Referer. |
remove_overlay | JSON request bodybody | boolean | null | No | Remove modal and cookie-banner overlays from the page. |
respond_timing | JSON request bodybody | string | null | No | Page readiness condition to reach before responding. |
robots_txt | JSON request bodybody | string | null | No | User agent, 1-256 characters, to check against the site's robots.txt; disallowed URLs are rejected. |
set_cookies | JSON request bodybody | array | null | No | POST only. 1-100 cookies in Set-Cookie syntax (name=value; Path=/; Domain=...), one line each, up to 4,096 characters.Nested fields and variantsarrayNested fields and variants
|
url | JSON request bodybody | string | Yes | Public HTTP(S) URL to capture, 1-8,192 characters. Include http:// or https://; bare domains are rejected. The host must be public, on port 80 or 443, without embedded credentials. minLength: 1 · maxLength: 8192 |
user_agent | JSON request bodybody | string | null | No | User-Agent for the page request, 1-1,024 characters without control characters. Defaults to the browser's own. |
viewport | JSON request bodybody | object | null | No | POST only. Browser viewport; width and height are required. Default: 1280 x 1280.Nested fields and variantsViewportNested fields and variants
|
wait_for_selector | JSON request bodybody | string | array | null | No | CSS selector to wait for after navigation, 1-2,048 characters. POST also accepts a list of 1-16 selectors.Nested fields and variantsarrayNested fields and variants
|
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Response template · not a real response · Configured HTTP 200; actual status is unverified. Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.
{
"description": null,
"full_page": false,
"screenshot_base64": "<screenshot_base64>",
"submit_feedback_for_this_response_here": "<submit_feedback_for_this_response_here>",
"title": null,
"url": "<url>"
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# Screenshot
Provider operation: POST /api/web/screenshot. Supply a URL. Sample fields include URLs. Use it in content discovery, monitoring, or research. The POST request schema also lists timeout.
## Available implementations
litescrape · Screenshot: https://openany.si/markets/apis/capabilities/web-screenshot?offering=77f08b57-b257-4bb2-9389-81cadd2da352 · $0.00015 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/web-screenshot
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/litescrape/api/web/screenshot
Price: $0.00015 / call
Provider: litescrape
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/litescrape/api/web/screenshot' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"full_page": false,
"url": "https://example.com"
}'
```
## API contract
```json
{
"resource_type": "api",
"name": "Screenshot",
"endpoint": "https://api.openany.si/v1/agent-apis/litescrape/api/web/screenshot",
"method": "POST",
"content_type": "application/json",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.",
"location": "query",
"maximum": "90",
"name": "timeout",
"nullable": false,
"required": false,
"type": "number"
},
{
"description": "Take a screenshot of a web page.",
"json_schema": {
"additionalProperties": false,
"examples": [
{
"full_page": false,
"url": "https://example.com"
}
],
"properties": {
"assert_status_code": {
"anyOf": [
{
"maximum": 599,
"minimum": 100,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Expected origin HTTP status, 100-599. A different status is rejected; otherwise a rendered error page is a successful capture.",
"examples": [
200
],
"title": "Assert Status Code",
"x-litescrape": {
"formGroup": 1,
"group": 1,
"kind": "number",
"label": "Expected status",
"placeholder": "200",
"summary": "Expected origin HTTP status, 100-599. A different status is rejected; otherwise a rendered error page is a successful capture."
}
},
"detach_invisibles": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Drop display:none elements from the page.",
"title": "Detach Invisibles",
"x-litescrape": {
"formGroup": 1,
"group": 1,
"kind": "select",
"label": "Detach invisible elements",
"options": [
{
"label": "Default (false)",
"value": ""
},
{
"label": "true",
"value": "true"
},
{
"label": "false",
"value": "false"
}
],
"summary": "Drop display:none elements from the page."
}
},
"full_page": {
"default": false,
"description": "Capture the full page when true. The default, false, captures the viewport.",
"examples": [
true
],
"title": "Full Page",
"type": "boolean",
"x-litescrape": {
"formGroup": 0,
"group": 0,
"kind": "select",
"label": "Full page",
"options": [
{
"label": "Default (false)",
"value": ""
},
{
"label": "true",
"value": "true"
},
{
"label": "false",
"value": "false"
}
],
"summary": "Capture the full page when true. The default, false, captures the viewport."
}
},
"inject_frame_script": {
"anyOf": [
{
"items": {
"maxLength": 8192,
"minLength": 1,
"type": "string"
},
"maxItems": 8,
"minItems": 1,
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "POST only. 1-8 scripts (source, or a URL to a script), up to 8,192 characters each, run in every frame.",
"title": "Inject Frame Script",
"x-litescrape": {
"formGroup": 0,
"group": 0,
"label": "Inject Frame Script",
"summary": "POST only. 1-8 scripts (source, or a URL to a script), up to 8,192 characters each, run in every frame."
}
},
"inject_page_script": {
"anyOf": [
{
"items": {
"maxLength": 8192,
"minLength": 1,
"type": "string"
},
"maxItems": 8,
"minItems": 1,
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "POST only. 1-8 scripts (source, or a URL to a script), up to 8,192 characters each, run in the main frame.",
"title": "Inject Page Script",
"x-litescrape": {
"formGroup": 0,
"group": 0,
"label": "Inject Page Script",
"summary": "POST only. 1-8 scripts (source, or a URL to a script), up to 8,192 characters each, run in the main frame."
}
},
"locale": {
"anyOf": [
{
"maxLength": 64,
"minLength": 2,
"pattern": "^[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Browser locale as a language tag, 2-64 characters. Defaults to the browser's own.",
"examples": [
"en-US"
],
"title": "Locale",
"x-litescrape": {
"formGroup": 1,
"group": 1,
"label": "Locale",
"placeholder": "en-US",
"summary": "Browser locale as a language tag, 2-64 characters. Defaults to the browser's own."
}
},
"page_timeout": {
"anyOf": [
{
"maximum": 180,
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Seconds from 1 through 180 for page loading and browser operations. Cannot extend the total request budget set by timeout.",
"examples": [
30
],
"title": "Page Timeout",
"x-litescrape": {
"formGroup": 1,
"group": 1,
"kind": "number",
"label": "Page timeout",
"placeholder": "30",
"summary": "Seconds from 1 through 180 for page loading and browser operations. Cannot extend the total request budget set by timeout."
}
},
"referer": {
"anyOf": [
{
"maxLength": 8192,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "HTTP(S) URL sent as the Referer.",
"examples": [
"https://example.com"
],
"title": "Referer",
"x-litescrape": {
"formGroup": 1,
"group": 1,
"label": "Referer",
"placeholder": "https://example.com",
"summary": "HTTP(S) URL sent as the Referer."
}
},
"remove_overlay": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Remove modal and cookie-banner overlays from the page.",
"title": "Remove Overlay",
"x-litescrape": {
"formGroup": 1,
"group": 1,
"kind": "select",
"label": "Remove overlays",
"options": [
{
"label": "Default (false)",
"value": ""
},
{
"label": "true",
"value": "true"
},
{
"label": "false",
"value": "false"
}
],
"summary": "Remove modal and cookie-banner overlays from the page."
}
},
"respond_timing": {
"anyOf": [
{
"enum": [
"html",
"visible-content",
"mutation-idle",
"resource-idle",
"media-idle",
"network-idle"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Page readiness condition to reach before responding.",
"examples": [
"network-idle"
],
"title": "Respond Timing",
"x-litescrape": {
"formGroup": 1,
"group": 1,
"kind": "select",
"label": "Respond timing",
"options": [
{
"label": "Default",
"value": ""
},
{
"label": "html",
"value": "html"
},
{
"label": "visible-content",
"value": "visible-content"
},
{
"label": "mutation-idle",
"value": "mutation-idle"
},
{
"label": "resource-idle",
"value": "resource-idle"
},
{
"label": "media-idle",
"value": "media-idle"
},
{
"label": "network-idle",
"value": "network-idle"
}
],
"summary": "Page readiness condition to reach before responding."
}
},
"robots_txt": {
"anyOf": [
{
"maxLength": 256,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "User agent, 1-256 characters, to check against the site's robots.txt; disallowed URLs are rejected.",
"examples": [
"MyBot"
],
"title": "Robots Txt",
"x-litescrape": {
"formGroup": 1,
"group": 1,
"label": "Robots user agent",
"placeholder": "MyBot",
"summary": "User agent, 1-256 characters, to check against the site's robots.txt; disallowed URLs are rejected."
}
},
"set_cookies": {
"anyOf": [
{
"items": {
"maxLength": 4096,
"minLength": 3,
"type": "string"
},
"maxItems": 100,
"minItems": 1,
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "POST only. 1-100 cookies in Set-Cookie syntax (name=value; Path=/; Domain=...), one line each, up to 4,096 characters.",
"examples": [
[
"session=YOUR_SESSION; Path=/; Secure; HttpOnly"
]
],
"title": "Set Cookies",
"x-litescrape": {
"formGroup": 0,
"group": 0,
"label": "Set Cookies",
"summary": "POST only. 1-100 cookies in Set-Cookie syntax (name=value; Path=/; Domain=...), one line each, up to 4,096 characters."
}
},
"url": {
"description": "Public HTTP(S) URL to capture, 1-8,192 characters. Include http:// or https://; bare domains are rejected. The host must be public, on port 80 or 443, without embedded credentials.",
"examples": [
"https://example.com"
],
"maxLength": 8192,
"minLength": 1,
"title": "Url",
"type": "string",
"x-litescrape": {
"formGroup": 0,
"group": 0,
"label": "URL",
"placeholder": "https://ecll-litescrape-v3--site-api-web.modal.run",
"summary": "Public HTTP(S) URL to capture, 1-8,192 characters. Include http:// or https://; bare domains are rejected. The host must be public, on port 80 or 443, without embedded credentials."
}
},
"user_agent": {
"anyOf": [
{
"maxLength": 1024,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "User-Agent for the page request, 1-1,024 characters without control characters. Defaults to the browser's own.",
"title": "User Agent",
"x-litescrape": {
"formGroup": 1,
"group": 1,
"label": "User agent",
"placeholder": "Mozilla/5.0 …",
"summary": "User-Agent for the page request, 1-1,024 characters without control characters. Defaults to the browser's own."
}
},
"viewport": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"device_scale_factor": {
"anyOf": [
{
"exclusiveMinimum": 0,
"maximum": 4,
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"description": "Device pixel ratio, greater than 0 and at most 4.",
"title": "Device Scale Factor"
},
"has_touch": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Emulate touch support.",
"title": "Has Touch"
},
"height": {
"description": "Viewport height in CSS pixels, 1-4,096. Required.",
"maximum": 4096,
"minimum": 1,
"title": "Height",
"type": "integer"
},
"is_landscape": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Use landscape orientation.",
"title": "Is Landscape"
},
"is_mobile": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Emulate a mobile device.",
"title": "Is Mobile"
},
"width": {
"description": "Viewport width in CSS pixels, 1-4,096. Required.",
"maximum": 4096,
"minimum": 1,
"title": "Width",
"type": "integer"
}
},
"required": [
"width",
"height"
],
"title": "Viewport",
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"description": "POST only. Browser viewport; width and height are required. Default: 1280 x 1280.",
"examples": [
{
"height": 900,
"width": 1440
}
],
"x-litescrape": {
"formGroup": 0,
"group": 0,
"label": "Viewport",
"summary": "POST only. Browser viewport; width and height are required. Default: 1280 x 1280."
}
},
"wait_for_selector": {
"anyOf": [
{
"maxLength": 2048,
"minLength": 1,
"type": "string"
},
{
"items": {
"maxLength": 2048,
"minLength": 1,
"type": "string"
},
"maxItems": 16,
"minItems": 1,
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "CSS selector to wait for after navigation, 1-2,048 characters. POST also accepts a list of 1-16 selectors.",
"examples": [
"main"
],
"title": "Wait For Selector",
"x-litescrape": {
"formGroup": 1,
"group": 1,
"label": "Wait for selector",
"placeholder": "main",
"summary": "CSS selector to wait for after navigation, 1-2,048 characters. POST also accepts a list of 1-16 selectors."
}
}
},
"required": [
"url"
],
"title": "Request",
"type": "object"
},
"location": "body",
"name": "body",
"nullable": false,
"pointer": "",
"required": true,
"type": "object"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "150",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Schema template (HTTP assumed)",
"request": {
"body": {
"full_page": false,
"url": "https://example.com"
},
"headers": {},
"path": {},
"query": {}
},
"response_body": {
"description": null,
"full_page": false,
"screenshot_base64": "<screenshot_base64>",
"submit_feedback_for_this_response_here": "<submit_feedback_for_this_response_here>",
"title": null,
"url": "<url>"
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Schema template (HTTP assumed)
Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 2
Review these request fields before running. Keep the published provider and request method unchanged.
timeout- Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.
body- Take a screenshot of a web page.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/litescrape/api/web/screenshot' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '{ "full_page": false, "url": "https://example.com" }'Check the response
Response template · not a real response · Configured HTTP 200; actual status is unverified.
Response template · not a real response{ "description": null, "full_page": false, "screenshot_base64": "<screenshot_base64>", "submit_feedback_for_this_response_here": "<submit_feedback_for_this_response_here>", "title": null, "url": "<url>" }
Common questions
Do I need a separate key for every provider?
Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.
Are these providers interchangeable?
No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.
How is this API billed?
API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.
Where do the price and contract come from?
The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.
How do OpenAny Balance and x402 differ?
OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.
Does Playground send a paid request?
Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.
Use Screenshot with your agent
Inspect endpoint contracts and confirm availability and pricing before a paid call.