DataForSEO On Page Content Parsing
From 0.2 credits/call
ae_dataforseo_on_page_content_parsing
Extract structured text, headings, and links from any webpage URL using DataForSEO.
From 0.2 credits/call
Pricing
From 0.2 credits/call
| Condition | Charge |
|---|---|
| JavaScript rendering disabled (default) | 0.2 credits/call |
| JavaScript rendering enabled | 1.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.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
tasks | array | Yes | No parameter description. | — |
tasks[].url | string | No | <em>URL of the content to parse</em><br><strong>required field</strong><br>URL of the page to parse<br>example:<br>`https://www.fujielectric.com/` | — |
tasks[].enable_xhr | boolean | null | No | No parameter description. | — |
tasks[].switch_pool | boolean | null | No | No parameter description. | — |
tasks[].markdown_view | boolean | null | No | No parameter description. | — |
tasks[].browser_preset | string | null | No | No parameter description. | — |
tasks[].store_raw_html | boolean | null | No | No parameter description. | — |
tasks[].accept_language | string | null | No | No parameter description. | — |
tasks[].ip_pool_for_scan | string | null | No | No parameter description. | — |
tasks[].custom_user_agent | string | null | No | No parameter description. | — |
tasks[].enable_javascript | boolean | null | No | No parameter description. | — |
tasks[].browser_screen_width | integer | null | No | No parameter description. | — |
tasks[].disable_cookie_popup | boolean | null | No | No parameter description. | — |
tasks[].browser_screen_height | integer | null | No | No parameter description. | — |
tasks[].enable_browser_rendering | boolean | null | No | No parameter description. | — |
tasks[].browser_screen_scale_factor | number | null | No | No parameter description. | — |
Invocation example
Copy the request and explore its response example.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_dataforseo_on_page_content_parsing' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"tasks": [
{
"accept_language": "en",
"markdown_view": true,
"url": "https://www.siemens.com/en-gb/products/medium-voltage-power-distribution/gm-sg-switchgear/"
}
]
}
}'Response exampleresponse.json
{
"cost": 0.00015,
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"cost": 0.00015,
"data": {
"accept_language": "en",
"api": "on_page",
"function": "content_parsing",
"markdown_view": true,
"url": "https://www.siemens.com/en-gb/products/medium-voltage-power-distribution/gm-sg-switchgear/"
},
"id": "11110853-2802-0495-0000-72e2abded1a2",
"path": [
"v3"
],
"result": [
{
"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.



