Imp Imp
← Back to Arsenal
PageSpeed Intelligence Complete Web Performance Analysis w/AI

PageSpeed Intelligence Complete Web Performance Analysis w/AI

Seo Tools

PageSpeed Intelligence combines: Google PageSpeed Insights - Real-user CrUX data + lab metrics Lighthouse Audits - Detailed performance, accessibility, SEO audits Tech Stack Detection - Identify CMS, frameworks, analytics, CDN, hosting AI Recommendations - Actionable advice tailored to your stack

PageSpeed Intelligence - Complete Website Performance Analysis with AI

PSI + Lighthouse + Tech Stack + AI Recommendations in One Actor by John Rippy | johnrippy.link
🏆 2025 Zapier Automation Hero of the YearProject Phoenix: A 95-step AI sales pipeline cutting development time by 50%. Read more →

---

Why This Actor Exists

Most performance tools give you data without context. You get a list of issues, but no guidance on what to actually do based on your specific tech stack.

PageSpeed Intelligence combines:

1. Google PageSpeed Insights - Real-user CrUX data + lab metrics

2. Lighthouse Audits - Detailed performance, accessibility, SEO audits

3. Tech Stack Detection - Identify CMS, frameworks, analytics, CDN, hosting

4. AI Recommendations - Actionable optimization advice tailored to your stack

---

What Makes This Different

The Problem with Generic Recommendations

"Reduce JavaScript execution time" is useless advice if you don't know:

Stack-Aware Recommendations

This actor detects 50+ technologies and provides recommendations that actually make sense:

---

Use Cases

1. Client Onboarding Audits

Run a comprehensive performance audit in minutes instead of hours. Get a complete picture of their site's performance, tech stack, and prioritized recommendations.

2. Competitor Analysis

Compare performance metrics and tech stacks across multiple competitors. Identify what high-performing competitors are doing differently.

3. Performance Optimization Projects

Get a prioritized list of issues with estimated impact, specific to their technology stack.

4. Pre/Post Optimization Reports

Document before and after metrics to show the ROI of performance work.

---

Quick Start Examples

Example 1: Full Analysis

{

"url": "https://example.com",

"strategy": "both",

"includePageSpeedInsights": true,

"includeLighthouse": true,

"includeTechStack": true,

"includeAIRecommendations": true

}

Example 2: Tech Stack Only

{

"url": "https://example.com",

"includeTechStack": true,

"includePageSpeedInsights": false,

"includeLighthouse": false

}

Example 3: Batch Competitor Analysis

{

"urls": [

"https://yoursite.com",

"https://competitor1.com",

"https://competitor2.com"

],

"strategy": "mobile"

}

Example 4: With Webhook

{

"url": "https://example.com",

"webhookUrl": "https://hooks.zapier.com/hooks/catch/12345/abcdef/"

}

Example 5: Demo Mode (Free Testing)

{

"demoMode": true

}

---

Input Parameters

*Either url or urls is required (unless using demoMode)

---

Output Format

{

"url": "https://example.com",

"timestamp": "2024-12-25T12:00:00.000Z",

"overallScore": 78,

"pageSpeedInsights": {

"mobile": {

"performanceScore": 72,

"hasFieldData": true,

"coreWebVitals": {

"lcp": { "value": 2.8, "rating": "needs-improvement" },

"fid": { "value": 45, "rating": "good" },

"cls": { "value": 0.15, "rating": "needs-improvement" }

}

},

"desktop": {

"performanceScore": 89,

"hasFieldData": true,

"coreWebVitals": {

"lcp": { "value": 1.2, "rating": "good" },

"fid": { "value": 12, "rating": "good" },

"cls": { "value": 0.02, "rating": "good" }

}

}

},

"lighthouse": {

"performance": 72,

"accessibility": 85,

"bestPractices": 92,

"seo": 98,

"opportunities": [

{

"id": "render-blocking-resources",

"title": "Eliminate render-blocking resources",

"potentialSavings": "1,450ms"

}

],

"diagnostics": [...]

},

"techStack": {

"cms": "WordPress 6.4",

"ecommerce": "WooCommerce 8.3",

"framework": null,

"analytics": ["Google Analytics 4", "Meta Pixel", "Hotjar"],

"cdn": "Cloudflare",

"hosting": "WP Engine",

"security": ["Cloudflare WAF", "SSL"],

"marketing": ["HubSpot", "Mailchimp"],

"other": ["Google Tag Manager", "reCAPTCHA"]

},

"recommendations": [

{

"priority": 1,

"category": "performance",

"issue": "Large Contentful Paint is slow on mobile (2.8s)",

"recommendation": "For WordPress + WooCommerce: Enable LiteSpeed Cache or WP Rocket with preload feature. Consider implementing Cloudflare APO for full-page edge caching.",

"estimatedImpact": "high",

"difficulty": "medium"

},

{

"priority": 2,

"category": "performance",

"issue": "Multiple analytics scripts blocking render",

"recommendation": "Move GA4, Meta Pixel, and Hotjar to Google Tag Manager with delayed loading. Use GTM's trigger on 'DOM Ready' or 'Window Loaded' instead of 'Page View'.",

"estimatedImpact": "medium",

"difficulty": "low"

}

]

}

---

Tech Stack Detection

This actor detects 50+ technologies across these categories:

---

AI Recommendations

When includeAIRecommendations is enabled (default), the actor generates:

1. Prioritized Action Items - Ranked by impact and difficulty

2. Stack-Specific Advice - Recommendations that work with your tech

3. Quick Wins - Low-effort, high-impact changes

4. Strategic Improvements - Larger projects worth planning

Without Anthropic API Key

Uses rule-based recommendations based on detected tech stack.

With Anthropic API Key

Uses Claude to generate more nuanced, context-aware recommendations.

---

Webhook Integration

Webhook Payload

{

"event": "analysis_complete",

"timestamp": "2024-12-25T12:00:00.000Z",

"actor": "pagespeed-intelligence",

"runId": "abc123",

"status": "success",

"summary": {

"urlsAnalyzed": 3,

"avgPerformanceScore": 76,

"criticalIssues": 4,

"recommendations": 12

},

"results": [...]

}

Integration Examples

Zapier: Send results to Google Sheets, notify Slack on critical issues Make: Build complex workflows with conditional actions n8n: Self-hosted automation with full control

---

API Usage

Using the Apify API

import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });

const run = await client.actor('localhowl/pagespeed-intelligence').call({

url: 'https://example.com',

strategy: 'both',

includeAIRecommendations: true

});

const { items } = await client.dataset(run.defaultDatasetId).listItems();

console.log(items[0].recommendations);

Using cURL

curl -X POST "https://api.apify.com/v2/acts/localhowl~pagespeed-intelligence/runs?token=YOUR_API_TOKEN" \

-H "Content-Type: application/json" \

-d '{

"url": "https://example.com",

"strategy": "mobile",

"includeAIRecommendations": true

}'

---

Perfect For

SEO Agencies

Web Developers

Marketing Teams

---

Pricing

---

Limitations

---

Related Actors

---

Built by John Rippy | johnrippy.link
🏆 2025 Zapier Automation Hero of the YearProject Phoenix: A 95-step AI sales pipeline cutting development time by 50%. Read more →

---

Keywords

pagespeed insights, lighthouse audit, core web vitals, tech stack detection, website performance, seo audit, web performance optimization, crux data, chrome ux report, lcp optimization, ai recommendations, wordpress performance, shopify speed, react optimization, next.js performance

149,000
KILLS
100%
HEALTH
Doomguy
274
ACTORS
0/3
SECRETS