Pagespeed Insights Webpage Analyzer
by baldasseva
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...
Opens on Apify.com
About Pagespeed Insights Webpage Analyzer
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.
What does this actor do?
Pagespeed Insights Webpage Analyzer is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.
Key Features
- Cloud-based execution - no local setup required
- Scalable infrastructure for large-scale operations
- API access for integration with your applications
- Built-in proxy rotation and anti-blocking measures
- Scheduled runs and webhooks for automation
How to Use
- Click "Try This Actor" to open it on Apify
- Create a free Apify account if you don't have one
- Configure the input parameters as needed
- Run the actor and download your results
Documentation
Pagespeed Insights Webpage Analyzer This Actor analyses the performance of a list of webpages by using the Pagespeed Insights API. Pagespeed Insights aggregates results from Chrome User Experience Report and Lighthouse. - The Chrome User Experience Report is collected from real browsers around the world, based on certain browser options which determine user eligibility. A set of dimensions and metrics are collected which allow site owners to determine how users experience their sites. - Lighthouse is an open-source, automated tool for improving the quality of web pages. You can run it against any web page, public or requiring authentication. It has audits for performance, accessibility, progressive web apps, SEO, and more. # Why use this Actor? You can use Pagespeed Insights through their official website. However, with this Actor you can run parallel multi-page analysis programmatically and efficiently. The output of the run will also include an aggregation of all the scores of the pages that were analyzed. # Input ## Fields | Fields | Required | Description | | ------------------------------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | URLs | ✅ | A list of URLs. All of them will be tested and analyzed. | | Analyze the whole site from a sitemap | | False by default. If true, the first URL from the first input will be used as a base to generate a sitemap. All of the links found in that sitemap will be then analyzed by Pagespeed. | | Filter URLs | | A series of regular expressions that can filter the URLs that will be added to the queue and analyzed. It is recommended when analyzing a website from the sitemap. | | Max Requests per Crawl | | Introduce a limit to avoid crawls that are too long. It is recommended when analyzing a website from the sitemap. | ### Lighthouse testing configuration These options affect only the Lighthouse analysis. Enabling every option can create very long outputs. Consider which testing categories you're interested in and if you need a detailed report. | Fields | Required | Description | | ---------------------- | -------- | --------------------------------------------------------------------------------------------------------------------------- | | Testing categories | | Accessibility, Best Practices, Performance, Progressive Web App, Search Engine Optimization | | Device | | Mobile or Desktop | | Create detailed report | | False by default. If true, the output will include the complete report, which includes website screenshots and long text. | ## Example json { "categories": ["best-practices", "performance", "accessibility"], "createSitemap": false, "detailedReport": false, "globs": [ { "glob": "(https://apify.com/)(?!.+/.+/api/.+)" } ], "maxRequestsPerCrawl": 1000, "strategy": "mobile", "urls": [ { "url": "https://apify.com/" }, { "url": "https://apify.com/store" }, { "url": "https://apify.com/apify/web-scraper" } ] } # Output The output is the list of reports for each page of your queue. The format follows the format arriving from the Pagespeed Insights API. ## Example json [ { "url": "https://apify.com/store", "crux_loading_experience": { "id": "https://apify.com/store", "metrics": { ... }, "overall_category": "AVERAGE", "initial_url": "https://apify.com/store" }, "crux_origin_loading_experience": { "id": "https://apify.com", "metrics": { ... }, "overall_category": "AVERAGE", "initial_url": "https://apify.com/store" }, "lighthouse_result": { "requestedUrl": "https://apify.com/store", "finalUrl": "https://apify.com/store", "mainDocumentUrl": "https://apify.com/store", "finalDisplayedUrl": "https://apify.com/store", "lighthouseVersion": "12.0.0", ... "categories": { "performance": { "id": "performance", "title": "Performance", "score": 0.4, "auditRefs": [ ... ] }, "accessibility": { "id": "accessibility", "title": "Accessibility", "score": 0.87, "auditRefs": [ ... ] }, "best-practices": { "id": "best-practices", "title": "Best Practices", "score": 0.75, "auditRefs": [ ... ] } } } }, { "url": "https://apify.com/", "crux_loading_experience": { ... }, "crux_origin_loading_experience": { ... }, "lighthouse_result": { ... } }, ... ] # Aggregated results The Actor also aggregates the Lighthouse results in a Key-Value Store, named OUTPUT. The OUTPUT file contains some statistics about the Actor run, the mean of the scores of all the pages and a list of pages that got a failing response from the Pagespeed Insights API. ## Example json { "requestsFinished": 10, "requestsFailed": 0, "retryHistogram": [10], "requestAvgFailedDurationMillis": null, "requestAvgFinishedDurationMillis": 32371, "requestsFinishedPerMinute": 6, "requestsFailedPerMinute": 0, "requestTotalDurationMillis": 323709, "requestsTotal": 10, "crawlerRuntimeMillis": 105077, "lighthouseResults": { "configSettings": { "formFactor": "mobile", "locale": "en-US", "onlyCategories": ["best-practices", "performance", "accessibility"] }, "scores": { "best-practices": 0.77, "performance": 0.41, "accessibility": 0.89 }, "failedPages": [] } }
Categories
Common Use Cases
Market Research
Gather competitive intelligence and market data
Lead Generation
Extract contact information for sales outreach
Price Monitoring
Track competitor pricing and product changes
Content Aggregation
Collect and organize content from multiple sources
Ready to Get Started?
Try Pagespeed Insights Webpage Analyzer now on Apify. Free tier available with no credit card required.
Start Free TrialActor Information
- Developer
- baldasseva
- Pricing
- Paid
- Total Runs
- 22,096
- Active Users
- 241
Related Actors
Google Search Results Scraper
by apify
Google Search Results (SERP) Scraper
by scraperlink
Google Search
by devisty
Bing Search Scraper
by tri_angle
Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.
Learn more about ApifyNeed Professional Help?
Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.
Trusted by millions | Money-back guarantee | 24/7 Support