Check page speed
Free, rate-limited Google PageSpeed Insights scores and Core Web Vitals for one URL.
https://api.rankparse.com/v1/tools/page-speedFree (5 per tool per day per IP)TurnstileRuns Google PageSpeed Insights on a URL and returns the performance, accessibility and SEO scores with Core Web Vitals, the same result as the paid Page performance endpoint. Shared fields (tool, tier, quota), the daily allowance and the shared errors are described in Free tools.
Query parameters
urlstringrequiredPage to test. An http or https URL; a bare host is promoted to https://.
strategystringdefault mobilemobile or desktop. Any value other than desktop runs mobile.
Response
urlstringThe normalized URL.
performanceobjectThe PageSpeed result, the same object the paid Page performance endpoint returns in data.
Show propertiesHide properties
performance_scoreinteger | null0 to 100, or null when Google did not return the category.
accessibility_scoreinteger | null0 to 100, or null when Google did not return the category.
seo_scoreinteger | null0 to 100, or null when Google did not return the category.
core_web_vitalsobjectlcp_ms, cls, inp_ms, fcp_ms, ttfb_ms, each a number or null.
crux_databooleanWhether Google had real-user field data for the page.
field_dataobject | nullReal-user Chrome UX Report values (75th percentile over 28 days) as { scope, overall, lcp_ms, inp_ms, cls, fcp_ms, ttfb_ms }, each metric { p75, rating }. scope is url, or origin when the page has too little traffic and Google answered with the whole site's data. null when Google has none. The same object as in Page performance.
strategystringmobile or desktop.
cached_atstringWhen the result was computed, ISO 8601.
Behavior
- Results are shared with the paid endpoint's 24-hour PageSpeed cache, so a page tested recently returns without a new run.
- The free tools have their own daily PageSpeed budget (20,000 runs a day across all visitors), separate from the paid endpoint's caps. When it is used up, the tool answers
429 tools_quota_exceededuntil midnight UTC.
Errors
| HTTP | Code | When |
|---|---|---|
| 400 | invalid_input | A required parameter is missing or invalid. |
| 403 | turnstile_failed | Missing or invalid Turnstile token. |
| 429 | quota_exceeded | Daily allowance for this tool reached. |
| 429 | tools_quota_exceeded | The free tools' shared PageSpeed budget is used up for the day. retry_after gives the seconds until midnight UTC. |
| 503 | psi_unavailable | Google PageSpeed Insights failed. |