Scrape data in seconds

No proxies needed

Start Free
Web Scraping

PageSpeed Insights API Limits: A Checklist for Big Batches

A nine-point checklist for working inside PageSpeed Insights API limits: real quotas, call counts, pacing, retries, time and field data.

VK
Varun Kumar
··10 min read
PageSpeed Insights API Limits: A Checklist for Big Batches: Pulldata blog cover

💡 Key Takeaways:

1) The PageSpeed Insights API limits you by quota per Google Cloud project: a daily cap and a short-window cap. Google's console shows your project's real numbers on the API's Quotas tab.

2) Third-party guides list the defaults as 25,000 requests a day and 400 per 100 seconds, but Google's own docs we could find don't state them, so treat those figures as a starting point to check.

3) Quota counts calls, not URLs: every device, repeat run and retry is another request against the same cap.

4) The limit most bulk jobs hit first isn't quota at all, it's time, because every call runs a full Lighthouse page load.

Keep big speed audits running, not failing

Pulldata is a no-code web data platform that collects live, structured data from the public web. Its PageSpeed audit API runs speed checks on your URL list without a Cloud project, key restriction or quota tab, from code, a dashboard or an AI agent, and failed rows cost nothing.

Example chart of calls per minute: a burst pokes above the per-minute quota line and gets 429 errors, paced calls all land

Checkbox 1: Read your real quota before the first big run

Most people plan a batch around a number they read on a blog. Your project's actual limits sit in the Google Cloud console, and that's the only figure that decides whether tonight's run finishes.

What to check

Open the PageSpeed Insights API in your Cloud project and go to its Quotas tab. Note down:

  • The queries per day limit.
  • The short-window limit, per minute or per 100 seconds.
  • Whether the limit is per project or per user.
  • Current usage for today.
  • Any increase requests already filed.

Why it matters

Third-party guides put the defaults at 25,000 requests per day and 400 per 100 seconds (Unlighthouse rate limits guide). Other references repeat a per-minute figure that Google doesn't publish, so the numbers floating around disagree.

Google's getting-started guide only says a key is needed for automated use or several queries per second (Get Started with the PageSpeed Insights API). The Quotas tab is where the real limits live.

Quota figures quoted online as loose notes per day, per minute and per 100 seconds, beside the one gauge on your Quotas tab

Done when

You've written your project's daily and short-window limits next to the batch plan, with the date you read them.

Checkbox 2: Count calls, not URLs

A list of 500 URLs sounds like 500 requests. It almost never is.

What to count

Multiply the URL list by everything that repeats a call:

  • Devices: mobile and desktop are separate tests.
  • Repeat runs: three runs per page for a stable median.
  • Retries for calls that failed or timed out.
  • Reruns after a fix ships.
  • Any other script or teammate on the same project.

Why the count matters

Each request tests one URL on one device, chosen with the strategy parameter (runpagespeed reference). So 500 URLs on two devices with three runs each is 3,000 calls before a single retry.

Example bar chart: 500 URLs become 1,000 calls on two devices, 3,000 with three runs each, and more once failed calls retry

Done when

The batch plan states a call count, and that count fits inside the daily limit with room left for retries.

Worth knowing

The runPagespeed reference lists desktop as the default strategy. A script that forgets the parameter tests desktop only, and a "mobile audit" built on it reports the wrong device without any error.

Checkbox 3: Pace requests for the short-window limit

The daily cap gets the attention, but the short-window cap is the one a fast script hits in its first minute. Firing a few hundred calls at once mostly produces errors.

What to set

Before you start the batch, decide:

  • How many calls run at the same time (a few, not dozens).
  • The pause between batches.
  • A ceiling on calls per minute, below your project's limit.
  • What the script does on a quota error: wait, then continue.

What goes wrong without pacing

When you go over, the error message names the limit you hit, such as queries per minute or queries per day (Amasty support). A per-minute error clears with a pause; a per-day error doesn't clear until the quota resets.

Two timelines: a per-minute quota error clears after a short pause, while a per-day error waits until the daily quota reset

Ready when

A test batch of 50 URLs runs from start to finish without a single quota error.

Watch out

Splitting a batch across several machines doesn't raise the limit when they all send the same key. Quota counts per project, so ten workers at a gentle pace each can still add up to one burst that trips the short-window cap.

Checkbox 4: Use a key, in its own project

You can try the API without a key, but a batch job shouldn't. Quota belongs to the project that owns the key, so the project you pick matters too.

What to set up

Our guide to the PageSpeed API key covers creation step by step. For limits, check these:

  • Every automated call sends a key.
  • The key is restricted to the PageSpeed Insights API.
  • Heavy batch jobs live in a separate project from nightly checks.
  • The key isn't pasted into a shared sheet or a public repo.

Why one key per job

Every script and teammate sharing one key shares one daily cap. A one-off audit of 5,000 pages can use up the quota a scheduled monitor needs the same evening.

A Quotas page: a shared project for audit and monitor is used up, while separate audit and monitor projects keep room left

Google recommends restricting API keys to the APIs they're for (Google Cloud: Manage API keys). An unrestricted key can call any API enabled in the project, including paid ones.

Done when

Each job has its own restricted key, and you know which project each key's quota comes from.

Checkbox 5: Budget time, not just quota

Quota is rarely what stops a bulk job. Time is: each call loads the page in full, runs Lighthouse and returns a large JSON report.

What to measure

Run ten representative URLs and time them. Look at:

  • The typical seconds per call.
  • The slowest page in the set.
  • Your client's timeout setting.
  • Any runtime cap on where the script runs.

Why time is the real cap

Hosted script runners have their own ceilings. Google Apps Script, for example, stops a single execution at 6 minutes (Apps Script quotas), which is the real cap for anyone running PageSpeed from a spreadsheet.

Example run of PageSpeed calls of different lengths, heavy pages taking longer, until the last call is cut off at the cap

Our guide to PageSpeed Insights in Google Sheets shows how to batch a list across several runs.

Ready when

You know the run time of the full list, and it fits the window and runtime you have.

Tip

Set your client timeout well above the slowest page you measured. A timeout that's too short cuts off tests that would have finished, and each of those still costs a request when you retry it.

Checkbox 6: Retry only what can succeed

Some errors fix themselves on a second try and some never will. A script that retries everything burns quota on URLs that were never going to return.

What to sort

Group the errors before you write retry logic:

  • Quota errors (HTTP 429): wait, then retry.
  • Server errors (HTTP 5xx): retry once or twice with a growing pause.
  • Bad requests (HTTP 400): fix the URL; don't retry.
  • Pages Lighthouse can't load: retry alone, then flag.
A run log sorting failed calls: 429 wait and retry, 503 retry with backoff, 400 fix the URL, a page that won't load flagged

Why sorting errors saves quota

Lighthouse reports a failed document request when Google's servers can't load the page in time (Lighthouse issue tracker). Bot blocking on the target server causes errors too, even when the page opens fine in your browser (Lighthouse issue #15989).

Finished when

The script retries 429 and 5xx responses with backoff, logs everything else once, and caps retries per URL.

Checkbox 7: Ask only for the categories you read

The category parameter decides which Lighthouse categories run. Leave it out and you get Performance only, which surprises anyone expecting SEO or Accessibility in the same call.

What to decide

List what the report is for, then match the categories:

  • Speed work: Performance only, the default.
  • SEO checks: add SEO.
  • Accessibility reviews: add Accessibility.
  • Keep the same set on every run you plan to compare.

Why the default matters

Each extra category adds audits to the response, so the JSON you store and parse grows with every one. Changing the set between runs also makes month-to-month comparisons messy.

A Lighthouse result with only Performance scored by default, plus a request adding category parameters for other scores

Done when

The request names its categories explicitly, and the same list is used for every run of that job.

Checkbox 8: Know what field data won't give you

The API returns Chrome UX Report field data alongside the lab test, but only when a page has enough Chrome visits. That's a limit no quota increase can lift.

What to look for

For each URL in the results, confirm:

  • Whether field data came back at all.
  • Whether it's for the URL or the whole origin.
  • That the window is the last 28 days, not today.
  • Which pages share identical origin values.

Why no quota fixes this

When a page has too few visits, PageSpeed Insights falls back to origin data (About PageSpeed Insights), and the field figures cover a rolling 28 days (Chrome for Developers). The API also keeps no history, so it can't show last month's numbers.

For trends, the CrUX History API holds up to 40 weekly data points (CrUX History API). Our guide to Core Web Vitals monitoring covers combining the two.

Example weekly field LCP trend kept elsewhere, with one PageSpeed API call covering only the latest window at the end of it

Finished when

Every stored row records the field data level, and you have a separate plan for history.

Keep in mind

The lab score varies between runs even when nothing changes, and Google's Lighthouse variability page explains why. Spend quota on three runs for pages near a threshold, and one run for everything else.

Checkbox 9: Plan for the reset and for increases

When the daily quota runs out, the rest of the batch waits for the reset. If that happens often, the fix is a bigger quota or a different route, not a faster script.

What to plan

Decide in advance what happens when the cap is hit:

  • Save progress so the next run resumes, not restarts.
  • Schedule the remainder after the reset.
  • File a quota increase request if the shortfall is regular.
  • Price a hosted option if the request isn't granted.

Why planning ahead pays off

Third-party guides say the daily quota resets at midnight Pacific Time and that Google reviews increase requests, with approval not guaranteed (Unlighthouse API key guide). There's no paid tier to buy more, which our post on PageSpeed Insights API pricing covers.

A long batch stopped by the daily cap on day one with its row saved, then picking up from that row on day two after the reset

A hosted service runs the tests on its own setup. Pulldata bills per successful result with failed rows free, and current rates are on the Pulldata pricing page.

Ready when

A run that hits the cap stops cleanly, saves its place and picks up after the reset without manual work.

PageSpeed Insights API limits checklist summary

Here's the whole checklist in one table, to keep next to the batch plan.

Check

What to look at

Done when

1. Real quota

Quotas tab in the Cloud console

Daily and short-window limits written down

2. Call count

URLs × devices × runs × retries

Count fits the daily limit with spare

3. Pacing

Concurrency and pauses

50-URL test runs without quota errors

4. Key and project

Restricted key per job

Each job knows its own quota

5. Time

Seconds per call, runtime caps

Full list fits the time you have

6. Retries

429, 5xx, 400 and load errors

Only recoverable errors retried

7. Categories

The category parameter

Same explicit set on every run

8. Field data

URL vs origin, 28-day window

Level stored on every row

9. Reset and increases

What happens at the cap

Run resumes after reset on its own

Before any of this, it's worth knowing what the report contains. Our explainer on what PageSpeed Insights is covers lab and field data, and the bulk PageSpeed test guide walks through a full run.

For checking a handful of pages by hand, our guide on how to check website speed needs no API at all. Non-developers can run the same audit on a URL list from the no-code website performance tool.

PageSpeed Insights API Limits FAQ

What is the PageSpeed Insights API rate limit?

Google's docs we found don't state it. Third-party guides list 400 requests per 100 seconds and 25,000 per day; check your project's Quotas tab.

Can I use the PageSpeed API without a key?

For a quick try, yes. Google says you need a key for automated use or several queries per second.

Why do I get "quota exceeded" with few requests?

You likely hit the short-window limit, or another script shares the same project. Read which limit the error names.

Does a failed request count against my quota?

Plan as if it does: every call you send is a request, including retries. Your project's usage graph shows the real count.

How do I get a higher PageSpeed API quota?

Request an increase from the Quotas page in the Cloud console. Google reviews each request, and there's no paid tier.

Sources were checked on Google's own documentation and the linked guides on Nov 3.

Disclaimer: This article is general information about working within PageSpeed Insights API limits. Quotas, defaults and error behaviour can change at any time and differ by project, so confirm them in your own Google Cloud console; Pulldata is not affiliated with Google.

Share this article
V

Written by

Varun Kumar

Varun Kumar is co-founder of Pulldata, where he leads the data infrastructure behind its products. A backend engineer by training, he has spent 8 years building large-scale scraping and automation systems, and now oversees how Pulldata extracts, validates and delivers web data at scale.

FAQ

Frequently asked questions

Everything you need to know about extracting web data, proxy management, and zero-cost failed rows.

Explore Documentation

Where can I extract public web data from with PullData?

PullData provides ready-to-use scrapers for Google Maps, Google Search SERP, directory listings, company websites, and social platforms, with built-in proxy rotation and automated anti-bot bypass.

Do I need coding skills or proxies to collect data?

No coding or proxy management is required. Everything runs in the cloud. You only configure your target keywords or URLs, and PullData handles rate limits, proxy rotation, and CAPTCHAs automatically.

In what file formats can I download extracted data?

You can export datasets instantly into CSV, Microsoft Excel (XLSX), or JSON. You can also connect directly via Webhook or REST API to sync rows with your database or CRM.

What happens if a scraping job encounters failed rows?

PullData only charges for successfully scraped and verified rows. Any failed row or timeout costs 0 credits, ensuring you only pay for actionable data.

Get Started Free

Ready to extract web data?

No code, no proxies, no engineering overhead. Start with $10 free credits and collect clean public data instantly.

Instant Cloud Setup $10 Free Credits Included Failed Rows Cost $0
Weekly Digest

Get weekly data-extraction insights

One short email a week — new guides, scraper tips, and the occasional teardown. No spam, unsubscribe anytime.