---
title: Bulk Website Speed Test API
slug: bulk-website-speed-test
url: https://apyhub.com/martin10291/service/bulk-website-speed-test
provider: Martin Petrov
categories: [Media Kit]
tags: [lighthouse, pagespeed, core-web-vitals, performance-audit, seo-audit, accessibility-audit]
auth: api_key
version: 1.0
service_type: sync
endpoints: 1
atoms: 100
mcp: true
---

# Bulk Website Speed Test API

Website speed test API: send page URLs and get Lighthouse performance, accessibility and SEO scores with Core Web Vitals per page. Free tier, no card.

## Endpoints

| Method | URL | Description | Atoms |
| --- | --- | --- | --- |
| POST | `https://api.eu.apyhub.com/martin10291/bulk-website-speed-test/lighthouse-pagespeed-audit` | What it does Runs a Google Lighthouse test for each URL and returns category scores, lab timings, f… | 100 |

## Endpoint reference

### Lighthouse PageSpeed Checker - Core Web Vitals in Bulk

`POST https://api.eu.apyhub.com/martin10291/bulk-website-speed-test/lighthouse-pagespeed-audit` · 100 atoms · accepts `application/json` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `urls` | body | array of string | yes | Pages to test. A link without a scheme gets https:// added. Max 100. Example: `["https://example.com"]`. |
| `maxUrls` | body | integer | no | Test at most this many URLs from the list. Example: `50`. |
| `strategy` | body | string | no | mobile, desktop, or both (two rows per URL). One of: mobile, desktop, both. Example: `mobile`. |
| `categories` | body | array of string | no | Lighthouse categories to run. Empty = all four. Categories not run come back as null. Example: `["performance","seo"]`. |
| `includeErrorRows` | body | boolean | no | Also return a row for URLs that could not be tested. Example: `false`. |

#### Quickstart

Test how fast and well-built a page is on a mobile phone.

```bash
curl -X POST "https://api.eu.apyhub.com/martin10291/bulk-website-speed-test/lighthouse-pagespeed-audit" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"urls": ["https://apyhub.com"], "strategy": "desktop"}'
```

#### What you'll get back

Returns a JSON object with `count` and an `items` array, one row per URL and strategy. The example below shows 2 of the 3 failing checks.

```json
{
  "count": 1,
  "items": [
    {
      "accessibility": null,
      "bestPractices": null,
      "cls": 0.002,
      "failingAudits": [],
      "fcpMs": 367,
      "fetchTime": "2026-11-25T10:22:03.946Z",
      "fieldData": {
        "clsGoodPct": 69.1,
        "clsP75": 0.19,
        "clsVerdict": "needs-improvement",
        "coreWebVitals": "fail",
        "fcpGoodPct": 81.8,
        "fcpP75Ms": 1569,
        "formFactor": "desktop",
        "inpP75Ms": null,
        "inpVerdict": null,
        "lcpGoodPct": 86.4,
        "lcpP75Ms": 1747,
        "lcpVerdict": "good",
        "periodEnd": "2026-11-23",
        "periodStart": "2026-10-27",
        "scope": "url",
        "source": "Chrome UX Report (real Chrome users, p75, last 28 days)",
        "ttfbGoodPct": 47.5,
        "ttfbP75Ms": 1278
      },
      "fieldNote": null,
      "finalUrl": "https://apyhub.com/",
      "lcpMs": 367,
      "opportunities": [
        {
          "id": "unused-javascript",
          "savingsBytes": 996983,
          "savingsMs": 0,
          "title": "Reduce unused JavaScript"
        }
      ],
      "performance": 79,
      "requests": 38,
      "seo": null,
      "source": "google-psi",
      "speedIndexMs": 1018,
      "strategy": "desktop",
      "tbtMs": 490,
      "totalByteWeight": 1911843,
      "ttiMs": 2788,
      "url": "https://apyhub.com"
    }
  ]
}
```

## About

## What it does
The Bulk Website Speed Test API measures how fast and well-built a web page is. Send one or more page URLs and get back Google Lighthouse scores for performance, accessibility, best practices and SEO. Each page also gets its Core Web Vitals timings.

Send full links in `urls`. Choose `strategy` to test as a `mobile` phone, a `desktop`, or `both`, which returns two rows per page. Use `categories` to run only the checks you need, and `maxUrls` to cap a long list. Each row also lists the checks the page failed and the fixes that would save the most time, with estimated savings in milliseconds.

When Google has enough visitor data for a page, `fieldData` adds real-user Core Web Vitals from the last 28 days. It shows whether the page passes or fails. One test takes about 8 to 60 seconds, so use a client timeout of at least 120 seconds.

SEO agencies use this website speed test API to audit client pages in bulk. Development teams use it to catch slow pages before a release. Site owners use it to track their Core Web Vitals over time.

To see what each site is built with, pair it with the [Bulk Website Tech Stack Lookup API](https://apyhub.com/martin10291/service/bulk-website-tech-stack). For a full one-page report, use the [Website Snapshot Report API](https://apyhub.com/martin10291/service/website-snapshot-report).

## Usage

Base URL: `https://api.eu.apyhub.com` (default region — see
`GET https://apyhub.com/api/public/regions` for the rest).

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/martin10291/service/bulk-website-speed-test
