{
  "openapi": "3.0.1",
  "info": {
    "title": "Lighthouse Bulk Audit — PageSpeed, Core Web Vitals & AI Agents",
    "description": "Bulk PageSpeed Insights for hundreds of URLs, mobile and desktop: Lighthouse scores for Performance, Accessibility, Best Practices, SEO and Agentic Browsing, Core Web Vitals with real-user data, failed audits and HTML reports. No API key needed.",
    "version": "0.0",
    "x-build-id": "5JPu7KE0vtf9ZxAqb"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/saliga~lighthouse-bulk-audit/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-saliga-lighthouse-bulk-audit",
        "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/saliga~lighthouse-bulk-audit/runs": {
      "post": {
        "operationId": "runs-sync-saliga-lighthouse-bulk-audit",
        "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/saliga~lighthouse-bulk-audit/run-sync": {
      "post": {
        "operationId": "run-sync-saliga-lighthouse-bulk-audit",
        "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",
        "required": [
          "urls"
        ],
        "properties": {
          "urls": {
            "title": "URLs",
            "type": "array",
            "description": "Pages to audit. One Lighthouse audit per URL and device. A URL without http(s):// gets https://.",
            "items": {
              "type": "string"
            }
          },
          "devices": {
            "title": "Devices",
            "type": "array",
            "description": "Audit each URL on every selected device, as PageSpeed Insights does: mobile (Moto G Power, slow 4G, 4x CPU slowdown) and desktop. Each device is a separate audit.",
            "items": {
              "type": "string",
              "enum": [
                "mobile",
                "desktop"
              ],
              "enumTitles": [
                "Mobile",
                "Desktop"
              ]
            },
            "default": [
              "mobile"
            ]
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Lighthouse categories to run. Agentic Browsing checks whether AI agents can use the page (accessibility tree, llms.txt, WebMCP tools). Fewer categories make audits a little faster; the price is the same.",
            "items": {
              "type": "string",
              "enum": [
                "performance",
                "accessibility",
                "best-practices",
                "seo",
                "agentic-browsing"
              ],
              "enumTitles": [
                "Performance (Core Web Vitals)",
                "Accessibility",
                "Best Practices",
                "SEO",
                "Agentic Browsing (AI agent readiness)"
              ]
            },
            "default": [
              "performance",
              "accessibility",
              "best-practices",
              "seo",
              "agentic-browsing"
            ]
          },
          "saveHtmlReport": {
            "title": "Save HTML report",
            "type": "boolean",
            "description": "Save the full Lighthouse HTML report of every audit (the same report as in Chrome DevTools) and link it in the results.",
            "default": true
          },
          "saveJsonReport": {
            "title": "Save JSON report",
            "type": "boolean",
            "description": "Also save the full Lighthouse JSON result (about 0.5 MB per audit) for your own processing.",
            "default": false
          },
          "maxIssuesPerCategory": {
            "title": "Failed audits per category",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "How many failed audits to list in the \"issues\" field for each category, biggest savings first. 0 lists none (the count is still given).",
            "default": 10
          },
          "localLighthouse": {
            "title": "Run Lighthouse on Apify",
            "type": "boolean",
            "description": "Off (default): audits run through Google PageSpeed Insights, the same scores as pagespeed.web.dev, plus real-user Chrome data. On: this Actor runs Lighthouse itself in Chrome on Apify. Use it for pages PageSpeed Insights cannot reach the way you want (through a proxy, from another country), or when its daily quota is used up. Local audits are priced higher and their performance scores can differ from PageSpeed Insights.",
            "default": false
          },
          "throttling": {
            "title": "Throttling",
            "enum": [
              "simulate",
              "none"
            ],
            "type": "string",
            "description": "Only with \"Run Lighthouse on Apify\". Simulated (default) estimates load times on a slow network and CPU, like PageSpeed Insights. None measures the page as it loads in Apify's data center.",
            "default": "simulate"
          },
          "cpuSlowdownMultiplier": {
            "title": "Mobile CPU slowdown",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Only with \"Run Lighthouse on Apify\". Leave empty: the slowdown is calibrated to the machine's speed with Lighthouse's own formula. Set a number (for example 4, Lighthouse's default) to fix it."
          },
          "locale": {
            "title": "Report language",
            "type": "string",
            "description": "Language of audit titles and the HTML report, for example en-US, de, fr, es, ja, pt-BR, tr.",
            "default": "en-US"
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Only with \"Run Lighthouse on Apify\": audit a page as seen from another country. Proxies add latency to measured times."
          },
          "concurrency": {
            "title": "Parallel audits",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Audits at the same time. Default 5 with PageSpeed Insights (up to 10), 1 with \"Run Lighthouse on Apify\" (up to 4: audits there share the CPU, which can lower performance scores; give the run more memory for 2+)."
          },
          "timeoutSecs": {
            "title": "Page load timeout (seconds)",
            "minimum": 15,
            "maximum": 120,
            "type": "integer",
            "description": "How long Lighthouse waits for a page to load.",
            "default": 60
          },
          "maxRetries": {
            "title": "Retries",
            "minimum": 0,
            "maximum": 2,
            "type": "integer",
            "description": "Try a failed audit again this many times. Failed audits are not charged.",
            "default": 1
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}