OpenAny
Get API keyAPI Key
APIDataSearch & Research

dataforseo logo
DataForSEO On Page / Page Screenshot API

Get DataForSEO On Page / Page Screenshot data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by DataForSEO, configure supported query parameters and filters, and retrieve structured data including returned cost field, returned status code field, returned status message field, business payload, and identifier to search interfaces and source review, and integration reference.

Selected price
$0.0048 / callPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
0Selected implementation · last 30 days
Success rate · 30d
—No requests in this period
USE THIS API

DataForSEO On Page / Page Screenshot API

Prepare your request, then continue with your agent.

Pricing

$0.0048 / call

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
DataForSEO On Page / Page Screenshot API

DataForSEO On Page / Page Screenshot API

Retrieve on Page Page Screenshot with the DataForSEO API. Provide JSON payload in body. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs body: body
Selected implementation dataforseo · DataForSEO — On Page / Page Screenshot
Billing Follow the selected implementation pricing, billing unit, quantity and charge rules

What You Can Build

  • Search interfaces and source review: Keep returned sources and query context together.
  • Integration reference: Use the selected request format and keep source identifiers with the returned result.

Documented Response Fields

Field Meaning
cost Returned cost field
status_code Returned status code field
status_message Returned status message field
tasks[].data Business payload
tasks[].id Identifier
tasks[].result Returned result
tasks[].cost Returned cost field
tasks[].path Returned path field

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the JSON body and supported fields shown in the request template.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl \
  'https://api.openany.si/v1/agent-apis/dataforseo/v3/on_page/page_screenshot' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '[
  {
    "url": "https://dataforseo.com/apis"
  }
]'

Request and Response Examples

The response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.

Published DataForSEO On Page / Page 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

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
body* array
body[0]* object | null
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
Optional parameters (10)
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":"Screenshot is empty" in the response array
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 apply the following values: browser_screen_width: 1920 browser_screen_height: 1080 browser_screen_scale_factor: 1 mobile preset will apply the following values: browser_screen_width: 390 browser_screen_height: 844 browser_screen_scale_factor: 3 tablet preset will apply the following values: browser_screen_width: 1024 browser_screen_height: 1366 browser_screen_scale_factor: 2 Note: in this endpoint, the enable_browser_rendering, enable_javascript, load_resources, and enable_xhr parameters are always enabled.
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 maximum value, in pixels: 9999
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: 0.5 maximum value: 3
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 maximum value, in pixels: 9999
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 (compatible; RSiteAuditor)
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
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
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_unreachable errors possible values: us, de
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 errors
‌‌ Using this endpoint, you can capture a full high-quality screenshot of any webpage. In this way, you can review the target page as the DataForSEO crawler and Googlebot see it.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
DataForSEOCurrent
DataForSEO — On Page / Page Screenshot · POST · View API reference
$0.0048 / call0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · DataForSEOUSD / call
Pricing
$0.0048

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

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.

API

Method
POST
Endpoint
https://api.openany.si/v1/agent-apis/dataforseo/v3/on_page/page_screenshot
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
bodyJSON request bodybodyarrayYes

‌‌ Using this endpoint, you can capture a full high-quality screenshot of any webpage. In this way, you can review the target page as the DataForSEO crawler and Googlebot see it.

minItems: 1 · maxItems: 1

Nested fields and variants

body[] · Array item · object

Nested fields and variants
body[].accept_language string · Optional

Parent object: body[]

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":"Screenshot is empty" in the response array
body[].browser_preset string · Optional

Parent object: body[]

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 apply the following values: browser_screen_width: 1920 browser_screen_height: 1080 browser_screen_scale_factor: 1 mobile preset will apply the following values: browser_screen_width: 390 browser_screen_height: 844 browser_screen_scale_factor: 3 tablet preset will apply the following values: browser_screen_width: 1024 browser_screen_height: 1366 browser_screen_scale_factor: 2 Note: in this endpoint, the enable_browser_rendering, enable_javascript, load_resources, and enable_xhr parameters are always enabled.
body[].browser_screen_height integer · Optional

Parent object: body[]

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 maximum value, in pixels: 9999
body[].browser_screen_scale_factor number · Optional

Parent object: body[]

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: 0.5 maximum value: 3

minimum: 0.5 · maximum: 3

body[].browser_screen_width integer · Optional

Parent object: body[]

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 maximum value, in pixels: 9999

format: int64

body[].custom_user_agent string · Optional

Parent object: body[]

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 (compatible; RSiteAuditor)
body[].disable_cookie_popup boolean · Optional

Parent object: body[]

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
body[].full_page_screenshot boolean · Optional

Parent object: body[]

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
body[].ip_pool_for_scan string · Optional

Parent object: body[]

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_unreachable errors possible values: us, de
body[].switch_pool boolean · Optional

Parent object: body[]

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 errors
body[].url string · Required

Parent object: body[]

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

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • costnumber
  • status_codeinteger
  • status_messagestring
  • tasksobject[]
    • costnumber
    • dataobject
      • apistring
      • functionstring
      • urlstring
    • idstring
    • pathstring[]
    • resultobject[]
      • crawl_progressstring
      • error_messagenull
      • itemsobject[]
        • imagestring
      • items_countinteger
    • result_countinteger
    • status_codeinteger
    • status_messagestring
    • timestring
  • tasks_countinteger
  • tasks_errorinteger
  • timestring
  • versionstring

Composite rule pricing

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Base fee: $0.004800. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.

Fee itemPriceMetering sourceWhenQuantity limit
任务错误数必须为零$0.000000 / billing unitResponse · /tasks_error · Numeric valueAlways0 billing unit · Decimal places: 0

Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.004800.

Response quantities settle after the response. Before execution, the maximum quantity determines the reservation; unused reservation is released. Missing or invalid quantities are not treated as zero.

Pricing parameters and defaults
[]

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Official example · 官方历史成对样例(未运行) (HTTP assumed)

Example from the provider's documentation. Field values in your results will differ.

  1. 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 / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 1

    Review these request fields before running. Keep the published provider and request method unchanged.

    body
    ‌‌ Using this endpoint, you can capture a full high-quality screenshot of any webpage. In this way, you can review the target page as the DataForSEO crawler and Googlebot see it.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/dataforseo/v3/on_page/page_screenshot' \
      -X POST \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json' \
      --data-raw '[
      {
        "url": "https://dataforseo.com/apis"
      }
    ]'
  3. Check the response

    Sample response · Configured HTTP 200; actual status is unverified.

    Sample response
    {
      "cost": 0.004,
      "status_code": 20000,
      "status_message": "Ok.",
      "tasks": [
        {
          "cost": 0.004,
          "data": {
            "api": "on_page",
            "function": "page_screenshot",
            "url": "https://dataforseo.com/apis"
          },
          "id": "05061850-1535-0444-0000-698f746278b6",
          "path": [
            "v3",
            "on_page",
            "page_screenshot"
          ],
          "result": [
            {
              "crawl_progress": "finished",
              "error_message": null,
              "items": [
                {
                  "image": "https://api.dataforseo.com/cdn/screenshot/05061850-1535-0444-0000-698f746278b6"
                }
              ],
              "items_count": 1
            }
          ],
          "result_count": 1,
          "status_code": 20000,
          "status_message": "Ok.",
          "time": "6.3053 sec."
        }
      ],
      "tasks_count": 1,
      "tasks_error": 0,
      "time": "6.3639 sec.",
      "version": "0.1.20220428"
    }

Common questions

Which inputs identify this request?

Provide JSON payload in body (array). Keep identifiers and URLs in the formats documented for this implementation.

How should I structure the JSON body?

Send the body according to its root JSON schema. Do not add a second body wrapper around the documented properties, and preserve the declared types of nested values.

How should I map the returned fields?

Use the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.

Can I reuse request parameters from another endpoint?

Use the selected implementation schema. Similar operation names, providers or versions do not establish identical input locations, types or response fields.

Which API key should I use?

Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

Where can I check the current request price?

Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

Use DataForSEO On Page / Page Screenshot API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.