Provided by DataForSEO
Capture a screenshot of a page URL with DataForSEO
Capture one web page on request by its URL and read the URL of the stored screenshot image, rendered at a chosen browser width, height and scale factor, as the full page or just the first screen, with the cookie popup dismissed if asked. One URL in, one image out; pages are captured one per call. One request per call, priced by the vendor's own rate card; an empty result set is reported as no result.
How to run it
Step 1Set up
Once: paste this into your agent's chat. The Skill installs the CLI and logs in by itself. For an agent that cannot use a shell, connect it over MCP instead.
set up https://glasser.ai/SKILL.md
Show me how to use the DataForSEO endpoint /v3/on_page/page_screenshot on Glasser.glasser run -p dataforseo -e '/v3/on_page/page_screenshot' -i '{"url":"https://dataforseo.com/apis"}' --endpoint-version 1Uses endpoint version 1. Inspect the current price before running. Install and log in first on Get Started.
Once per Run:
IDEMPOTENCY_KEY=$(uuidgen)Run it, and copy this same block to send it again:
curl -X POST https://api.glasser.ai/v1/runs \
-H "Authorization: Bearer gl_..." \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-H "Content-Type: application/json" \
-d '{"provider":"dataforseo","endpoint":"/v3/on_page/page_screenshot","input":{"url":"https://dataforseo.com/apis"},"endpoint_version":1}'Reuse the same Idempotency-Key to send it again: the second send is a read of the first Run. A new key is a new Run and a new Charge. Uses endpoint version 1; inspect the current price before running.
Step 2Try a specific example task
When you need to investigate a website problem, you might review crawl findings that relate to the issue you are trying to understand.
Copy this prompt into your agent to review crawl findings for your website issue.
Use dataforseo:/v3/on_page/page_screenshot on Glasser.
Find returned crawl findings relevant to the website problem I describe.Endpoint structure
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"maxLength": 2048,
"minLength": 1
},
"switch_pool": {
"type": "boolean"
},
"browser_preset": {
"type": "string",
"maxLength": 2048,
"minLength": 1
},
"accept_language": {
"type": "string",
"maxLength": 2048,
"minLength": 1
},
"ip_pool_for_scan": {
"type": "string"
},
"custom_user_agent": {
"type": "string",
"maxLength": 2048,
"minLength": 1
},
"browser_screen_width": {
"type": "integer"
},
"disable_cookie_popup": {
"type": "boolean"
},
"full_page_screenshot": {
"type": "boolean"
},
"browser_screen_height": {
"type": "integer"
},
"browser_screen_scale_factor": {
"anyOf": [
{
"type": "number"
},
{
"enum": [
"Infinity",
"-Infinity",
"NaN"
],
"type": "string"
}
]
}
},
"additionalProperties": false
}{
"url": "https://dataforseo.com/apis"
}This Endpoint publishes no output schema. You get the Provider's own response body, unchanged — we do not warrant a shape we cannot guarantee.
How pricing works
| Data returned | Charged only when data is returned. | $0.00528 |
|---|---|---|
| Provider error | The Provider failed to answer. | $0.00 |
| Timed out | The Run exceeded its time limit. | $0.00 |
| Internal failure | An internal error prevented completion. | $0.00 |