{
  "openapi": "3.0.1",
  "info": {
    "title": "Lighthouse & Core Web Vitals Bulk Auditor – PageSpeed Scores",
    "description": "Bulk Google Lighthouse audit for domains or URLs: performance, accessibility, best-practices and SEO scores, Core Web Vitals (LCP, CLS, TBT), ranked fixes, page weight, mobile + desktop, score monitoring. Failed pages free.",
    "version": "0.1",
    "x-build-id": "FDpfjp4cPSk2OaGqw"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/ausbizstack~lighthouse-core-web-vitals-bulk-auditor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-ausbizstack-lighthouse-core-web-vitals-bulk-auditor",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/ausbizstack~lighthouse-core-web-vitals-bulk-auditor/runs": {
      "post": {
        "operationId": "runs-sync-ausbizstack-lighthouse-core-web-vitals-bulk-auditor",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/ausbizstack~lighthouse-core-web-vitals-bulk-auditor/run-sync": {
      "post": {
        "operationId": "run-sync-ausbizstack-lighthouse-core-web-vitals-bulk-auditor",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "urls": {
            "title": "Domains or URLs to audit",
            "minItems": 1,
            "maxItems": 1000,
            "type": "array",
            "description": "One per line. A bare domain (acme.com) audits the homepage; a full URL (https://acme.com/pricing) audits that page. Case, www and trailing slashes are normalised and duplicates removed. Public websites only (ports 80/443): IP addresses, localhost and internal names are refused. Invalid and duplicate lines get a free row.",
            "items": {
              "type": "string"
            }
          },
          "strategy": {
            "title": "Device",
            "enum": [
              "mobile",
              "desktop",
              "both"
            ],
            "type": "string",
            "description": "Mobile uses Lighthouse's default Moto G Power emulation with simulated slow 4G (what PageSpeed Insights shows first). Desktop uses Lighthouse's desktop preset. 'Both' gives one row per device (each row is one audit).",
            "default": "mobile"
          },
          "maxPagesPerDomain": {
            "title": "Pages per domain",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "1 = only the page you entered. 2-10 adds key pages from the site's sitemap (or homepage links when there is no sitemap), one per section, so you see template-level problems. Applies to bare domains / homepages only.",
            "default": 1
          },
          "saveHtmlReports": {
            "title": "Save the full Lighthouse HTML report for each page",
            "type": "boolean",
            "description": "Stores the complete interactive Lighthouse report (the same one Chrome DevTools shows) in the run's key-value store and adds its link to the row. Free. Up to 100 reports per run.",
            "default": false
          },
          "maxFixes": {
            "title": "Fixes per page",
            "minimum": 3,
            "maximum": 15,
            "type": "integer",
            "description": "How many ranked fixes to return per page (performance opportunities by estimated time saved, then failing accessibility, SEO and best-practice checks).",
            "default": 8
          },
          "monitorName": {
            "title": "Monitor name (track scores between runs)",
            "type": "string",
            "description": "Give a name (e.g. client-sites) and schedule the Actor. Each run compares every page with its previous run under the same name and adds score / LCP / CLS / TBT changes plus a regression flag. Previous scores are kept in a key-value store named 'lighthouse-monitor' on your own account."
          },
          "alertOnScoreDrop": {
            "title": "Flag a regression when a score drops by at least",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Points (0-100 scale). Lighthouse scores naturally move a few points between runs, so 5+ is recommended.",
            "default": 5
          },
          "pageSpeedApiKey": {
            "title": "Google PageSpeed Insights API key (optional)",
            "type": "string",
            "description": "Paste your own free Google API key to run the audits through the PageSpeed Insights API instead. Adds real-user Chrome UX Report field data (LCP, INP, CLS, FCP, TTFB at the 75th percentile and the official Core Web Vitals pass/fail) and is billed at the lower API rate. Leave empty to run Lighthouse in Chrome on Apify."
          },
          "maxConcurrency": {
            "title": "Parallel audits",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Lighthouse is CPU-heavy, so parallel audits on the same machine skew scores. By default the Actor runs one audit per 4 GB of memory (Apify gives 1 CPU per 4 GB, max 4 audits). With an API key up to 8 run in parallel."
          },
          "auditTimeoutSecs": {
            "title": "Timeout per audit (seconds)",
            "minimum": 30,
            "maximum": 150,
            "type": "integer",
            "description": "Pages that take longer are stopped and get a free timeout row. Default 75 s (120 s on runs under 4 GB)."
          },
          "reportTitle": {
            "title": "Report title",
            "type": "string",
            "description": "Heading of the HTML report (e.g. your agency or client name)."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}