on_page_lighthouse
Analyze web page quality using Google's Lighthouse metrics to measure performance, accessibility, SEO, and best practices for optimization.
Instructions
The OnPage Lighthouse API is based on Google’s open-source Lighthouse project for measuring the quality of web pages and web apps.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
accept_language | No | Accept-Language header value | |
custom_js | No | Custom JavaScript code to execute | |
custom_user_agent | No | Custom User-Agent header | |
enable_javascript | No | Enable JavaScript rendering | |
url | Yes | URL of the page to parse |
Input Schema (JSON Schema)
{
"properties": {
"accept_language": {
"description": "Accept-Language header value",
"type": "string"
},
"custom_js": {
"description": "Custom JavaScript code to execute",
"type": "string"
},
"custom_user_agent": {
"description": "Custom User-Agent header",
"type": "string"
},
"enable_javascript": {
"description": "Enable JavaScript rendering",
"type": "boolean"
},
"url": {
"description": "URL of the page to parse",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}