# DataForSEO OnPage Lighthouse Audit API

> Returns real-time Google Lighthouse audit data and web performance metrics for target web pages. Helps assess on-page speed, accessibility, best practices, and search optimization standards.

Source: https://www.sandbase.ai/apis/dataforseo/v3/on_page/lighthouse/live/json
API reference: https://www.sandbase.ai/apis/dataforseo/v3/on_page/lighthouse/live/json/docs

## Facts

- Provider: DataForSEO
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/dataforseo/v3/on_page/lighthouse/live/json`
- Price: $0.005 per call
- Free allowance: 100 calls per organization per UTC day, shared across eligible APIs
- Capabilities: onpage, performance, lighthouse
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/dataforseo/v3/on_page/lighthouse/live/json` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

## FAQ

### How do I use the DataForSEO OnPage Lighthouse Audit API?

Send a POST request to https://api.sandbase.ai/v1/api/dataforseo/v3/on_page/lighthouse/live/json with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the DataForSEO OnPage Lighthouse Audit API cost?

$0.005 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

### What parameters does the DataForSEO OnPage Lighthouse Audit API accept?

DataForSEO OnPage Lighthouse Audit takes no input parameters; send an empty JSON body.

### What does the DataForSEO OnPage Lighthouse Audit API return?

A JSON response returned in the same HTTP request (synchronous).

### Do I need a DataForSEO developer account or API key?

No. DataForSEO OnPage Lighthouse Audit runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for DataForSEO API access separately.

## README

### DataForSEO OnPage Lighthouse Audit API

Runs Google Lighthouse audits on web pages and returns detailed diagnostic reports. Pass target `url` values to evaluate on-page performance, SEO, and accessibility metrics.

#### Use cases

- Audit website performance and Core Web Vitals on target pages.
- Evaluate technical SEO, accessibility, and best practice compliance.
- Diagnose on-page load bottlenecks and rendering issues.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/on_page/lighthouse/live/json" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.python.org/"}'
```

#### Parameters

The JSON body is forwarded to the upstream endpoint (one task per call). Fields used above:

| Name | Description |
|---|---|
| `url` | Page URL. |

#### Pricing

Flat price per call. Failed calls are not charged.

#### Related APIs

- [DataForSEO Backlinks Anchors](/model/dataforseo/v3/backlinks/anchors/live): Returns anchor text distribution metrics for backlinks pointing to a target website or page.
- [DataForSEO Backlinks List](/model/dataforseo/v3/backlinks/backlinks/live): Returns a list of external backlinks pointing to a specified target domain or webpage.
- [DataForSEO Backlinks Bulk Ranks](/model/dataforseo/v3/backlinks/bulk_ranks/live): Returns rank metrics for multiple domains or pages in bulk.
