Geekflare API

Google Lighthouse API

Automate website performance auditing using the Google Lighthouse.Retrieve Core Web Vitals, Accessibility scores, and SEO metrics to monitor site health and improve search rankings.

99.9% UptimeHeadless ChromeAnti-Bot Bypass
Response
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
"timestamp": 1768929689876,
"apiStatus": "success",
"apiCode": 200,
"meta": {
"url": "https://geekflare.com/ai/",
"device": "desktop",
"followRedirect": false,
"test": {
"id": "4975d22f-8a9c-42c3-a5a9-4d9b7072f5ab"
}
},
"data": "https://cdn.geekflare.com/tests/lighthouse/32pFjXVUY06VIAUw.json"
}
Trusted by 10,000+ developers

Ready-to-use code snippets

import requests

url = "https://api.geekflare.com/lighthouse"
payload = {"url": "https://example.com", "device": "desktop"}
headers = {
    "x-api-key": "<api-key>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)
print(response.text)
OpenAPI 3.0Type SafeSSL Encrypted

Why Geekflare Lighthouse API

Core Web Vitals

Get field data for LCP, CLS, and INP to ensure you pass Google's ranking signals.

Multi-Device Simulation

Run audits on Mobile or Desktop viewports.

Comprehensive Audits

Run checks across Performance, Accessibility, Best Practices, SEO, and PWA categories.

Multi-Format Reporting

Get structured JSON to integrate metrics into your applications, or generate a ready-to-view HTML report.

No Infra Headaches

Running Lighthouse requires managing headless browsers and heavy server resources.

Customizable Audit Scope

Check specific categories or individual audits to get precise data without parsing the full report.

Simple, transparent pricing

Free

$0/mo

500 Credits/mo
Audit ~10 pages
1 Request per second

Starter

$9/mo

5K Credits/mo
Audit ~500 pages
5 Requests per second

Growth

Most Popular

$49/mo

100K Credits/mo
Audit ~10K pages
25 Requests per second

Business

$249/mo

1M Credits/mo
Audit ~100K pages
50 Requests per second

Build more with Geekflare

Check Site Loadtime

Get a quick TTFB and load time check without the full Lighthouse overhead.

Check Broken Links

Ensure the pages you are auditing don't have dead links hurting your SEO.

Take Screenshots

Capture high-quality PNG, JPG, or WebP screenshots of any website programmatically.

Extract Metadata

Extract title, description, images, Schema.org and Open Graph metadata from any URL.

Check URL Redirects

Trace the full path of URL redirects and analyze HTTP status codes.

Frequently Asked Questions

Running it in Chrome is manual and depends on your local computer's speed and internet. Our API runs it on cloud servers, allowing you to automate thousands of checks with comparable environments.

Yes. You can specify the device parameter to switch between Mobile and Desktop (default) emulation to see how scores differ.

Because Lighthouse audits are resource-intensive tasks, they consume 10 credits per request.

Scores can vary based on network conditions and server load at the exact moment of testing.

Ready to audit your website?

Join thousands of site owners using Geekflare API to automate Lighthouse audits.