PageSpeed Insights - Core Web Vitals & Real User Metrics avatar

PageSpeed Insights - Core Web Vitals & Real User Metrics

Pricing

from $0.01 / 1,000 results

Go to Apify Store
PageSpeed Insights - Core Web Vitals & Real User Metrics

PageSpeed Insights - Core Web Vitals & Real User Metrics

PageSpeed Insights actor uses Google's PageSpeed Insights API to get: Real-World Field Data from Chrome UX Report (CrUX) Lab Data from Lighthouse Core Web Vitals - LCP, FID/INP, CLS, FCP, TTFB, TBT Performance Scores - 0-100 scores for Performance, Accessibility, Best Practices, SEO Mobile & Desktop

Pricing

from $0.01 / 1,000 results

Rating

0.0

(0)

Developer

The Howlers

The Howlers

Maintained by Community

Actor stats

0

Bookmarked

30

Total users

6

Monthly active users

18 days ago

Last modified

Share

Get Google PageSpeed Insights data including real-user experience from Chrome UX Report (CrUX) and Lighthouse lab data. Core Web Vitals: LCP, FID/INP, CLS. Performance scores for mobile and desktop. Supports batch URL analysis.

BYOK (Bring Your Own Key) -- you provide your own API credentials.


Before You Start

This actor requires your own API credentials to fetch real data.

Where to get your key: Your Google PageSpeed Insights API key. Without it, you're limited to ~400 requests/day. Get one free at https://console.developers.google.com

You can test with Demo Mode first (free, no key needed) to see the output format before committing.


Quick Start

Test with Demo Mode (free, no API key needed)

{
"demoMode": true,
"urls": [
"https://example.com"
],
"url": "https://example.com"
}

Run with real data

{
"demoMode": false,
"urls": [
"https://example.com"
],
"url": "https://example.com",
"strategy": "mobile",
"categories": [
"performance",
"accessibility",
"seo",
"best-practices"
],
"apiKey": "YOUR_API_KEY_HERE",
"includeFieldData": true,
"includeLabData": true,
"includeOpportunities": true,
"includeDiagnostics": true,
"includeScreenshots": false
}

Input Parameters

ParameterTypeDefaultRequiredDescription
demoModebooleanfalseNoRun with sample data (no API calls). Free to use for testing.
urlsarray-NoList of URLs to analyze with PageSpeed Insights
urlstring-NoSingle URL to analyze (use this OR urls array)
strategystring"mobile"NoDevice strategy for analysis
categoriesarray["performance","accessibility","seo","best-practices"]NoWhich Lighthouse categories to run
apiKeystring-Yes*Your Google PageSpeed Insights API key. Without it, you're limited to ~400 requests/day. Get one free at https://console.developers.google.com
includeFieldDatabooleantrueNoInclude Chrome UX Report real-user data when available
includeLabDatabooleantrueNoInclude Lighthouse lab test results
includeOpportunitiesbooleantrueNoInclude performance improvement suggestions
includeDiagnosticsbooleantrueNoInclude detailed diagnostic information
includeScreenshotsbooleanfalseNoInclude visual screenshots from the audit
webhookUrlstring-NoURL to POST results when analysis completes (Zapier, Make, n8n, custom endpoint)

*Required when Demo Mode is off.


Pricing

This actor uses pay-per-event billing:

EventDescriptionPrice
URL AnalyzedEach URL analyzed with PageSpeed Insights$0.02

Demo mode is free -- no charges for sample data.


Troubleshooting

"API key is required"

You have Demo Mode turned off but didn't provide an API key. Either:

  • Turn Demo Mode on to test with sample data
  • Add your API key in the input

"API error 403" or "Unauthorized"

Your API key is invalid, expired, or doesn't have access to this specific API endpoint. Double-check your key and account permissions.

"API error 429" or "Rate limit"

Too many requests. Wait a minute and try again, or reduce the number of items per run.

No results or empty dataset

Check the run log for error messages. Common causes:

  • Invalid input format (check the examples above)
  • API key without proper permissions
  • The target data doesn't exist or is too small to track

How do I test without an API key?

Enable Demo Mode in the input. This returns realistic sample data so you can verify the output format works for your workflow.


Built by John Rippy | Actor Arsenal