Lighthouse Audit avatar
Lighthouse Audit
Try for free

3 days trial then $30.00/month - No credit card required now

View all Actors
Lighthouse Audit

Lighthouse Audit

microworlds/lighthouse-audit
Try for free

3 days trial then $30.00/month - No credit card required now

Automatically test the speed of your web pages and get daily or weekly detailed performance reports using Google's Lighthouse for Chrome. Ensure your website remains fast even as you add new features and pages. Export the result in ZIP and MHTML files

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "urls": [
8    "https://apify.com/"
9  ],
10  "device": "desktop",
11  "maxRequestsPerCrawl": 500,
12  "maxConcurrency": 5,
13  "maxRequestRetries": 3,
14  "proxyConfig": {
15    "useApifyProxy": true
16  }
17}
18EOF
19
20# Run the Actor using an HTTP API
21# See the full API reference at https://docs.apify.com/api/v2
22curl "https://api.apify.com/v2/acts/microworlds~lighthouse-audit/runs?token=$API_TOKEN" \
23  -X POST \
24  -d @input.json \
25  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 3 monthly users
  • 1 star
  • 100.0% runs succeeded
  • Created in Jun 2023
  • Modified 5 months ago