DataForSEO OnPage API icon

DataForSEO OnPage API

DataForSEO

Get Lighthouse Audit Results

AI-generated

Summary

Fetch Lighthouse audit results for a page URL through DataForSEO’s asynchronous Lighthouse task endpoint. Configure mobile emulation and optional audit categories, Lighthouse version, and language; the source currently reads the Categories field for both categories and audits, so the Audits field is not used when building the request.

Inputs

  • Page URL (required) — URL of the page to audit.
  • Apply Mobile Emulation? — When true, requests Lighthouse testing with mobile device and screen emulation; defaults to false.
  • Categories of Lighthouse Audits — Optional categories to request: Accessibility, Best Practices, Performance, PWA, and SEO. An empty selection is sent as null.
  • Lighthouse Audits (required) — The UI requires audit entries, and describes an empty list as returning all audits. However, the implementation reads the Categories parameter for the audits request field, so entries configured here are not passed as audits.
  • Lighthouse Version — Optional Lighthouse version; an empty value is sent as null.
  • Lighthouse Language Name — Optional Lighthouse language name; an empty value is sent as null.

Output shape

A single item containing the DataForSEO response JSON for the Lighthouse task.

Posts a task, then polls its JSON results endpoint using the returned task ID. The returned JSON follows the DataForSEO response envelope; the source does not reshape it into separate audit items.

Links

Discussion