Pagespeed Insights Webpage Analyzer avatar

Pagespeed Insights Webpage Analyzer

Try for free

Pay $3.00 for 1,000 URLS

Go to Store
Pagespeed Insights Webpage Analyzer

Pagespeed Insights Webpage Analyzer

baldasseva/pagespeed-insights-webpage-analyzer
Try for free

Pay $3.00 for 1,000 URLS

Get Lighthouse Web Audits and Chrome User Experience Reports for a list of urls or for your whole website. Get a detailed report or aggregated results to monitor performance, accessibility, SEO and more. Schedule the analysis to keep track of the state of your website over time.

Developer
Maintained by Community

Actor Metrics

  • 18 monthly users

  • No reviews yet

  • 10 bookmarks

  • >99% runs succeeded

  • Created in Mar 2024

  • Modified 5 months ago

You can access the Pagespeed Insights Webpage Analyzer programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1{
2  "openapi": "3.0.1",
3  "info": {
4    "version": "0.0",
5    "x-build-id": "eapKT4L6dFQGsI3zZ"
6  },
7  "servers": [
8    {
9      "url": "https://api.apify.com/v2"
10    }
11  ],
12  "paths": {
13    "/acts/baldasseva~pagespeed-insights-webpage-analyzer/run-sync-get-dataset-items": {
14      "post": {
15        "operationId": "run-sync-get-dataset-items-baldasseva-pagespeed-insights-webpage-analyzer",
16        "x-openai-isConsequential": false,
17        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
18        "tags": [
19          "Run Actor"
20        ],
21        "requestBody": {
22          "required": true,
23          "content": {
24            "application/json": {
25              "schema": {
26                "$ref": "#/components/schemas/inputSchema"
27              }
28            }
29          }
30        },
31        "parameters": [
32          {
33            "name": "token",
34            "in": "query",
35            "required": true,
36            "schema": {
37              "type": "string"
38            },
39            "description": "Enter your Apify token here"
40          }
41        ],
42        "responses": {
43          "200": {
44            "description": "OK"
45          }
46        }
47      }
48    },
49    "/acts/baldasseva~pagespeed-insights-webpage-analyzer/runs": {
50      "post": {
51        "operationId": "runs-sync-baldasseva-pagespeed-insights-webpage-analyzer",
52        "x-openai-isConsequential": false,
53        "summary": "Executes an Actor and returns information about the initiated run in response.",
54        "tags": [
55          "Run Actor"
56        ],
57        "requestBody": {
58          "required": true,
59          "content": {
60            "application/json": {
61              "schema": {
62                "$ref": "#/components/schemas/inputSchema"
63              }
64            }
65          }
66        },
67        "parameters": [
68          {
69            "name": "token",
70            "in": "query",
71            "required": true,
72            "schema": {
73              "type": "string"
74            },
75            "description": "Enter your Apify token here"
76          }
77        ],
78        "responses": {
79          "200": {
80            "description": "OK",
81            "content": {
82              "application/json": {
83                "schema": {
84                  "$ref": "#/components/schemas/runsResponseSchema"
85                }
86              }
87            }
88          }
89        }
90      }
91    },
92    "/acts/baldasseva~pagespeed-insights-webpage-analyzer/run-sync": {
93      "post": {
94        "operationId": "run-sync-baldasseva-pagespeed-insights-webpage-analyzer",
95        "x-openai-isConsequential": false,
96        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
97        "tags": [
98          "Run Actor"
99        ],
100        "requestBody": {
101          "required": true,
102          "content": {
103            "application/json": {
104              "schema": {
105                "$ref": "#/components/schemas/inputSchema"
106              }
107            }
108          }
109        },
110        "parameters": [
111          {
112            "name": "token",
113            "in": "query",
114            "required": true,
115            "schema": {
116              "type": "string"
117            },
118            "description": "Enter your Apify token here"
119          }
120        ],
121        "responses": {
122          "200": {
123            "description": "OK"
124          }
125        }
126      }
127    }
128  },
129  "components": {
130    "schemas": {
131      "inputSchema": {
132        "type": "object",
133        "required": [
134          "urls"
135        ],
136        "properties": {
137          "urls": {
138            "title": "URL List",
139            "type": "array",
140            "description": "One or more URLs of the pages where the crawler will execute the analysis. When the URL is only one, the script will load a sitemap for it",
141            "default": [
142              {
143                "url": "http://crawlee.dev/"
144              }
145            ],
146            "items": {
147              "type": "object",
148              "required": [
149                "url"
150              ],
151              "properties": {
152                "url": {
153                  "type": "string",
154                  "title": "URL of a web page",
155                  "format": "uri"
156                }
157              }
158            }
159          },
160          "createSitemap": {
161            "title": "Analyze the whole site from a sitemap",
162            "type": "boolean",
163            "description": "If true, the first url from the URL list will be used as a base for a full website analysis.",
164            "default": false
165          },
166          "globs": {
167            "title": "Filter URLs",
168            "type": "array",
169            "description": "Regex to filter URLs in the list or in the sitemap",
170            "items": {
171              "type": "object",
172              "required": [
173                "glob"
174              ],
175              "properties": {
176                "glob": {
177                  "type": "string",
178                  "title": "Glob of a web page"
179                }
180              }
181            }
182          },
183          "maxRequestsPerCrawl": {
184            "title": "Max Requests per Crawl",
185            "type": "integer",
186            "description": "Maximum number of requests that can be made by this crawler.",
187            "default": 100
188          },
189          "categories": {
190            "title": "Testing categories",
191            "uniqueItems": true,
192            "type": "array",
193            "description": "Which Lighthouse testing categories you want to include in your actor run",
194            "items": {
195              "type": "string",
196              "enum": [
197                "accessibility",
198                "best-practices",
199                "performance",
200                "pwa",
201                "seo"
202              ],
203              "enumTitles": [
204                "Accessibility",
205                "Best Practices",
206                "Performance",
207                "Progressive Web App",
208                "Search Engine Optimization"
209              ]
210            },
211            "default": [
212              "performance"
213            ]
214          },
215          "strategy": {
216            "title": "Device",
217            "enum": [
218              "desktop",
219              "mobile"
220            ],
221            "type": "string",
222            "description": "Test your website on desktop or mobile",
223            "default": "desktop"
224          },
225          "detailedReport": {
226            "title": "Create detailed report",
227            "type": "boolean",
228            "description": "If true, the output will contain information on every audit run by every lighthouse test. This might result in very big output files. We suggest setting it to true only when the tested pages are limited.",
229            "default": false
230          }
231        }
232      },
233      "runsResponseSchema": {
234        "type": "object",
235        "properties": {
236          "data": {
237            "type": "object",
238            "properties": {
239              "id": {
240                "type": "string"
241              },
242              "actId": {
243                "type": "string"
244              },
245              "userId": {
246                "type": "string"
247              },
248              "startedAt": {
249                "type": "string",
250                "format": "date-time",
251                "example": "2025-01-08T00:00:00.000Z"
252              },
253              "finishedAt": {
254                "type": "string",
255                "format": "date-time",
256                "example": "2025-01-08T00:00:00.000Z"
257              },
258              "status": {
259                "type": "string",
260                "example": "READY"
261              },
262              "meta": {
263                "type": "object",
264                "properties": {
265                  "origin": {
266                    "type": "string",
267                    "example": "API"
268                  },
269                  "userAgent": {
270                    "type": "string"
271                  }
272                }
273              },
274              "stats": {
275                "type": "object",
276                "properties": {
277                  "inputBodyLen": {
278                    "type": "integer",
279                    "example": 2000
280                  },
281                  "rebootCount": {
282                    "type": "integer",
283                    "example": 0
284                  },
285                  "restartCount": {
286                    "type": "integer",
287                    "example": 0
288                  },
289                  "resurrectCount": {
290                    "type": "integer",
291                    "example": 0
292                  },
293                  "computeUnits": {
294                    "type": "integer",
295                    "example": 0
296                  }
297                }
298              },
299              "options": {
300                "type": "object",
301                "properties": {
302                  "build": {
303                    "type": "string",
304                    "example": "latest"
305                  },
306                  "timeoutSecs": {
307                    "type": "integer",
308                    "example": 300
309                  },
310                  "memoryMbytes": {
311                    "type": "integer",
312                    "example": 1024
313                  },
314                  "diskMbytes": {
315                    "type": "integer",
316                    "example": 2048
317                  }
318                }
319              },
320              "buildId": {
321                "type": "string"
322              },
323              "defaultKeyValueStoreId": {
324                "type": "string"
325              },
326              "defaultDatasetId": {
327                "type": "string"
328              },
329              "defaultRequestQueueId": {
330                "type": "string"
331              },
332              "buildNumber": {
333                "type": "string",
334                "example": "1.0.0"
335              },
336              "containerUrl": {
337                "type": "string"
338              },
339              "usage": {
340                "type": "object",
341                "properties": {
342                  "ACTOR_COMPUTE_UNITS": {
343                    "type": "integer",
344                    "example": 0
345                  },
346                  "DATASET_READS": {
347                    "type": "integer",
348                    "example": 0
349                  },
350                  "DATASET_WRITES": {
351                    "type": "integer",
352                    "example": 0
353                  },
354                  "KEY_VALUE_STORE_READS": {
355                    "type": "integer",
356                    "example": 0
357                  },
358                  "KEY_VALUE_STORE_WRITES": {
359                    "type": "integer",
360                    "example": 1
361                  },
362                  "KEY_VALUE_STORE_LISTS": {
363                    "type": "integer",
364                    "example": 0
365                  },
366                  "REQUEST_QUEUE_READS": {
367                    "type": "integer",
368                    "example": 0
369                  },
370                  "REQUEST_QUEUE_WRITES": {
371                    "type": "integer",
372                    "example": 0
373                  },
374                  "DATA_TRANSFER_INTERNAL_GBYTES": {
375                    "type": "integer",
376                    "example": 0
377                  },
378                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
379                    "type": "integer",
380                    "example": 0
381                  },
382                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
383                    "type": "integer",
384                    "example": 0
385                  },
386                  "PROXY_SERPS": {
387                    "type": "integer",
388                    "example": 0
389                  }
390                }
391              },
392              "usageTotalUsd": {
393                "type": "number",
394                "example": 0.00005
395              },
396              "usageUsd": {
397                "type": "object",
398                "properties": {
399                  "ACTOR_COMPUTE_UNITS": {
400                    "type": "integer",
401                    "example": 0
402                  },
403                  "DATASET_READS": {
404                    "type": "integer",
405                    "example": 0
406                  },
407                  "DATASET_WRITES": {
408                    "type": "integer",
409                    "example": 0
410                  },
411                  "KEY_VALUE_STORE_READS": {
412                    "type": "integer",
413                    "example": 0
414                  },
415                  "KEY_VALUE_STORE_WRITES": {
416                    "type": "number",
417                    "example": 0.00005
418                  },
419                  "KEY_VALUE_STORE_LISTS": {
420                    "type": "integer",
421                    "example": 0
422                  },
423                  "REQUEST_QUEUE_READS": {
424                    "type": "integer",
425                    "example": 0
426                  },
427                  "REQUEST_QUEUE_WRITES": {
428                    "type": "integer",
429                    "example": 0
430                  },
431                  "DATA_TRANSFER_INTERNAL_GBYTES": {
432                    "type": "integer",
433                    "example": 0
434                  },
435                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
436                    "type": "integer",
437                    "example": 0
438                  },
439                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
440                    "type": "integer",
441                    "example": 0
442                  },
443                  "PROXY_SERPS": {
444                    "type": "integer",
445                    "example": 0
446                  }
447                }
448              }
449            }
450          }
451        }
452      }
453    }
454  }
455}

Pagespeed Insights Webpage Analyzer OpenAPI definition

OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.

OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.

By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.

You can download the OpenAPI definitions for Pagespeed Insights Webpage Analyzer from the options below:

If you’d like to learn more about how OpenAPI powers GPTs, read our blog post.

You can also check out our other API clients: