Web Screenshot API
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.
- Selected price
- $0.00015 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
Web Screenshot API
Prepare your request, then continue with your agent.
Selected price
$0.00015 / call
- Provider
- API
- Pricing
On this page
Overview
Web Screenshot API
POST a public HTTP(S) url with optional full_page, viewport and page-readiness settings. screenshot_base64 carries the capture; page_timeout bounds browser operations but cannot extend the total timeout query budget.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | JSON body requires url; optional body fields: assert_status_code, detach_invisibles, full_page, inject_frame_script, inject_page_script, locale, page_timeout, referer, remove_overlay, respond_timing, robots_txt, set_cookies, user_agent, viewport, wait_for_selector. Optional query parameter: timeout (greater than 0, at most 90 seconds). |
| Selected implementation | litescrape · Screenshot |
| Billing | See the pricing area for the selected implementation and request options |
What You Can Build
- Visual documentation: Keep rendered page captures with their source URL and viewport settings.
- Layout comparisons: Use explicit browser readiness and dimensions for comparable captures.
Returned Data
| Field | Meaning |
|---|---|
screenshot_base64 |
Base64-encoded screenshot payload. |
url |
Captured page URL. |
full_page |
Whether full-page capture was requested. |
title |
Page title when available. |
description |
Page description when available. |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the selected implementation and pricing, then adapt the request below to your target.
- Check the HTTP response and business result before reading optional fields.
curl --request POST \
https://api.openany.si/v1/agent-apis/litescrape/api/web/screenshot \
-H "Authorization: Bearer ${OPENANY_API_KEY}" \
-H "Content-Type: application/json" \
--data-raw '{"full_page":false,"url":"https://example.com"}'
Request and Response Examples
The response example is a schema template; placeholder values are not observed records. The documented request is a calling template; inspect the returned response for the selected implementation.
Published Web Screenshot API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
litescrapeCurrent Screenshot · POST · View API reference | $0.00015 / call | 0 | —successP50— |
- Unit price
- $0.00015
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.
Total $0.015
API
- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/litescrape/api/web/screenshot- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
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 |
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
|
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.
Response structure
descriptionnullfull_pagebooleanscreenshot_base64stringsubmit_feedback_for_this_response_herestringtitlenullurlstring
Agent integration
Copy the resource contract without sharing an API key.
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. |
Examples
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>" }