GTmetrix Performance Tester avatar
GTmetrix Performance Tester

Pricing

from $0.01 / 1,000 results

Go to Apify Store
GTmetrix Performance Tester

GTmetrix Performance Tester

Automated website performance testing using GTmetrix. Get Core Web Vitals, PageSpeed scores, waterfall analysis & optimization recommendations. Batch test multiple URLs.

Pricing

from $0.01 / 1,000 results

Rating

0.0

(0)

Developer

John Rippy

John Rippy

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Share

Test website performance using GTmetrix API. Get PageSpeed scores, Core Web Vitals (LCP, FID, CLS), loading times, and actionable optimization recommendations. BYOK (Bring Your Own Key) supported for free GTmetrix API. Built by John Rippy (https://www.linkedin.com/in/johnrippy/ | https://johnrippy.link/).

Features

  • Performance Scores: GTmetrix Grade, Performance Score, Structure Score
  • Core Web Vitals: LCP, TBT, CLS - the metrics Google uses for ranking
  • Loading Metrics: First Contentful Paint, Time to Interactive, Fully Loaded Time
  • Multiple Locations: Test from 7 global server locations
  • BYOK Support: Bring your own free GTmetrix API key

Quick Start

{
"input": "your input here"
}

Demo Mode

Set demoMode: true to test with sample data (no charges). When you're ready for real results, set demoMode: false or omit it.

{
"demoMode": true,
...
}

Input Parameters

ParameterTypeRequiredDescription
See input schema

Output Format

{
"url": "https://example.com",
"gtmetrixGrade": "A",
"performanceScore": 92,
"structureScore": 88,
"largestContentfulPaint": 1245,
"totalBlockingTime": 150,
"cumulativeLayoutShift": 0.05,
"firstContentfulPaint": 890,
"timeToInteractive": 2100,
"fullyLoadedTime": 3500,
"pageSize": 1524000,
"requests": 45,
"reportUrl": "https://gtmetrix.com/reports/...",
"recommendations": [
{
"name": "Serve images in next-gen formats",
"score": 45,
"savings": "234 KB"
}
],
"testedAt": "2025-12-23T12:00:00Z"
}

Pricing

This actor uses pay-per-event billing:

  • $0.01 per URL tested
  • Demo mode is free
  • BYOK uses your own GTmetrix credits

Use Cases

SEO Performance Audit

Test your site and competitors to benchmark performance.

Core Web Vitals Monitoring

Track LCP, TBT, CLS over time to ensure Google ranking signals stay healthy.

Before/After Optimization

Test before making changes, optimize, then test again to measure improvement.

Multi-Location Testing

Test from different regions to ensure global performance.


Common Problems & Solutions

"Invalid API key" error

Cause: Your API key is wrong, expired, or doesn't have the right permissions. Fix: Double-check your API key. Make sure you copied it exactly without extra spaces.

"Rate limit exceeded" error

Cause: You've hit the API's rate limits. Fix: Wait a few minutes, then try again. Consider reducing the number of concurrent requests.

Empty or incomplete results

Cause: The target may have anti-scraping protection or the data doesn't exist. Fix:

  • Check if the URL/search query is correct
  • Try with different parameters
  • Some sites may block automated access

Demo data showing instead of real results

Cause: demoMode is still set to true. Fix: Set demoMode: false and provide your API key(s).


Built by John Rippy | Actor Arsenal