# Screenshot

Get Web Screenshot data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by LiteScrape, pass parameters such as full_page, url, and retrieve structured data including base64-encoded screenshot payload, captured page URL, page title, and page description for visual documentation, and layout comparisons, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/market/apis/web/web-screenshot/?offering=77f08b57-b257-4bb2-9389-81cadd2da352
API ID: 77f08b57-b257-4bb2-9389-81cadd2da352
Provider: litescrape
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/litescrape/api/web/screenshot
Page update time: 2026-12-03T02:49:00.129Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.00015 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:48:59.263Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "150",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Screenshot request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "timeout": {
          "type": "number",
          "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.",
          "maximum": 90
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "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",
      "description": "Take a screenshot of a web page."
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "description": {
      "type": "null"
    },
    "full_page": {
      "type": "boolean"
    },
    "screenshot_base64": {
      "type": "string"
    },
    "submit_feedback_for_this_response_here": {
      "type": "string"
    },
    "title": {
      "type": "null"
    },
    "url": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Schema template (HTTP assumed)
```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"
}'
```

## Response example
Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.
Response template · not a real response · Configured HTTP 200; actual status is unverified.
```json
{
  "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
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- litescrape: https://openany.si/market/apis/web/web-screenshot/?offering=77f08b57-b257-4bb2-9389-81cadd2da352

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
