Scrape data in seconds

No proxies needed

Start Free
Web Scraping

How to Run a Bulk PageSpeed Test

Step-by-step bulk PageSpeed testing: URL list prep, which columns to keep, quota and pacing, and fixes for common errors.

VK
Varun Kumar
··9 min read
How to Run a Bulk PageSpeed Test: Pulldata blog cover

A bulk PageSpeed test runs Google's PageSpeed checks on a whole list of URLs instead of one page at a time. The hard part is the plumbing: the web tool takes one URL per run, each test takes seconds, and lab scores shift from run to run, so a list of 500 pages needs a plan for pacing, retries and storage.

Find the slow pages that cost you sales

Pulldata is a no-code web data platform that collects live, structured data from the public web, and its bulk website performance audit takes a URL list and returns one row of speed results per page. Run it from a dashboard, a REST API or an AI agent, and pay only for results that come back.

How do you run a bulk PageSpeed test?

You run a bulk PageSpeed test by sending each URL in your list to the PageSpeed Insights API, or to a tool built on it, and saving one row of results per URL. Pace the calls, retry failures and store the date and device with every row.

A urls.txt list feeding three PageSpeed score gauges at a time, each result landing as a row in a results sheet

The PageSpeed Insights API returns the same report as the web tool, as JSON. Google says you need an API key for automated use or for several queries per second, so any real bulk job starts with a key or a service that holds one for you.

There are three practical routes: script the Google API yourself, use a no-code tool that takes a URL list, or ask an AI agent connected to a speed-testing tool. The steps below use a no-code tool first, then cover the other two as variations.

A no-code tool, a Python script on the Google API and a chat request to an AI agent all feed the same results rows

What do you need before you start?

Gather these before the first run, because changing them halfway makes the results hard to compare:

  • A clean URL list, one full URL per line, with the protocol (https://) included.
  • A decision on device: mobile, desktop or both.
  • A place to keep results, such as a spreadsheet or a database table.
  • The handful of metrics you'll actually read, chosen in advance.
  • For the Google route: a Cloud project and a restricted API key.

If you're not sure what the report's numbers mean yet, read our explainer on what PageSpeed Insights is first. Knowing lab data from field data saves a lot of confused columns later.

How to run a bulk PageSpeed test, step by step

This walkthrough uses Pulldata's no-code website performance tool. The sign-up screen is real, and the tool steps are written generically until fresh captures are added.

Step #1: Create a free account

Go to the Pulldata sign-up page and choose Continue with Google, or enter an email and a password of at least 8 characters, then click Create account. The page says new accounts get $10 free credit with no card required.

Pulldata create your account page with Continue with Google, email and password fields and a Create account button
The public sign-up page at app.pulldata.io/signup.

Step #2: Build and clean the URL list

Start from a real source of URLs: your sitemap, a crawl export, or the top landing pages in Search Console or analytics. Then clean it before you spend a single test on it.

Remove duplicates, redirecting URLs and anything that returns an error. Strip tracking parameters such as ?utm_source=, since each variant counts as a separate URL and gets its own test.

Example URL list being cleaned: a duplicate, a tracking-tag variant, a redirect and a 404 dropped, four clean URLs kept

For very large sites, don't test every page. Pick every top landing page plus a sample of each template, because pages built from the same template usually share the same problems.

A site tree for shop.com with product, category, blog and landing templates, each a stack of pages with 3 tested

Step #3: Open the website performance tool and add the list

After you sign in, open No-Code Tools and pick the website performance audit tool. Paste or upload the URL list as the input.

Run a short test batch of five to ten URLs before the full list. It confirms the input format works and shows you what the output looks like.

A urls.csv where the first 8 URLs are a checked pilot, and a run all 2,000 button follows only after the pilot passes

Step #4: Pick the device and run

Choose mobile for the first pass, since Google indexes the mobile version of pages first (Google Search Central). Add a desktop pass only if desktop visitors matter to the pages in the list.

Start the run. Each URL gets its own full page load, so a long list takes a while, and that's normal.

Step #5: Export the results

Export the finished run and save the file with the date and device in its name. A file called "mobile speed, Nov 3" is far easier to compare next month than "results (2)".

Tip

Add a column for the page template (product, category, blog, landing) before you sort anything. Bulk results make sense by template, and a sorted list of 500 URLs without that column is just a long list.

Step #6: Rank the pages that need work

Sort by the failing field metric first, then by traffic. A slow page with 20 visits a month can wait, while a slow category page that takes most of your search clicks can't.

Group the failures by template. If 180 of 200 product pages fail on Largest Contentful Paint, that's one template fix, not 180 tickets.

Example LCP bars grouped by template: every product page runs past 2.5s in orange, pointing to one template fix

Which columns should a bulk PageSpeed test keep?

A bulk test should keep a small, fixed set of columns per URL, so runs from different weeks line up. The full report is large, and most of it isn't needed for ranking pages.

Column

Data type

Why keep it

URL, date, device

Context

Without these, two rows can't be compared

Field LCP, INP, CLS (75th percentile)

Field data (CrUX on PSI)

Decides the Core Web Vitals pass or fail

Field source: URL or origin

Field data

Shows whether the page had its own data

Lab Performance score

Lab data

Spots big changes between runs

Lab LCP and Total Blocking Time

Lab data

Points at the cause when field data fails

Template, monthly visits

Your own data

Turns a list into a fix order

The "field source" column is the one most people forget. When a page has too few Chrome visits, PageSpeed Insights shows origin-level data instead (About PageSpeed Insights), and every low-traffic page on the site ends up with identical field numbers.

Example results where two pages show their own field LCP while four low-traffic pages all show the same 2.8 s origin value

How many URLs can you test at once?

With the Google API, the limit is your project's quota, which the Cloud console shows on the API's Quotas tab. Google's public docs we could confirm don't state the default numbers, so read them in your own project before you plan a large batch.

Third-party guides list the default as 25,000 requests per day per project and 400 per 100 seconds (Unlighthouse rate limits guide). Treat those as a starting point to check, not a promise.

Speed is the other limit. Each call runs a full Lighthouse load, so responses take seconds, and firing hundreds in parallel mostly produces errors and slow, unreliable scores.

A requests per second chart: a burst of calls spikes over the quota limit into 429 errors, paced lanes stay under it
Worth knowing

Testing mobile and desktop doubles the number of calls, because each device is its own test. Plan quota and run time for the doubled list, not the URL count.

Variations: no-code, API, script or AI agent

The steps above use the no-code tool, but the same bulk job runs in several other ways. Pick the one that matches where your URL list lives.

Pulldata REST API

Send the URL list to Pulldata's PageSpeed audit API and store the rows it returns. Pulldata runs the audits, so there's no Cloud project, key restriction or quota tab to manage, and failed rows cost nothing (Pulldata pricing).

Follow the request format on the API page.

Your own script on the Google API

A script reads the URL list, calls the API once per URL and device, and writes one row per result. This is Google's documented request, with your key and the page to test:

curl
curl "https://www.googleapis.com/pagespeedonline/v5/runPagespeed?url=https://web.dev/&key=yourAPIKey"

Add the strategy parameter for mobile or desktop, as listed in the runpagespeed reference. Our guide to getting a PageSpeed API key covers the key and its restrictions.

Keep concurrency low, a few requests at a time, and retry failed calls after a pause. Save the raw JSON as well as your columns, because you can't rerun last week's test.

A time axis with a 429, a 2s wait, another 429, a longer 8s wait, then a 200 response that saves the /pricing row

AI agent through MCP

An AI assistant connected over the Model Context Protocol can run the same audits from a plain request, such as "test these 40 URLs on mobile and list the ones failing LCP". Pulldata's MCP server setup covers connecting an agent.

Check the agent's summary against the raw rows the first few times. Agents are good at sorting results and less reliable at judging which failures matter.

A Google Sheet

For lists of a few dozen URLs, Apps Script in Google Sheets can call the API with UrlFetchApp and write a row per URL. Keep the key in Script Properties, never in a cell, since anyone who can view the sheet can read the cells.

Keep in mind

Lab scores move between runs even when nothing changes, and Google's Lighthouse docs say throttling reduces that variance without removing it (Lighthouse variability). For pages near a threshold, test them three times and keep the middle result before you report a change.

What should you do with bulk results?

Bulk results are most useful as a baseline you repeat. Run the same list with the same settings every month, or after every release, and compare the files.

Example monthly baseline of median mobile scores on one URL list, rising from about 60 to 75 after an image fix ships

For SEO work, join the results with clicks from Search Console so the fix order follows traffic. Our post on the SEO website speed test shows how that join works.

Remember that field data covers the previous 28 days (Chrome for Developers). After a fix ships, the lab score changes at once, but the field numbers only settle once the window is full of post-fix visits.

Good habit

Keep the URL list itself under the same date as the results. When a page disappears from next month's file, you'll want to know whether it got removed from the site or just dropped out of the list.

Why is my bulk PageSpeed test failing?

  • Quota errors: too many calls in a short window. Lower the concurrency, add a pause between batches and check the Quotas tab.
  • Timeouts on some URLs: heavy pages can take a long time to test. Retry them alone, and flag any that fail twice for a manual check.
  • Every row has the same field numbers: those pages fell back to origin data. Check the field source column before reading them.
  • Errors on private pages: the test runs from outside your network, so staging sites and pages behind a login can't be reached.
  • Scores jump between runs: normal lab variance. Compare medians across several runs, or rely on the field data.
  • Redirects in the list: the tested URL isn't the one you meant. Replace each redirecting URL with its final destination.

New to speed testing? Our guide on how to check website speed covers single-page checks and how to read the results.

Bulk PageSpeed Test FAQ

Can I test multiple URLs in PageSpeed Insights at once?

Not in the web tool, which takes one URL per run. For many URLs, use the PageSpeed Insights API or a tool that takes a list.

Is a bulk PageSpeed test free?

The Google API can be used without paying, within your project's quota. Tools that run the tests for you usually charge per test or by subscription.

How long does a bulk PageSpeed test take?

Each URL takes seconds because it runs a full page load. Total time depends on the list length, the device count and how many calls run in parallel.

Should I test mobile or desktop in bulk?

Start with mobile, since Google indexes mobile pages first. Add desktop when desktop visitors matter to those pages.

Why do bulk results differ from the PageSpeed Insights website?

Lab scores vary between runs, and tests run at different times. Field data should match if both use the same URL and date.

Sources are linked in the text and were confirmed on the publishers' own pages on Nov 3.

Disclaimer: This article is for general information only, and Google can change the PageSpeed Insights API, its quotas and its metrics at any time. Check Google's documentation before you build on it; Pulldata is not affiliated with Google, and trademarks belong to their owners.

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.