Skip to content
Gridlode
LiveWeb pages and crawling3 credits / request

PageSpeed & Core Web Vitals Test API

Load a page in real headless Chrome (mobile or desktop emulation, as in Lighthouse) and measure it: TTFB, First Contentful Paint, Largest Contentful Paint (with the LCP element), Cumulative Layout Shift, Total Blocking Time from long tasks, DOMContentLoaded and load time. Also total transfer size and requests by type, the largest resources, third-party domains, render-blocking CSS/JS, image hints (oversized, legacy formats, not lazy-loaded, no dimensions), compression, caching and HTTP/2. Returns a 0-100 Lighthouse-style score, an A-F grade and graded findings with fixes. Respects robots.txt by default. Failed loads are not charged.

GEThttps://api.gridlode.com/v1/url/pagespeed

Try it live

Try . Free, no account needed.

Parameters

NameTypeDescription
urlrequiredstringPublic http(s) URL of the page to test.
devicestringEmulated device, as in Lighthouse: mobile (412x823 viewport, touch, 4x CPU slowdown) or desktop (1350x940). Network is not throttled.
Default: "mobile"
One of: mobile, desktop
wait_msintegerKeep measuring this long after the page settles, to catch late paints and layout shifts.
Default: 1500
respect_robotsbooleanRefuse URLs disallowed by the site's robots.txt.
Default: true
max_ageintegerAccept a cached answer up to this many seconds old, billed at 50%. Default 0 (always fresh).

Response fields

    Code

    curl "https://api.gridlode.com/v1/url/pagespeed?url=https%3A%2F%2Fexample.com%2F&device=desktop&wait_ms=500" \
      -H "Authorization: Bearer $GRIDLODE_KEY"
    3 credits per request
    One credit is $0.001 on the smallest pack, from $0.0003 on enterprise plans.
    Half price for cached data
    Cached for up to 1 h. Pass max_age to use it.
    Failed requests are free
    Blocks, timeouts and target errors never cost credits.

    Market reference: Google PSI API free (rate-limited) · DebugBear/Calibre $50-500/mo · GTmetrix API ~$0.01-0.03/test.

    Questions

    How much does the PageSpeed & Core Web Vitals Test API cost?

    3 credits per request. One credit costs $0.001 on the smallest pack and as little as $0.0003 on enterprise plans. Cached answers cost half and failed calls are free.

    Web pages and crawling
    All 13 in Web pages and crawling · 13 live
    Live

    URL to Markdown

    The main content of a web page as clean Markdown (boilerplate, navigation and ads removed) with title, description, author, publish date and language

    1 credit / requestTry freeDocs
    Live

    Website Crawler (Markdown for RAG)

    Crawl a website from a start URL (and optionally its XML sitemap) and get every page back as clean Markdown with title, description, language, word…

    1 credit / pageDocs
    Live

    Screenshot

    A screenshot of any public web page, rendered in real Chrome with JavaScript

    2 credits / requestTry freeDocs
    Live

    Page HTML

    The raw HTML of any public web page with final URL, status code, redirect chain and key headers

    1 credit / requestTry freeDocs
    Live

    Broken Link Checker

    Crawl a website and check every internal and external link for 404s, server errors, timeouts and redirect chains

    1 credit / pageTry freeDocs