Skip to the content

Scraper API

Web

web.speedAvailable

Page speed and weight

Load timings, Core Web Vitals, page weight by file type, the largest files, a 0 to 100 score and plain findings such as "3.1 MB of JavaScript".

Give it the address of a public web page, a phone or a desktop, and how many times to load it (one to three).

1 unit a run, for runs that return data. Runs that fail cost nothing. How units work

Counted
1 unit a run
Inputs
3, 1 required
Record
35 fields
A run takes
up to 5 minutes
Records kept
7 days
Measured
its success, on the status page

POST/v1/scrapers/web.speed/runs

{
"input": {
"url": "https://www.w3.org/"
}
}

sent, and answered

a record of the run35 fields

{
url: "https://www.w3.org/"
final_url: "https://www.w3.org/"
status: 200
device: "mobile"
runs_measured: 1
run_scores: [ 96 ]
score: 96
metric_scores: { "fcp": 85, "lcp": 91, "tbt": 100, "cls": 100 }
ttfb_ms: 889
… 26 more fields

ok1 unit a run

A record this scraper returned for this input. The first 9 of its 35 fields are set down here; the whole record is below.

w3.org
The page Page speed and weight reads, as a browser shows it
The page this scraper reads, photographed in a browser on 23 November 2026. It belongs to its publisher, who has no part in this service.

What it is used for

Find prospects with a slow site
Run a list of company websites and sort by score or lcp_ms. A business whose page takes six seconds to show on a phone has a problem you can name in the first line of an email.
Open with the evidence
findings says what is wrong in plain words with the number behind it, such as an image-heavy page or megabytes of JavaScript, and largest_resources names the files responsible.
Track a site after a change
Measure the same page on a schedule with runs set to 3 and keep score, total_bytes and bytes_by_type, to see whether a redesign or a new tag made it faster or heavier.

What you send

The address of a public web page, a phone or a desktop, and how many times to load it (one to three). These are its 3 inputs, as its schema has them.

urlstring Required
The page's address: http or https, on a public host name.
devicestring Optional
mobile: a mid-range phone on a slow 4G connection (CPU four times slower, 1.47 Mbit/s down, 562 ms added to each request). desktop: a desktop window, neither slowed.Default mobile
runsinteger Optional
How many times the page is loaded, each time with nothing cached. With more than one, the record is the run with the median score, which is steadier.Default 1

A request, ready to send

It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.

# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/web.speed/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"url":"https://www.w3.org/"}}'

# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
from enrichednow import EnrichedNow

client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY

# Start a run, wait for it to end, and get its records
result = client.scrape("web.speed", {"url": "https://www.w3.org/"})
print(result.run.id, result.run.status, result.run.record_count)

# Read its records: pages are fetched as you go
for record in result.records:
    print(record)

Install it with pip install enrichednow, then save as run.py and run python3 run.py

import EnrichedNow from "enrichednow";

const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY

// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("web.speed", { url: "https://www.w3.org/" });
console.log(run.id, run.status, run.record_count);

// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);

Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

package main

import (
	"context"
	"fmt"
	"log"
	"time"

	enrichednow "github.com/enrichednow/enrichednow-go"
)

func main() {
	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
	if err != nil {
		log.Fatal(err)
	}
	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
	defer cancel()

	// Start a run, wait for it to end, and get its records
	run, records, err := client.Scrape(ctx, "web.speed", map[string]any{"url": "https://www.w3.org/"})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(run.ID, run.Status, run.RecordCount)

	// Read its records: pages are fetched as you go
	for records.Next() {
		fmt.Println(string(records.Current()))
	}
	if err := records.Err(); err != nil {
		log.Fatal(err)
	}
}

Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;

public class Run {
    public static void main(String[] args) {
        EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY

        // Start a run, wait for it to end, and get its records
        ScrapeResult result = client.scrape("web.speed", Map.of("url", "https://www.w3.org/"));
        System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());

        // Read its records: pages are fetched as you go
        for (Map<String, Object> record : result.records()) {
            System.out.println(record);
        }
    }
}

Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

enrichednow run web.speed --input url=https://www.w3.org/

Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

What comes back

Load timings, Core Web Vitals, page weight by file type, the largest files, a 0 to 100 score and plain findings such as "3.1 MB of JavaScript". A record has 35 fields. One we could not read is null, never an empty string or a zero.

A record web.speed returned
{
  "url": "https://www.w3.org/",
  "final_url": "https://www.w3.org/",
  "status": 200,
  "device": "mobile",
  "runs_measured": 1,
  "run_scores": [
    96
  ],
  "score": 96,
  "metric_scores": {
    "fcp": 85,
    "lcp": 91,
    "tbt": 100,
    "cls": 100
  },
  "ttfb_ms": 889,
  "fcp_ms": 1996,
  "lcp_ms": 2420,
  "cls": 0.0237,
  "tbt_ms": 11,
  "dom_content_loaded_ms": 1993,
  "load_ms": 5104,
  "lcp_element": "img",
  "lcp_resource_url": "https://www.w3.org/cms-uploads/Hero-illustrations/groups-2025.svg",
  "total_bytes": 536289,
  "bytes_by_type": {
    "html": 9613,
    "js": 22092,
    "css": 54448,
    "image": 415204,
    "font": 34566,
    "other": 366
  },
  "request_count": 23,
  "failed_requests": 0,
  "unfinished_requests": 0,
  "third_party_domains": 0,
  "largest_resources": [
    {
      "url": "https://www.w3.org/cms-uploads/_920xAUTO_crop_center-center_none/ryan-quintal-US9Tc9pKNBU-unsplash.jpg",
      "bytes": 110649,
      "type": "image"
    },
    {
      "url": "https://www.w3.org/cms-uploads/_920xAUTO_crop_center-center_none/marvin-meyer-SYTO3xs06fU-unsplash.jpg",
      "bytes": 100458,
      "type": "image"
    }
  ],
  "image_count": 13,
  "old_format_images": 5,
  "old_format_image_bytes": 341338,
  "oversized_images": 1,
  "http_version": "HTTP/2",
  "html_compressed": true,
  "html_encoding": "br",
  "finished": true,
  "findings": [
    "First paint (FCP) 2.0 s: slower than the 1.8 s target",
    "5 images (341 kB) in JPEG, PNG or GIF rather than WebP or AVIF",
    "1 images stored much larger than they are shown"
  ],
  "render_ms": 1,
  "fetched_at": "2026-11-24T18:00:35.588058Z"
}

The scraper returned this record for the input above, reading a saved copy of the page, not the live site.

Values shortened for this page: largest_resources: 5 items, the first 2 shown.

The fields of a record

urlstring
The address that was asked for.
final_urlstring
The address of the page that was measured, after redirects.
statusinteger
The HTTP status of the page's own document (a 404 page is still a page, and is measured).
devicestring
The device simulated. mobile: a 412 by 823 phone window, CPU four times slower, 1.47 Mbit/s down, 0.6 Mbit/s up and 562 ms added to each request. desktop: a 1350 by 940 window, neither slowed.
runs_measuredinteger
How many loads were measured. With more than one, this record is the one with the median score.
run_scoreslist of integers
The score of each load, in the order they were made; null for a load that could not be scored.
scoreinteger or null
A 0 to 100 speed score (90 or more is good, under 50 is poor). It follows the method Lighthouse publishes, log-normal curves over FCP, LCP, TBT and CLS with Lighthouse's weights scaled to leave out Speed Index, but it is our own measurement from a single location and will not equal a score from another tool. For a page that did not finish (finished false) it rests on what had happened by then and may flatter the page. Null when one of the four was not measured.
metric_scoresobject
Each of the four metrics' own 0 to 100 score.Holds fcp, lcp, tbt, cls.
ttfb_msinteger or null
Time to First Byte: milliseconds from the start of the navigation to the first byte of the document, redirects included.
fcp_msinteger or null
First Contentful Paint: milliseconds until the first text or image is shown. Null when nothing was painted.
lcp_msinteger or null
Largest Contentful Paint: milliseconds until the largest text block or image in the window is shown. Null when the browser reported none.
clsnumber or null
Cumulative Layout Shift: how much the content jumps while loading, the worst session window. Under 0.1 is good, over 0.25 is poor.
tbt_msinteger or null
Total Blocking Time: milliseconds after First Contentful Paint during which long tasks kept the page from responding (each task's time past 50 ms).
dom_content_loaded_msinteger or null
Milliseconds until the DOMContentLoaded event finished. Null when it did not happen in time.
load_msinteger or null
Milliseconds until the load event finished. Null when the page had not finished loading when the measurement ended.
lcp_elementstring or null
The HTML tag of the largest element, e.g. img or h1. Null when the browser reported none.
lcp_resource_urlstring or null
The image the largest element shows. Null when it is text.
total_bytesinteger
Bytes transferred for the whole page, headers included, compressed as they were sent.
bytes_by_typeobject
The same bytes by kind of file.Holds html, js, css, image, font, other.
request_countinteger
Requests the page and its frames made.
failed_requestsinteger
Requests that failed.
unfinished_requestsinteger
Requests still running when the measurement ended; their bytes so far are counted.
third_party_domainsinteger
How many domains other than the page's own it loaded something from. A company's own second domain, such as a separate CDN address, counts as another.
largest_resourceslist of objects
The five largest files the page loaded, largest first.Each holds url, bytes, type.
image_countinteger
Image requests the page made.
old_format_imagesinteger
Images of 10 kB or more sent as JPEG, PNG, GIF, BMP or TIFF rather than a modern format such as WebP or AVIF.
old_format_image_bytesinteger
The bytes of those images.
oversized_imagesinteger
Images at least 200 pixels wide stored more than 1.5 times wider than they are shown.
http_versionstring or null
The HTTP version the document came over: HTTP/1.1 or HTTP/2. Our browser does not use HTTP/3, so a site that offers it shows as HTTP/2.
html_compressedboolean or null
True when the document was sent compressed (gzip, Brotli, zstd or deflate). Null when its response was not seen.
html_encodingstring or null
The document's content encoding, e.g. br or gzip. Null when it was sent without one.
finishedboolean
False when the page had not finished loading in the time, or reached a limit on requests or bytes: its weight is then at least what is shown.
findingslist of strings
Plain sentences on what is slow or heavy, each with its number, e.g. LCP 5.8 s: slower than 4 s or 3.1 MB of JavaScript. Empty when nothing stands out.
render_msinteger
Milliseconds the measurement took, all runs together.
fetched_atdatetime
When the measurement ended, in UTC.

The whole schema, in its reference

Units and limits

Counted per request
Billed per request: a run that returns data costs 1 unit, however many records it returns.
A miss costs nothing
A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
What bounds a run
A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.

What it does not do

  • It is a lab measurement of a load from a single location: real visitors' numbers depend on where they are and on their device, and a score from another tool will differ.
  • A page gets 45 seconds a load. One that has not finished by then returns what was measured, with finished false and its weight as a minimum.
  • A page that answers with a CAPTCHA or refuses the visit ends the run as failed and costs nothing.

The bounds its schema sets

device
mobile, desktop; mobile unless you say otherwise
runs
1 to 3; 1 unless you say otherwise

Scraper API pricing: how units workThe five ways a run ends

Questions

What does Page speed and weight return?

Load timings, Core Web Vitals, page weight by file type, the largest files, a 0 to 100 score and plain findings such as "3.1 MB of JavaScript". A record has 35 fields, among them url, final_url, status, device, runs_measured and run_scores. A value that could not be read is null, never an empty string or a zero.

What do I send?

The address of a public web page, a phone or a desktop, and how many times to load it (one to three). The input url is required. Optional: device and runs.

How is it counted?

Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.

How much does one run return?

Its schema sets these bounds: device mobile, desktop (mobile unless you say otherwise); runs 1 to 3 (1 unless you say otherwise). A run may take up to 5 minutes.

What does it not do?

It is a lab measurement of a load from a single location: real visitors' numbers depend on where they are and on their device, and a score from another tool will differ. A page gets 45 seconds a load. One that has not finished by then returns what was measured, with finished false and its weight as a minimum. A page that answers with a CAPTCHA or refuses the visit ends the run as failed and costs nothing.

How long are the records kept, and in what format do they come?

Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.

Can an AI assistant call it?

Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id web.speed and the same input. It costs what the same API call costs.

Used in this playbook

A playbook runs Page speed and weight as one of its steps and hands back the finished list. Its runs of this scraper cost what they cost here, and the playbook adds nothing.

  • Local business

    Local Business Leads

    Businesses of a kind in your places, with their phone and website, and an email where their own site publishes one.

Web

Public web pages: as the server sends them, after their scripts ran, as Markdown or as a picture, and what is in them. A domain's registration and its DNS records.

  • Web page

    web.fetch

    The address of a public web page. The status, headers and body its server sent.

  • The address of a public web page. The page as clean Markdown, with its title, description, links and metadata.

  • PDF document

    web.document

    The address of a public PDF, how many of its pages to read (up to 500), and whether to read scanned pages with OCR. Each page's text in reading order, the whole document as Markdown, its tables as rows and columns with their page, and its title, author and dates.

  • The address of an RSS, Atom or JSON feed. Each entry of the feed: its title, link, summary and content as plain text, author, categories, dates, image and attached files.

  • Sitemap

    web.sitemap

    A sitemap's address, or a website's address to find its sitemap from robots.txt. Every address the sitemap lists, with the last-modified date, change frequency, priority, images, language versions and news details it states.

  • The address of a public web page that builds its content with JavaScript. The page's HTML after a browser has loaded it and run its scripts.

  • The address of a public web page, and your own CSS or XPath rules, each with a name. One record with what each rule selected, under its name: text, an attribute, HTML, a list, or an object of fields.

  • The address of a public news or blog article. Its title, authors, dates, section and tags, the body as text and as Markdown, the lead image, the site and the language.

  • The address of a public web page. The technologies it reveals, each with its category, version where shown, and the evidence it was recognised by.

  • Product page

    web.product

    The address of a product's page in any online shop. The product the page declares: name, brand, description, category, price and price range, list price, currency, availability, condition, rating and reviews, images, SKU, GTIN and part number, and each offer or variant.

  • Web page screenshot

    web.screenshot

    The address of a public web page, and what to take: the window, the whole page or one element, on a desktop, tablet or phone. A PNG or JPEG of the page, to download from the address in the record, with its size, format and checksum.

  • A domain name. Its registrar, creation, update and expiry dates, statuses, name servers, DNSSEC, and the registrant where the registry publishes one.

  • A host name. Its DNS records: addresses, aliases, mail servers, name servers, TXT, SOA, CAA and, when asked, SRV.

  • Website contacts

    web.contacts

    A company's domain. The contact details its own website publishes: e-mail addresses, phone numbers, social profiles and postal address.

  • A start page on a public website. The site's pages as clean Markdown, one record for each page.

Web on the line-up

Where
Worldwide

Run it on an input of your own.

Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.