{
  "data": {
    "id": "P3B5DC84a4cdN4aCp",
    "actId": "Md0Q4GzrrNhFHChJz",
    "userId": "tnBVjt3CXmcUrEE3L",
    "startedAt": "2026-11-19T02:15:06.801Z",
    "finishedAt": "2026-11-19T02:17:09.390Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CI"
    },
    "stats": {
      "durationMillis": 122514,
      "runTimeSecs": 122.514,
      "computeUnits": 0.13612666666666667,
      "imageSizeBytes": 3538221056
    },
    "options": {
      "useCache": true,
      "betaPackages": false,
      "memoryMbytes": 4096,
      "diskMbytes": 8192
    },
    "createdByOrganizationMemberUserId": "F2Aeb3gE2syjqz9xC",
    "exitCode": 0,
    "inputSchema": "{\n  \"title\": \"Lighthouse Audit & Safe Browsing Website Checker Input\",\n  \"description\": \"Audit one or many websites with Google Lighthouse and check each site against Google Safe Browsing. Run mobile, desktop or both, take the median of several runs, and optionally add pages from the site's sitemap.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"mode\": {\n      \"title\": \"Mode\",\n      \"type\": \"string\",\n      \"description\": \"Run a full Lighthouse audit plus a Safe Browsing check, or only check Safe Browsing site status.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"audit\",\n        \"safeBrowsing\"\n      ],\n      \"enumTitles\": [\n        \"Lighthouse audit + Safe Browsing\",\n        \"Safe Browsing status only\"\n      ],\n      \"default\": \"audit\",\n      \"prefill\": \"audit\"\n    },\n    \"urls\": {\n      \"title\": \"Website URLs or domains\",\n      \"type\": \"array\",\n      \"description\": \"Websites to check, one per line. Paste full URLs (https://example.com/pricing) or bare domains (example.com). Duplicates are removed and missing https:// is added. A sitemap URL (sitemap.xml) is expanded into its pages.\",\n      \"editor\": \"stringList\",\n      \"items\": {\n        \"type\": \"string\"\n      },\n      \"minItems\": 1,\n      \"sectionCaption\": \"Websites\",\n      \"prefill\": [\n        \"https://example.com\"\n      ]\n    },\n    \"device\": {\n      \"title\": \"Device\",\n      \"type\": \"string\",\n      \"description\": \"(mode=audit) Emulate a mid-range mobile phone on a slow 4G connection, a desktop browser, or run both profiles.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"mobile\",\n        \"desktop\",\n        \"both\"\n      ],\n      \"enumTitles\": [\n        \"Mobile\",\n        \"Desktop\",\n        \"Both (two audits per URL)\"\n      ],\n      \"default\": \"mobile\",\n      \"prefill\": \"mobile\",\n      \"sectionCaption\": \"Lighthouse audit\"\n    },\n    \"categories\": {\n      \"title\": \"Lighthouse categories\",\n      \"type\": \"array\",\n      \"description\": \"(mode=audit) Which score categories to compute. Leave empty to run all four. Fewer categories make each audit a little faster.\",\n      \"editor\": \"select\",\n      \"items\": {\n        \"type\": \"string\",\n        \"enum\": [\n          \"performance\",\n          \"accessibility\",\n          \"best-practices\",\n          \"seo\"\n        ],\n        \"enumTitles\": [\n          \"Performance\",\n          \"Accessibility\",\n          \"Best practices\",\n          \"SEO\"\n        ]\n      },\n      \"uniqueItems\": true,\n      \"default\": [\n        \"performance\",\n        \"accessibility\",\n        \"best-practices\",\n        \"seo\"\n      ],\n      \"prefill\": [\n        \"performance\",\n        \"accessibility\",\n        \"best-practices\",\n        \"seo\"\n      ]\n    },\n    \"runsPerUrl\": {\n      \"title\": \"Runs per URL\",\n      \"type\": \"integer\",\n      \"description\": \"(mode=audit) Lighthouse scores vary between runs. With more than one run, every score and lab metric is the median of the completed runs. Each run is a full Lighthouse audit.\",\n      \"default\": 1,\n      \"prefill\": 1,\n      \"minimum\": 1,\n      \"maximum\": 5\n    },\n    \"throttling\": {\n      \"title\": \"Network throttling\",\n      \"type\": \"string\",\n      \"description\": \"(mode=audit) Simulated matches PageSpeed Insights and is the most stable. DevTools applies real network and CPU throttling. None measures the raw connection.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"simulated\",\n        \"devtools\",\n        \"none\"\n      ],\n      \"enumTitles\": [\n        \"Simulated (recommended)\",\n        \"DevTools throttling\",\n        \"No throttling\"\n      ],\n      \"default\": \"simulated\",\n      \"prefill\": \"simulated\"\n    },\n    \"includeSafeBrowsing\": {\n      \"title\": \"Check Safe Browsing\",\n      \"type\": \"boolean\",\n      \"description\": \"(mode=audit) Add Google Safe Browsing status, malware, social engineering and unwanted software flags, and the last-checked date to every audited site. The actor checks the host first and then the exact page path when Google flags the site or cannot rate it.\",\n      \"default\": true,\n      \"prefill\": true,\n      \"sectionCaption\": \"Safe Browsing\"\n    },\n    \"sitemapPages\": {\n      \"title\": \"Pages from each sitemap\",\n      \"type\": \"integer\",\n      \"description\": \"(mode=audit) For every URL or domain you list, also audit up to this many pages from its sitemap (found through robots.txt or /sitemap.xml). Set 0 to audit only the URLs you provided. A sitemap URL pasted directly is always expanded (up to 10 pages when this is 0).\",\n      \"default\": 0,\n      \"prefill\": 0,\n      \"minimum\": 0,\n      \"maximum\": 25,\n      \"sectionCaption\": \"Output and limits\"\n    },\n    \"maxOpportunities\": {\n      \"title\": \"Opportunities per audit\",\n      \"type\": \"integer\",\n      \"description\": \"(mode=audit) How many ranked Lighthouse improvement opportunities to return, largest estimated savings first.\",\n      \"default\": 10,\n      \"prefill\": 10,\n      \"minimum\": 1,\n      \"maximum\": 50\n    },\n    \"includeHtmlReport\": {\n      \"title\": \"Create HTML report\",\n      \"type\": \"boolean\",\n      \"description\": \"Write a self-contained HTML report for this run to the key-value store and add its link to every record.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"auditTimeoutSecs\": {\n      \"title\": \"Timeout per Lighthouse run (seconds)\",\n      \"type\": \"integer\",\n      \"description\": \"(mode=audit) Hard limit for one Lighthouse run. A timed-out run is retried once; if both attempts fail, a failed audit record is returned instead of stopping the whole run.\",\n      \"default\": 120,\n      \"prefill\": 120,\n      \"minimum\": 30,\n      \"maximum\": 300\n    },\n    \"maxItems\": {\n      \"title\": \"Maximum audits\",\n      \"type\": \"integer\",\n      \"description\": \"Stop after this many audit records. A URL run on both mobile and desktop counts as two. Safe Browsing-only mode counts one record per unique site.\",\n      \"default\": 25,\n      \"prefill\": 1,\n      \"minimum\": 1,\n      \"maximum\": 100\n    }\n  },\n  \"required\": [\n    \"mode\",\n    \"urls\"\n  ]\n}",
    "readme": "# Lighthouse Audit & Safe Browsing Website Checker\n\nAudit any list of websites with **Google Lighthouse** and check every site with **Google Safe Browsing** in one run. Get performance, accessibility, best-practices and SEO scores, Core Web Vitals lab metrics, the biggest speed opportunities, page weight, third-party cost, failed audits, and a plain-language safety verdict — mobile, desktop or both, with an optional median of several runs and page discovery from the site's sitemap.\n\nNo Google API key, no login and no cookies are needed.\n\n## What this actor does\n\n- **Audits URLs or whole domains** in bulk, including pages discovered from `robots.txt` and `sitemap.xml`.\n- **Runs the full Lighthouse report** — four category scores, FCP, LCP, TBT, CLS, Speed Index, TTI and server response time.\n- **Ranks what to fix first** — Lighthouse opportunities with estimated milliseconds and bytes saved, plus failed audits grouped by category.\n- **Shows the weight bill** — total page bytes, request count, and the heaviest third parties with their transfer size, main-thread time and blocking time.\n- **Adds Google Safe Browsing** — safe, unsafe or partially unsafe, with malware, social-engineering and unwanted-software flags plus the last-checked date.\n- **Controls variance** — run mobile, desktop or both, and take the median of 1–5 Lighthouse runs.\n- **Delivers reports** — one dataset record per URL and device, plus an optional self-contained HTML report.\n\n## Output per website audit\n\n- `requestedUrl`, `sourceUrl` — the page you asked for, with `https://` added when missing.\n- `finalUrl` — the URL Lighthouse finished on after redirects.\n- `siteHost` — the hostname used for the Safe Browsing check.\n- `device` — `mobile` or `desktop`.\n- `throttling` — `simulated`, `devtools` or `none`.\n- `categoriesRequested[]` — the Lighthouse categories included in this audit.\n- `status` — `ok`, `partial` (audit worked, Safe Browsing was unavailable) or `failed`.\n- `fetchTime`, `lighthouseVersion` — when Lighthouse ran and which version produced the report.\n- `lighthouseScores` — `performance`, `accessibility`, `bestPractices`, `seo` (0–100).\n- `labMetrics` — `firstContentfulPaintMs`, `largestContentfulPaintMs`, `totalBlockingTimeMs`, `cumulativeLayoutShift`, `speedIndexMs`, `timeToInteractiveMs`, `serverResponseTimeMs`.\n- `httpStatusCode` — the status of the main document.\n- `pageWeightBytes` — total transfer size of the page's resources.\n- `requestCount` — number of network requests.\n- `thirdPartyCount`, `thirdPartySummary[]` — top third parties with `entity`, `transferSizeBytes`, `mainThreadTimeMs`, `blockingTimeMs`.\n- `opportunities[]` — ranked `auditId`, `title`, `displayValue`, `savingsMs`, `savingsBytes`.\n- `failedAuditCount`, `failedAudits[]` — audits scoring below 0.9, with `auditId`, `title`, `category`, `score`.\n- `lighthouseWarnings[]` — audit caveats such as an unusually slow test machine.\n- `runsPerUrl`, `runsCompleted` — requested runs and successful runs used for the median.\n- `safeBrowsingStatus` — `safe`, `unsafe`, `partiallyUnsafe`, `unknown` or `unavailable`.\n- `safeBrowsingScope` — `url` when Google returned a page-specific verdict, `site` when the verdict applies to the whole host.\n- `safeBrowsingMalware`, `safeBrowsingSocialEngineering`, `safeBrowsingUnwantedSoftware` — threat flags.\n- `safeBrowsingLastChecked` — when Google last updated the site verdict.\n- `safeBrowsingSite`, `safeBrowsingReportUrl` — the exact host or host + path checked and the public Transparency Report page.\n- `safeBrowsingError` — why a check was unavailable (for example a rate limit).\n- `discoveredFromSitemap`, `sitemapSource` — present when the page came from a sitemap.\n- `htmlReportUrl` — link to the run's HTML report when enabled.\n- `errorType`, `errorMessage` — diagnostics on a failed audit.\n- `recordType`, `scrapedAt` — record metadata.\n\nSafe Browsing-only mode returns one record per unique site or URL target: `requestedUrl`, `siteHost`, `safeBrowsingStatus`, `safeBrowsingScope`, the three threat flags, `safeBrowsingLastChecked`, `safeBrowsingReportUrl`, `status`, `recordType` and `scrapedAt`.\n\nEmpty fields are omitted — there are no nulls in the dataset.\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `audit` | `audit` = Lighthouse + Safe Browsing; `safeBrowsing` = status only. |\n| `urls` | array | — | URLs or bare domains, one per line. Required. Duplicates are removed and `https://` is added. A `sitemap.xml` URL is expanded into its pages. |\n| `device` | string | `mobile` | `mobile`, `desktop` or `both` (two audits per URL). |\n| `categories` | array | `[\"performance\", \"accessibility\", \"best-practices\", \"seo\"]` | `performance`, `accessibility`, `best-practices`, `seo`; leave empty for all. Page weight, request count and the lab metrics come from the performance audits, so they are omitted when performance is not selected. |\n| `runsPerUrl` | integer | `1` | 1–5 Lighthouse runs per URL and device; scores and metrics use the median. |\n| `throttling` | string | `simulated` | `simulated` (matches PageSpeed Insights), `devtools` (real throttling) or `none`. |\n| `includeSafeBrowsing` | boolean | `true` | Add the Safe Browsing verdict and flags to audit records. One host check, plus an exact-page check when Google flags the site or cannot rate it. |\n| `sitemapPages` | integer | `0` | 0–25 pages to add from each site's sitemap. `0` disables automatic discovery; a pasted sitemap URL is still expanded. |\n| `maxOpportunities` | integer | `10` | 1–50 ranked opportunities per audit. |\n| `includeHtmlReport` | boolean | `false` | Write a self-contained HTML report to the key-value store and link it on every record. |\n| `auditTimeoutSecs` | integer | `120` | 30–300 seconds per Lighthouse run; a timeout is retried once. |\n| `maxItems` | integer | `25` | 1–100 audit records. A URL run on both devices counts as two. |\n\n### Example: one page, mobile and desktop, median of three runs\n\n```json\n{\n  \"mode\": \"audit\",\n  \"urls\": [\"https://example.com\"],\n  \"device\": \"both\",\n  \"categories\": [\"performance\", \"accessibility\", \"best-practices\", \"seo\"],\n  \"runsPerUrl\": 3,\n  \"throttling\": \"simulated\",\n  \"includeSafeBrowsing\": true,\n  \"includeHtmlReport\": true,\n  \"maxItems\": 2\n}\n```\n\n### Example: bulk audit of a domain plus its sitemap\n\n```json\n{\n  \"mode\": \"audit\",\n  \"urls\": [\"example.com\", \"https://www.sitemaps.org/\"],\n  \"device\": \"mobile\",\n  \"categories\": [\"performance\", \"seo\"],\n  \"sitemapPages\": 10,\n  \"maxOpportunities\": 15,\n  \"maxItems\": 20\n}\n```\n\n### Example: sitemap URL pasted directly\n\n```json\n{\n  \"mode\": \"audit\",\n  \"urls\": [\"https://www.sitemaps.org/sitemap.xml\"],\n  \"device\": \"desktop\",\n  \"categories\": [\"performance\", \"best-practices\"],\n  \"sitemapPages\": 5,\n  \"maxItems\": 5\n}\n```\n\n### Example: Safe Browsing status only\n\n```json\n{\n  \"mode\": \"safeBrowsing\",\n  \"urls\": [\"example.com\", \"github.com\", \"testsafebrowsing.appspot.com\"],\n  \"maxItems\": 10\n}\n```\n\n## Use cases\n\n- **Agencies** — send a client one HTML report with speed scores, the fixes worth doing, page weight and a safety check.\n- **SEO and growth teams** — benchmark a prospect's mobile and desktop performance before a pitch.\n- **DevOps and release teams** — audit a list of staging or production URLs after a deploy and compare the median of several runs.\n- **Security and trust teams** — screen a vendor or link list for malware, phishing and unwanted software.\n- **Marketplace and directory operators** — check every seller or partner domain for speed and Safe Browsing status in one dataset.\n- **Web performance research** — collect consistent lab metrics and third-party cost across many sites.\n\n## FAQ\n\n### Do I need a Google API key?\n\nNo. The actor runs Google Lighthouse directly and reads the public Google Transparency Report for Safe Browsing, so there is no PageSpeed Insights key and no shared daily quota.\n\n### What does the Safe Browsing status mean?\n\n`safe` means Google found no unsafe content. `unsafe` means Google considers the site dangerous. `partiallyUnsafe` means some pages are unsafe. `unknown` means the site is too large for a single verdict, so Google asks you to check a specific URL. `unavailable` means the check was rate-limited or could not be completed; the Lighthouse audit is still returned.\n\n### How precise is the Safe Browsing check?\n\nThe actor first asks Google for the site verdict. If the host is fully safe, that verdict is returned as `safeBrowsingScope: site`. If Google flags the host or says it cannot rate the whole site, the actor checks the exact page path and returns Google's page-specific verdict as `safeBrowsingScope: url`. For example, Google marks the test host `testsafebrowsing.appspot.com` as partially unsafe, while its `/s/landing` page is safe and its `/s/phishing` page is a social-engineering threat.\n\n### Why do Lighthouse scores move between runs?\n\nLab scores depend on CPU speed, network conditions and third-party scripts. Set `runsPerUrl` to 3 or 5 to return the median and reduce noise.\n\n### Why are page weight, request count or lab metrics missing on some records?\n\nThey are produced by Lighthouse's performance audits. If you deselect `performance`, Lighthouse skips those audits and the actor omits the fields rather than returning nulls. Leave `categories` empty (all four) to receive the complete metric set.\n\n### Are these real-user field metrics?\n\nNo. These are Lighthouse lab metrics, measured on the device and throttling profile you choose. Chrome real-user field data (CrUX) needs a Google API key or a PageSpeed Insights quota, so it is not included.\n\n### How long does a run take?\n\nA typical page takes 20–90 seconds per Lighthouse run. Mobile is slower than desktop, `both` doubles the work, and `runsPerUrl` multiplies it again. Use `maxItems` and a run timeout that fit your list.\n\n### How does sitemap discovery work?\n\nFor each URL or domain, the actor reads `robots.txt` or `/sitemap.xml`, follows one level of sitemap index, and adds up to `sitemapPages` pages from the same host. A sitemap URL you paste directly is always expanded, up to 10 pages when `sitemapPages` is 0.\n\n### Why did one URL fail while the rest succeeded?\n\nThe target may be offline, block automated browsers, return an interstitial, or take longer than `auditTimeoutSecs`. The failed record still includes the URL, device, Safe Browsing verdict and an error message, so the run continues with the remaining URLs.\n\n### Do I need to configure a proxy?\n\nNo. The actor uses the platform's normal connection. Sites that deliberately block automated browsers can fail; that limitation is reported in the record rather than hidden.\n\n### Is this affiliated with Google?\n\nNo. This is an independent third-party actor that uses Google's public Lighthouse tooling and Transparency Report data.\n\n## Limitations\n\n- For a host Google marks fully safe, the Safe Browsing verdict is site-wide; page-specific checks are made when Google flags the site or cannot rate it. `safeBrowsingScope` tells you which verdict you received.\n- Very large sites can still return `unknown` for a page when Google has no specific data; the record links to the Transparency Report.\n- Google may rate-limit rapid Safe Browsing checks. The actor paces and retries, and reports `unavailable` instead of failing the whole run.\n- This is **lab** data, not Chrome real-user field data.\n- Page weight, request count and lab metrics require the `performance` category; they are omitted when only accessibility, best-practices or SEO is selected.\n- There is no historical monitoring, regression alerting or performance-budget mode; each run is an independent audit.\n- Sites that hard-block automated browsers may produce a failed audit.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "google-lighthouse-safe-browsing",
      "title": "Lighthouse Audit & Safe Browsing Website Checker",
      "description": "Lighthouse audits plus Google Safe Browsing checks for any URL list: four scores, lab metrics, ranked fixes, page weight, third-party cost and threat flags. Mobile, desktop or both, median of 1-5 runs, sitemap page discovery, optional HTML report.",
      "version": "1.0",
      "buildTag": "latest",
      "dockerfile": "./Dockerfile",
      "readme": "# Lighthouse Audit & Safe Browsing Website Checker\n\nAudit any list of websites with **Google Lighthouse** and check every site with **Google Safe Browsing** in one run. Get performance, accessibility, best-practices and SEO scores, Core Web Vitals lab metrics, the biggest speed opportunities, page weight, third-party cost, failed audits, and a plain-language safety verdict — mobile, desktop or both, with an optional median of several runs and page discovery from the site's sitemap.\n\nNo Google API key, no login and no cookies are needed.\n\n## What this actor does\n\n- **Audits URLs or whole domains** in bulk, including pages discovered from `robots.txt` and `sitemap.xml`.\n- **Runs the full Lighthouse report** — four category scores, FCP, LCP, TBT, CLS, Speed Index, TTI and server response time.\n- **Ranks what to fix first** — Lighthouse opportunities with estimated milliseconds and bytes saved, plus failed audits grouped by category.\n- **Shows the weight bill** — total page bytes, request count, and the heaviest third parties with their transfer size, main-thread time and blocking time.\n- **Adds Google Safe Browsing** — safe, unsafe or partially unsafe, with malware, social-engineering and unwanted-software flags plus the last-checked date.\n- **Controls variance** — run mobile, desktop or both, and take the median of 1–5 Lighthouse runs.\n- **Delivers reports** — one dataset record per URL and device, plus an optional self-contained HTML report.\n\n## Output per website audit\n\n- `requestedUrl`, `sourceUrl` — the page you asked for, with `https://` added when missing.\n- `finalUrl` — the URL Lighthouse finished on after redirects.\n- `siteHost` — the hostname used for the Safe Browsing check.\n- `device` — `mobile` or `desktop`.\n- `throttling` — `simulated`, `devtools` or `none`.\n- `categoriesRequested[]` — the Lighthouse categories included in this audit.\n- `status` — `ok`, `partial` (audit worked, Safe Browsing was unavailable) or `failed`.\n- `fetchTime`, `lighthouseVersion` — when Lighthouse ran and which version produced the report.\n- `lighthouseScores` — `performance`, `accessibility`, `bestPractices`, `seo` (0–100).\n- `labMetrics` — `firstContentfulPaintMs`, `largestContentfulPaintMs`, `totalBlockingTimeMs`, `cumulativeLayoutShift`, `speedIndexMs`, `timeToInteractiveMs`, `serverResponseTimeMs`.\n- `httpStatusCode` — the status of the main document.\n- `pageWeightBytes` — total transfer size of the page's resources.\n- `requestCount` — number of network requests.\n- `thirdPartyCount`, `thirdPartySummary[]` — top third parties with `entity`, `transferSizeBytes`, `mainThreadTimeMs`, `blockingTimeMs`.\n- `opportunities[]` — ranked `auditId`, `title`, `displayValue`, `savingsMs`, `savingsBytes`.\n- `failedAuditCount`, `failedAudits[]` — audits scoring below 0.9, with `auditId`, `title`, `category`, `score`.\n- `lighthouseWarnings[]` — audit caveats such as an unusually slow test machine.\n- `runsPerUrl`, `runsCompleted` — requested runs and successful runs used for the median.\n- `safeBrowsingStatus` — `safe`, `unsafe`, `partiallyUnsafe`, `unknown` or `unavailable`.\n- `safeBrowsingScope` — `url` when Google returned a page-specific verdict, `site` when the verdict applies to the whole host.\n- `safeBrowsingMalware`, `safeBrowsingSocialEngineering`, `safeBrowsingUnwantedSoftware` — threat flags.\n- `safeBrowsingLastChecked` — when Google last updated the site verdict.\n- `safeBrowsingSite`, `safeBrowsingReportUrl` — the exact host or host + path checked and the public Transparency Report page.\n- `safeBrowsingError` — why a check was unavailable (for example a rate limit).\n- `discoveredFromSitemap`, `sitemapSource` — present when the page came from a sitemap.\n- `htmlReportUrl` — link to the run's HTML report when enabled.\n- `errorType`, `errorMessage` — diagnostics on a failed audit.\n- `recordType`, `scrapedAt` — record metadata.\n\nSafe Browsing-only mode returns one record per unique site or URL target: `requestedUrl`, `siteHost`, `safeBrowsingStatus`, `safeBrowsingScope`, the three threat flags, `safeBrowsingLastChecked`, `safeBrowsingReportUrl`, `status`, `recordType` and `scrapedAt`.\n\nEmpty fields are omitted — there are no nulls in the dataset.\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `audit` | `audit` = Lighthouse + Safe Browsing; `safeBrowsing` = status only. |\n| `urls` | array | — | URLs or bare domains, one per line. Required. Duplicates are removed and `https://` is added. A `sitemap.xml` URL is expanded into its pages. |\n| `device` | string | `mobile` | `mobile`, `desktop` or `both` (two audits per URL). |\n| `categories` | array | `[\"performance\", \"accessibility\", \"best-practices\", \"seo\"]` | `performance`, `accessibility`, `best-practices`, `seo`; leave empty for all. Page weight, request count and the lab metrics come from the performance audits, so they are omitted when performance is not selected. |\n| `runsPerUrl` | integer | `1` | 1–5 Lighthouse runs per URL and device; scores and metrics use the median. |\n| `throttling` | string | `simulated` | `simulated` (matches PageSpeed Insights), `devtools` (real throttling) or `none`. |\n| `includeSafeBrowsing` | boolean | `true` | Add the Safe Browsing verdict and flags to audit records. One host check, plus an exact-page check when Google flags the site or cannot rate it. |\n| `sitemapPages` | integer | `0` | 0–25 pages to add from each site's sitemap. `0` disables automatic discovery; a pasted sitemap URL is still expanded. |\n| `maxOpportunities` | integer | `10` | 1–50 ranked opportunities per audit. |\n| `includeHtmlReport` | boolean | `false` | Write a self-contained HTML report to the key-value store and link it on every record. |\n| `auditTimeoutSecs` | integer | `120` | 30–300 seconds per Lighthouse run; a timeout is retried once. |\n| `maxItems` | integer | `25` | 1–100 audit records. A URL run on both devices counts as two. |\n\n### Example: one page, mobile and desktop, median of three runs\n\n```json\n{\n  \"mode\": \"audit\",\n  \"urls\": [\"https://example.com\"],\n  \"device\": \"both\",\n  \"categories\": [\"performance\", \"accessibility\", \"best-practices\", \"seo\"],\n  \"runsPerUrl\": 3,\n  \"throttling\": \"simulated\",\n  \"includeSafeBrowsing\": true,\n  \"includeHtmlReport\": true,\n  \"maxItems\": 2\n}\n```\n\n### Example: bulk audit of a domain plus its sitemap\n\n```json\n{\n  \"mode\": \"audit\",\n  \"urls\": [\"example.com\", \"https://www.sitemaps.org/\"],\n  \"device\": \"mobile\",\n  \"categories\": [\"performance\", \"seo\"],\n  \"sitemapPages\": 10,\n  \"maxOpportunities\": 15,\n  \"maxItems\": 20\n}\n```\n\n### Example: sitemap URL pasted directly\n\n```json\n{\n  \"mode\": \"audit\",\n  \"urls\": [\"https://www.sitemaps.org/sitemap.xml\"],\n  \"device\": \"desktop\",\n  \"categories\": [\"performance\", \"best-practices\"],\n  \"sitemapPages\": 5,\n  \"maxItems\": 5\n}\n```\n\n### Example: Safe Browsing status only\n\n```json\n{\n  \"mode\": \"safeBrowsing\",\n  \"urls\": [\"example.com\", \"github.com\", \"testsafebrowsing.appspot.com\"],\n  \"maxItems\": 10\n}\n```\n\n## Use cases\n\n- **Agencies** — send a client one HTML report with speed scores, the fixes worth doing, page weight and a safety check.\n- **SEO and growth teams** — benchmark a prospect's mobile and desktop performance before a pitch.\n- **DevOps and release teams** — audit a list of staging or production URLs after a deploy and compare the median of several runs.\n- **Security and trust teams** — screen a vendor or link list for malware, phishing and unwanted software.\n- **Marketplace and directory operators** — check every seller or partner domain for speed and Safe Browsing status in one dataset.\n- **Web performance research** — collect consistent lab metrics and third-party cost across many sites.\n\n## FAQ\n\n### Do I need a Google API key?\n\nNo. The actor runs Google Lighthouse directly and reads the public Google Transparency Report for Safe Browsing, so there is no PageSpeed Insights key and no shared daily quota.\n\n### What does the Safe Browsing status mean?\n\n`safe` means Google found no unsafe content. `unsafe` means Google considers the site dangerous. `partiallyUnsafe` means some pages are unsafe. `unknown` means the site is too large for a single verdict, so Google asks you to check a specific URL. `unavailable` means the check was rate-limited or could not be completed; the Lighthouse audit is still returned.\n\n### How precise is the Safe Browsing check?\n\nThe actor first asks Google for the site verdict. If the host is fully safe, that verdict is returned as `safeBrowsingScope: site`. If Google flags the host or says it cannot rate the whole site, the actor checks the exact page path and returns Google's page-specific verdict as `safeBrowsingScope: url`. For example, Google marks the test host `testsafebrowsing.appspot.com` as partially unsafe, while its `/s/landing` page is safe and its `/s/phishing` page is a social-engineering threat.\n\n### Why do Lighthouse scores move between runs?\n\nLab scores depend on CPU speed, network conditions and third-party scripts. Set `runsPerUrl` to 3 or 5 to return the median and reduce noise.\n\n### Why are page weight, request count or lab metrics missing on some records?\n\nThey are produced by Lighthouse's performance audits. If you deselect `performance`, Lighthouse skips those audits and the actor omits the fields rather than returning nulls. Leave `categories` empty (all four) to receive the complete metric set.\n\n### Are these real-user field metrics?\n\nNo. These are Lighthouse lab metrics, measured on the device and throttling profile you choose. Chrome real-user field data (CrUX) needs a Google API key or a PageSpeed Insights quota, so it is not included.\n\n### How long does a run take?\n\nA typical page takes 20–90 seconds per Lighthouse run. Mobile is slower than desktop, `both` doubles the work, and `runsPerUrl` multiplies it again. Use `maxItems` and a run timeout that fit your list.\n\n### How does sitemap discovery work?\n\nFor each URL or domain, the actor reads `robots.txt` or `/sitemap.xml`, follows one level of sitemap index, and adds up to `sitemapPages` pages from the same host. A sitemap URL you paste directly is always expanded, up to 10 pages when `sitemapPages` is 0.\n\n### Why did one URL fail while the rest succeeded?\n\nThe target may be offline, block automated browsers, return an interstitial, or take longer than `auditTimeoutSecs`. The failed record still includes the URL, device, Safe Browsing verdict and an error message, so the run continues with the remaining URLs.\n\n### Do I need to configure a proxy?\n\nNo. The actor uses the platform's normal connection. Sites that deliberately block automated browsers can fail; that limitation is reported in the record rather than hidden.\n\n### Is this affiliated with Google?\n\nNo. This is an independent third-party actor that uses Google's public Lighthouse tooling and Transparency Report data.\n\n## Limitations\n\n- For a host Google marks fully safe, the Safe Browsing verdict is site-wide; page-specific checks are made when Google flags the site or cannot rate it. `safeBrowsingScope` tells you which verdict you received.\n- Very large sites can still return `unknown` for a page when Google has no specific data; the record links to the Transparency Report.\n- Google may rate-limit rapid Safe Browsing checks. The actor paces and retries, and reports `unavailable` instead of failing the whole run.\n- This is **lab** data, not Chrome real-user field data.\n- Page weight, request count and lab metrics require the `performance` category; they are omitted when only accessibility, best-practices or SEO is selected.\n- There is no historical monitoring, regression alerting or performance-budget mode; each run is an independent audit.\n- Sites that hard-block automated browsers may produce a failed audit.\n",
      "input": {
        "title": "Lighthouse Audit & Safe Browsing Website Checker Input",
        "description": "Audit one or many websites with Google Lighthouse and check each site against Google Safe Browsing. Run mobile, desktop or both, take the median of several runs, and optionally add pages from the site's sitemap.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "mode": {
            "title": "Mode",
            "type": "string",
            "description": "Run a full Lighthouse audit plus a Safe Browsing check, or only check Safe Browsing site status.",
            "editor": "select",
            "enum": [
              "audit",
              "safeBrowsing"
            ],
            "enumTitles": [
              "Lighthouse audit + Safe Browsing",
              "Safe Browsing status only"
            ],
            "default": "audit",
            "prefill": "audit"
          },
          "urls": {
            "title": "Website URLs or domains",
            "type": "array",
            "description": "Websites to check, one per line. Paste full URLs (https://example.com/pricing) or bare domains (example.com). Duplicates are removed and missing https:// is added. A sitemap URL (sitemap.xml) is expanded into its pages.",
            "editor": "stringList",
            "items": {
              "type": "string"
            },
            "minItems": 1,
            "sectionCaption": "Websites",
            "prefill": [
              "https://example.com"
            ]
          },
          "device": {
            "title": "Device",
            "type": "string",
            "description": "(mode=audit) Emulate a mid-range mobile phone on a slow 4G connection, a desktop browser, or run both profiles.",
            "editor": "select",
            "enum": [
              "mobile",
              "desktop",
              "both"
            ],
            "enumTitles": [
              "Mobile",
              "Desktop",
              "Both (two audits per URL)"
            ],
            "default": "mobile",
            "prefill": "mobile",
            "sectionCaption": "Lighthouse audit"
          },
          "categories": {
            "title": "Lighthouse categories",
            "type": "array",
            "description": "(mode=audit) Which score categories to compute. Leave empty to run all four. Fewer categories make each audit a little faster.",
            "editor": "select",
            "items": {
              "type": "string",
              "enum": [
                "performance",
                "accessibility",
                "best-practices",
                "seo"
              ],
              "enumTitles": [
                "Performance",
                "Accessibility",
                "Best practices",
                "SEO"
              ]
            },
            "uniqueItems": true,
            "default": [
              "performance",
              "accessibility",
              "best-practices",
              "seo"
            ],
            "prefill": [
              "performance",
              "accessibility",
              "best-practices",
              "seo"
            ]
          },
          "runsPerUrl": {
            "title": "Runs per URL",
            "type": "integer",
            "description": "(mode=audit) Lighthouse scores vary between runs. With more than one run, every score and lab metric is the median of the completed runs. Each run is a full Lighthouse audit.",
            "default": 1,
            "prefill": 1,
            "minimum": 1,
            "maximum": 5
          },
          "throttling": {
            "title": "Network throttling",
            "type": "string",
            "description": "(mode=audit) Simulated matches PageSpeed Insights and is the most stable. DevTools applies real network and CPU throttling. None measures the raw connection.",
            "editor": "select",
            "enum": [
              "simulated",
              "devtools",
              "none"
            ],
            "enumTitles": [
              "Simulated (recommended)",
              "DevTools throttling",
              "No throttling"
            ],
            "default": "simulated",
            "prefill": "simulated"
          },
          "includeSafeBrowsing": {
            "title": "Check Safe Browsing",
            "type": "boolean",
            "description": "(mode=audit) Add Google Safe Browsing status, malware, social engineering and unwanted software flags, and the last-checked date to every audited site. The actor checks the host first and then the exact page path when Google flags the site or cannot rate it.",
            "default": true,
            "prefill": true,
            "sectionCaption": "Safe Browsing"
          },
          "sitemapPages": {
            "title": "Pages from each sitemap",
            "type": "integer",
            "description": "(mode=audit) For every URL or domain you list, also audit up to this many pages from its sitemap (found through robots.txt or /sitemap.xml). Set 0 to audit only the URLs you provided. A sitemap URL pasted directly is always expanded (up to 10 pages when this is 0).",
            "default": 0,
            "prefill": 0,
            "minimum": 0,
            "maximum": 25,
            "sectionCaption": "Output and limits"
          },
          "maxOpportunities": {
            "title": "Opportunities per audit",
            "type": "integer",
            "description": "(mode=audit) How many ranked Lighthouse improvement opportunities to return, largest estimated savings first.",
            "default": 10,
            "prefill": 10,
            "minimum": 1,
            "maximum": 50
          },
          "includeHtmlReport": {
            "title": "Create HTML report",
            "type": "boolean",
            "description": "Write a self-contained HTML report for this run to the key-value store and add its link to every record.",
            "default": false,
            "prefill": false
          },
          "auditTimeoutSecs": {
            "title": "Timeout per Lighthouse run (seconds)",
            "type": "integer",
            "description": "(mode=audit) Hard limit for one Lighthouse run. A timed-out run is retried once; if both attempts fail, a failed audit record is returned instead of stopping the whole run.",
            "default": 120,
            "prefill": 120,
            "minimum": 30,
            "maximum": 300
          },
          "maxItems": {
            "title": "Maximum audits",
            "type": "integer",
            "description": "Stop after this many audit records. A URL run on both mobile and desktop counts as two. Safe Browsing-only mode counts one record per unique site.",
            "default": 25,
            "prefill": 1,
            "minimum": 1,
            "maximum": 100
          }
        },
        "required": [
          "mode",
          "urls"
        ]
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "Lighthouse Audit & Safe Browsing Website Checker Output",
        "description": "One record per audited website and device with Lighthouse scores, lab metrics, opportunities, third-party weight and Google Safe Browsing status.",
        "properties": {
          "audits": {
            "type": "string",
            "title": "Website audits",
            "description": "Dataset containing all website audits and Safe Browsing checks.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "defaultMemoryMbytes": 2048,
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "views": {
            "overview": {
              "title": "Website audits",
              "transformation": {
                "fields": [
                  "requestedUrl",
                  "device",
                  "status",
                  "safeBrowsingStatus",
                  "runsCompleted",
                  "fetchTime"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            }
          }
        }
      },
      "environmentVariables": {}
    },
    "buildNumber": "1.0.6",
    "imageDigest": "6d12a7b48dedcc8edea12f1da8ac59c0c9e72cd795603a3afda8829fda20c9c4",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "1.0"
    },
    "usage": {
      "ACTOR_COMPUTE_UNITS": 0.13612666666666667
    }
  }
}