DataForSEO On Page Instant Pages

From 0.2 credits/call
ae_dataforseo_on_page_instant_pages

Analyze a specific URL with DataForSEO to get detailed insights on its organic search optimization.

Productivity
From 0.2 credits/call

Pricing

From 0.2 credits/call
ConditionCharge
JavaScript rendering disabled (default)0.2 credits/call
JavaScript rendering enabled1.8 credits/call

Charges depend on whether JavaScript rendering is enabled.

The starting price applies when JavaScript rendering is disabled.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
tasksarrayYesNo parameter description.—
tasks[].urlstringNotarget page urlrequired fieldabsolute URL of the target page;Note #1: results will be returned for the specified URL only;Note #2: to prevent denial-of-service events, tasks that contain a duplicate crawl host will be returned with a 40501 error;to prevent this error from occurring, avoid setting tasks with the same domain if at least one of your previous tasks with this domain (including a page URL on the domain) is still in a crawling queue—
tasks[].custom_jsstring | nullNoNo parameter description.—
tasks[].enable_xhrboolean | nullNoNo parameter description.—
tasks[].check_spellboolean | nullNoNo parameter description.—
tasks[].switch_poolboolean | nullNoNo parameter description.—
tasks[].browser_presetstring | nullNoNo parameter description.—
tasks[].load_resourcesboolean | nullNoNo parameter description.—
tasks[].store_raw_htmlboolean | nullNoNo parameter description.—
tasks[].accept_languagestring | nullNoNo parameter description.—
tasks[].checks_thresholdobject | nullNoNo parameter description.—
tasks[].ip_pool_for_scanstring | nullNoNo parameter description.—
tasks[].custom_user_agentstring | nullNoNo parameter description.—
tasks[].enable_javascriptboolean | nullNoNo parameter description.—
tasks[].browser_screen_widthinteger | nullNoNo parameter description.—
tasks[].disable_cookie_popupboolean | nullNoNo parameter description.—
tasks[].validate_micromarkupboolean | nullNoNo parameter description.—
tasks[].browser_screen_heightinteger | nullNoNo parameter description.—
tasks[].return_despite_timeoutboolean | nullNoNo parameter description.—
tasks[].enable_browser_renderingboolean | nullNoNo parameter description.—
tasks[].browser_screen_scale_factornumber | nullNoNo parameter description.—

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_dataforseo_on_page_instant_pages' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "tasks": [
      {
        "enable_browser_rendering": false,
        "load_resources": true,
        "store_raw_html": false,
        "url": "https://liuhaoglobal.com/",
        "validate_micromarkup": true
      }
    ]
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "cost": 0.00045,
  "status_code": 20000,
  "status_message": "Ok.",
  "tasks": [
    {
      "cost": 0.00045,
      "data": {
        "api": "on_page",
        "enable_browser_rendering": false,
        "function": "instant_pages",
        "load_resources": true,
        "store_raw_html": false,
        "url": "https://liuhaoglobal.com/"
      },
      "id": "11151844-2802-0275-0000-42fa787e6fc4",
      "path": [
        "v3"
      ],
      "result": [
        {
          "crawl_gateway_address": "168.119.141.170",
          "crawl_progress": "finished",
          "crawl_status": null,
          "items": [
            {}
          ],
          "items_count": 1
        }
      ],
      "result_count": 1
    }
  ],
  "tasks_count": 1,
  "tasks_error": 0
}

This example shows part of the response. Copied content is valid JSON.