DataForSEO On Page Lighthouse
From 6 credits/call
ae_dataforseo_on_page_lighthouse
Run a Google Lighthouse audit via DataForSEO to measure web page quality, performance, and accessibility.
From 6 credits/call
Pricing
From 6 credits/call
| Condition | Charge |
|---|---|
| Each call | 6 credits |
A fixed fee applies to each call.
The starting price applies to a single query.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
tasks | array | Yes | No parameter description. | — |
tasks[].tag | string | null | No | No parameter description. | — |
tasks[].url | string | No | <em>target URL</em><br><strong>required field</strong><br>target page should be specified with its absolute URL (including http:// or https://)<br>example:<br><code>https://dataforseo.com/</code> | — |
tasks[].audits | array | null | No | No parameter description. | — |
tasks[].version | string | null | No | No parameter description. | — |
tasks[].categories | array | null | No | No parameter description. | — |
tasks[].for_mobile | boolean | null | No | No parameter description. | — |
tasks[].language_code | string | null | No | No parameter description. | — |
tasks[].language_name | string | null | No | No parameter description. | — |
tasks[].custom_user_agent | string | null | No | No parameter description. | — |
tasks[].browser_screen_width | integer | null | No | No parameter description. | — |
tasks[].browser_screen_height | integer | null | No | No parameter description. | — |
tasks[].browser_network_throttling | string | null | No | No parameter description. | — |
tasks[].browser_screen_scale_factor | number | null | No | No parameter description. | — |
tasks[].browser_cpu_throttling_multiplier | number | null | No | No parameter description. | — |
tasks[].browser_network_throttling_method | string | 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_lighthouse' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"tasks": [
{
"categories": [
"performance",
"seo",
"best_practices",
"accessibility"
],
"for_mobile": true,
"url": "https://fscdisplay.com/"
}
]
}
}'Response exampleresponse.json
{
"cost": 0.005,
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"cost": 0.005,
"data": {
"api": "on_page",
"categories": [
"performance"
],
"for_mobile": true,
"function": "lighthouse",
"url": "https://fscdisplay.com/"
},
"id": "11120849-2802-0324-0000-b1368920afc4",
"path": [
"v3"
],
"result": [
{
"audits": {
"first-contentful-paint": {},
"is-on-https": {},
"largest-contentful-paint": {},
"redirects-http": {},
"screenshot-thumbnails": {},
"speed-index": {}
},
"environment": {
"benchmarkIndex": 3013,
"credits": {},
"hostUserAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/132.0.0.0 Safari/537.36",
"networkUserAgent": "Mozilla/5.0 (Linux; Android 11; moto g power (2022)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Mobile Safari/537.36"
},
"fetchTime": "2026-11-12T08:49:25.323Z",
"finalDisplayedUrl": "https://fscdisplay.com/",
"finalUrl": "https://fscdisplay.com/",
"gatherMode": "navigation"
}
],
"result_count": 1
}
],
"tasks_count": 1,
"tasks_error": 0
}This example shows part of the response. Copied content is valid JSON.



