dataforseo_x_on-page-page-screenshot $0.006 per call

Full-page screenshot of any URL. Using this endpoint, you can capture a full high-quality screenshot of any webpage. (DataForSEO · Open web & SEO data)

For AI agents: call dataforseo_x_on-page-page-screenshot
POST https://toll402.dev/v1/p/dataforseo.x.on-page-page-screenshot
{
 "url": "https://dataforseo.com/apis"
}
Answers 402 with x402 payment requirements; pay with any x402 client (@x402/fetch, x402 for Python, toll402-client, toll402-mcp) or send a prepaid-credits key as x-toll402-key (https://toll402.dev/credits). Paid per call via x402 (USDC on Base) or with a prepaid-credits key (x-toll402-key, card at /credits); charged only on success. Start at /llms.txt or connect the MCP server: npx -y toll402-mcp · remote https://toll402.dev/mcp.

Input schema

{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "page url required field absolute URL of the page to snap note: if the URL you indicate here returns a 404 status code or the indicated value is not a valid URL, you will obtain \"error_message\":\"Screenshot is empty\" in the response array",
   "examples": [
    "https://dataforseo.com/apis"
   ]
  },
  "accept_language": {
   "type": "string",
   "description": "language header for accessing the website optional field all locale formats are supported (xx, xx-XX, xxx-XX, etc.) note: if you do not specify this parameter, some websites may deny access; in this case, you will obtain \"error_message\":\"Sc"
  },
  "custom_user_agent": {
   "type": "string",
   "description": "custom user agent optional field custom user agent for crawling a website example: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36 default value: Mozilla/5.0 (compati"
  },
  "browser_preset": {
   "type": "string",
   "description": "preset for browser screen parameters optional field if you use this field, you don’t need to indicate browser_screen_width, browser_screen_height, browser_screen_scale_factor possible values: desktop, mobile, tablet desktop preset will appl"
  },
  "browser_screen_width": {
   "type": "integer",
   "description": "browser screen width optional field you can set a custom browser screen width to perform audit for a particular device; if you use this field, you don’t need to indicate browser_preset as it will be ignored; minimum value, in pixels: 240 ma"
  },
  "browser_screen_height": {
   "type": "integer",
   "description": "browser screen height optional field you can set a custom browser screen height to perform audit for a particular device; if you use this field, you don’t need to indicate browser_preset as it will be ignored; minimum value, in pixels: 240 "
  },
  "browser_screen_scale_factor": {
   "type": "number",
   "description": "browser screen scale factor optional field you can set a custom browser screen resolution ratio to perform audit for a particular device; if you use this field, you don’t need to indicate browser_preset as it will be ignored; minimum value:"
  },
  "full_page_screenshot": {
   "type": "boolean",
   "description": "take a screenshot of the full page optional field set to false if you want to capture only the part of the page displayed before scrolling default value: true"
  },
  "disable_cookie_popup": {
   "type": "boolean",
   "description": "disable the cookie popup optional field set to true if you want to disable the popup requesting cookie consent from the user; default value: false"
  },
  "switch_pool": {
   "type": "boolean",
   "description": "switch proxy pool optional field if true, additional proxy pools will be used to obtain the requested data; the parameter can be used if a multitude of tasks is set simultaneously, resulting in occasional rate-limit and/or site_unreachable "
  },
  "ip_pool_for_scan": {
   "type": "string",
   "description": "proxy pool optional field you can choose a location of the proxy pool that will be used to obtain the requested data; the parameter can be used if page content is inaccessible in one of the locations, resulting in occasional site_unreachabl"
  }
 },
 "additionalProperties": true,
 "description": "the POST body is an ARRAY of task objects with these fields — one object per task"
}

MCP

{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}

All tools · OpenAPI