Provided by DataForSEO
Run Lighthouse checks on a page URL with DataForSEO
Get the full Lighthouse JSON report for one web page fetched on request by its URL: the Lighthouse version, the final URL after redirects, the fetch time and browser environment, and every audit it ran with its id, title, description, score and detail table. Choose the mobile or desktop profile, restrict the run to chosen categories or audits, pick the Lighthouse version and language, and set network and CPU throttling. One URL in, one report out; pages are tested one per call. One request per call, priced by the vendor's own rate card; an empty result set is reported as no result.
How to run it
Step 1Set up
Once: paste this into your agent's chat. The Skill installs the CLI and logs in by itself. For an agent that cannot use a shell, connect it over MCP instead.
set up https://glasser.ai/SKILL.md
Show me how to use the DataForSEO endpoint /v3/on_page/lighthouse/live/json on Glasser.glasser run -p dataforseo -e '/v3/on_page/lighthouse/live/json' -i '{"url":"https://dataforseo.com/"}' --endpoint-version 1Uses endpoint version 1. Inspect the current price before running. Install and log in first on Get Started.
Once per Run:
IDEMPOTENCY_KEY=$(uuidgen)Run it, and copy this same block to send it again:
curl -X POST https://api.glasser.ai/v1/runs \
-H "Authorization: Bearer gl_..." \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-H "Content-Type: application/json" \
-d '{"provider":"dataforseo","endpoint":"/v3/on_page/lighthouse/live/json","input":{"url":"https://dataforseo.com/"},"endpoint_version":1}'Reuse the same Idempotency-Key to send it again: the second send is a read of the first Run. A new key is a new Run and a new Charge. Uses endpoint version 1; inspect the current price before running.
Step 2Try a specific example task
When you need to investigate a website problem, you might review crawl findings that relate to the issue you are trying to understand.
Copy this prompt into your agent to review crawl findings for your website issue.
Use dataforseo:/v3/on_page/lighthouse/live/json on Glasser.
Find returned crawl findings relevant to the website problem I describe.Endpoint structure
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"url"
],
"properties": {
"tag": {
"type": "string",
"maxLength": 2048,
"minLength": 1
},
"url": {
"type": "string",
"maxLength": 2048,
"minLength": 1
},
"audits": {
"type": "array",
"items": {
"type": "string",
"maxLength": 2048,
"minLength": 1
},
"maxItems": 100,
"minItems": 1
},
"version": {
"type": "string",
"maxLength": 2048,
"minLength": 1
},
"categories": {
"type": "array",
"items": {
"type": "string",
"maxLength": 2048,
"minLength": 1
},
"maxItems": 100,
"minItems": 1
},
"for_mobile": {
"type": "string",
"maxLength": 2048,
"minLength": 1
},
"language_code": {
"type": "string",
"maxLength": 2048,
"minLength": 1
},
"language_name": {
"type": "string"
},
"custom_user_agent": {
"type": "string",
"maxLength": 2048,
"minLength": 1
},
"browser_screen_width": {
"type": "integer"
},
"browser_screen_height": {
"type": "integer"
},
"browser_network_throttling": {
"type": "string",
"maxLength": 2048,
"minLength": 1
},
"browser_screen_scale_factor": {
"anyOf": [
{
"type": "number"
},
{
"enum": [
"Infinity",
"-Infinity",
"NaN"
],
"type": "string"
}
]
},
"browser_cpu_throttling_multiplier": {
"anyOf": [
{
"type": "number"
},
{
"enum": [
"Infinity",
"-Infinity",
"NaN"
],
"type": "string"
}
]
},
"browser_network_throttling_method": {
"type": "string",
"maxLength": 2048,
"minLength": 1
}
},
"additionalProperties": false
}{
"url": "https://dataforseo.com/"
}This Endpoint publishes no output schema. You get the Provider's own response body, unchanged — we do not warrant a shape we cannot guarantee.
How pricing works
| Data returned or no match | The same price with or without matching data. | $0.0055 |
|---|---|---|
| Provider error | The Provider failed to answer. | $0.00 |
| Timed out | The Run exceeded its time limit. | $0.00 |
| Internal failure | An internal error prevented completion. | $0.00 |