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

The Howlers

The Howlers

Maintained by Community

Actor stats

0

Bookmarked

8

Total users

0

Monthly active users

22 days 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.

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 GTmetrix API key. Get a free key at https://gtmetrix.com/api/


Quick Start

Run with real data

{
"urls": [
"https://example.com"
],
"apiKey": "YOUR_API_KEY_HERE",
"location": "1",
"browser": "3",
"adBlock": false,
"waitForFullyLoaded": true
}

Input Parameters

ParameterTypeDefaultRequiredDescription
urlsarray-NoList of website URLs to test for performance.
apiKeystring-Yes*Your GTmetrix API key. Get a free key at https://gtmetrix.com/api/
apiEmailstring-NoEmail address associated with your GTmetrix account.
locationstring"1"NoServer location for the test.
browserstring"3"NoBrowser to use for testing.
adBlockbooleanfalseNoBlock ads during the test.
waitForFullyLoadedbooleantrueNoWait until the page is fully loaded before measuring.
webhookUrlstring-NoURL to POST results when scraping completes (Zapier, Make, n8n, custom endpoint)

Pricing

This actor uses pay-per-event billing:

EventDescriptionPrice
Test CompletedEach GTmetrix performance test completed$0.08

Troubleshooting

"API key is required"

  • 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?

Run the actor without apiKey and apiEmail (or set demoMode to true). It returns labeled sample performance reports so you can see the exact output format. Every sample item carries demo: true and a _notice field, and sample runs charge no task events. Provide your own GTmetrix API credentials to test real URLs.


Built by John Rippy | Actor Arsenal