Google PageSpeed Insights API
Audit web performance, Core Web Vitals (FCP, LCP, CLS, TBT, Speed Index, INP), accessibility, SEO, and modern best practices on mobile or desktop devices powered by Google Lighthouse.
Bearer token ('pd_live_...') generated from Pulldata Developer Settings (e.g. 'Bearer pd_live_...'). The legacy x-api-key header remains supported.
application/json
One public target URL. Provide url, urls, or both.
Additional public URLs to audit in the same job.
Device strategy: 'mobile', 'desktop', or 'both'. Both returns one row for each device.
Number of measurements used for each URL/device report.
Aggregate repeated runs using median, average, best, or worst.
Include compact metrics for every individual run.
Include bounded Lighthouse audit and failed-audit arrays.
Maximum detailed audit records per report.
Include prioritized optimization opportunities and estimated savings.
Maximum optimization opportunities per report.
Only return opportunities meeting this estimated time saving.
Maximum URL/device audits processed concurrently.
Lighthouse audit categories to evaluate. Options: 'performance', 'accessibility', 'best-practices', 'seo'.
Language / locale code for audit recommendations and localized advice (e.g. 'en', 'es', 'fr', 'de').
Maximum analysis timeout in milliseconds for running Lighthouse audits.
Indicates whether the PageSpeed audit completed successfully.
Unique identifier for the audit job.
Execution status ('DONE', 'RUNNING', 'FAILED').
Whether the audit run is complete.
USD deducted for returned URL/device reports; repeated measurements do not add rows.
Number of URL/device reports returned.
First report, retained for single-URL backwards compatibility.
All URL/device reports.
Target URL analyzed.
Mobile or desktop device strategy.
Aggregated Lighthouse performance score from 0 to 100.
Aggregated lab LCP in milliseconds.
Minimum, maximum, and spread across repeated runs.
Bounded Lighthouse audit details.
Audits scoring below 0.9.
Prioritized optimization opportunities with estimated time and byte savings.
Polling endpoint URL if the job is handled asynchronously.
Error message if the audit failed, otherwise null.