Scan page speed & estimate revenue lost to slowness
scan_speed_and_revenueMeasure Core Web Vitals and page weight on key pages, identify speed bottlenecks, and estimate monthly revenue lost to slow pages from traffic and order value.
Instructions
Measures Core Web Vitals (LCP, INP, CLS, TTFB) and page weight on key pages, finds the biggest speed bottlenecks (images, render-blocking scripts, third-party tags) and, if you give traffic and order value, estimates monthly revenue lost to slow pages. Returns a score, metrics, prioritised fixes and a full-report link. Runs on the caller's own Apify account (APIFY_TOKEN) and is billed by Apify pay-per-event; nothing is charged by this server.
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": {
"url": "<url>"
},
"name": "scan_speed_and_revenue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public website URL, e.g. "https://example.com" (https:// is added if missing). Private/internal addresses are rejected. | |
| device | No | Emulated device; Google ranks on mobile. | mobile |
| currency | No | ISO currency code for money figures. | USD |
| maxPages | No | Pages to test (home page + discovered key pages). | |
| waitSecs | No | How long to wait for results before returning status "running" with a runId (the scan keeps going; use get_audit_results). Default 240. | |
| maxCostUsd | No | Spend cap for this run on YOUR Apify account (forwarded to Apify as maxTotalChargeUsd). Default from server config ($2). | |
| monthlyVisitors | No | Optional, for the revenue-loss estimate. | |
| averageOrderValue | No | Optional average order / lead value, for the revenue estimate. | |
| conversionRatePct | No | Optional current conversion rate in %, for the revenue estimate. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | Yes | ||
| check | Yes | ||
| grade | Yes | ||
| score | Yes | ||
| dryRun | Yes | true = sample data from the built-in mock, NOT a real scan | |
| status | Yes | "running" = the Actor is still working; call get_audit_results with run.runId later | |
| target | Yes | ||
| metrics | Yes | ||
| summary | Yes | ||
| findings | Yes | ||
| reportUrl | No | Full report (HTML/JSON) in the Apify key-value store | |
| datasetUrl | No | ||
| findingsTotal | Yes | ||
| severityCounts | Yes |