magnova/lighthouse-audit
magnova--lighthouse-auditThis tool calls the Actor "magnova/lighthouse-audit" and retrieves its output results. Actor description: Bulk Google Lighthouse audits for any list of URLs: performance, SEO, accessibility and best-practices scores, LCP, CLS, TBT, top fixes, budgets and score change since last run. Mobile or desktop. $20 per 1,000 audits.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"urls": "<urls>"
},
"name": "magnova--lighthouse-audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | **REQUIRED** Public web pages to audit, one per line. Example: https://www.apify.com. A bare domain like example.com is treated as https://example.com. Example values: ["https://example.com","https://www.wikipedia.org"] | |
| device | No | Emulated device. 'mobile' matches Google's mobile-first scoring, 'desktop' uses desktop screen and network, 'both' audits each URL twice (two charged audits). Example values: "mobile" | mobile |
| waitSecs | No | Max seconds (0–45, default 30) to cap the wait for the Actor run to reach terminal state. For long-running Actors the response returns at the cap with the current run status; follow `nextStep` to poll via get-actor-run. Set to 0 to fire-and-forget. | |
| categories | No | Which Lighthouse categories to score. Leave empty for all four: performance, accessibility, best-practices, seo. Example values: ["performance","accessibility","best-practices","seo"] | |
| historyStore | No | Optional. Pick (or create) a key-value store in your account where the Actor keeps each URL's last score, so 'Compare with previous run' works across runs. If empty, the Actor tries its own 'lighthouse-audit-history' store and skips comparison if that is not allowed. Example: a store named lighthouse-history. | |
| maxOpportunities | No | How many of the biggest speed opportunities (with estimated savings) to include per page. Example values: 5 | |
| performanceBudget | No | Optional thresholds. Each result gets budgetPass true/false and a list of violations. Keys: minPerformanceScore, maxLcpMs, maxCls, maxTbtMs, minSeoScore, minAccessibilityScore. Example: {"minPerformanceScore": 80, "maxLcpMs": 2500} | |
| compareWithPrevious | No | Remember each URL's last performance score in your account and output previousPerformanceScore and performanceScoreChange. Ideal for scheduled monitoring. Example values: true |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tip | No | Advisory guidance RAG Web Browser wrote to its key-value store under the reserved "TIP" key | |
| runId | Yes | Actor run ID | |
| stats | No | Run statistics | |
| status | Yes | Run status: READY | RUNNING | TIMING-OUT | TIMED-OUT | ABORTING | ABORTED | SUCCEEDED | FAILED | |
| actorId | Yes | Stable Apify Actor ID from the run record | |
| summary | Yes | Past-tense summary of the run state | |
| exitCode | No | Actor process exit code; populated for terminal states (especially FAILED) | |
| nextStep | Yes | One primary follow-up action with identifiers interpolated | |
| storages | Yes | Dataset and key-value store metadata, keyed by alias. "default" is always the primary entry. | |
| actorName | No | "username/actor-name" | |
| startedAt | No | ISO timestamp when the run started | |
| finishedAt | No | ISO timestamp when the run finished (terminal states only) | |
| statusMessage | No | Pass-through from Apify run.statusMessage | |
| apifyConsoleUrl | No | Personalized Apify Console link to the run; present only for Console sessions |