curl "https://scrape.toolkitapi.io/v1/scrape/pagespeed?url=https://toolkitapi.io" \
  -H "X-API-Key: YOUR_KEY"
import httpx

resp = httpx.get(
    "https://scrape.toolkitapi.io/v1/scrape/pagespeed?url=https://toolkitapi.io",
)
print(resp.json())
const resp = await fetch("https://scrape.toolkitapi.io/v1/scrape/pagespeed?url=https://toolkitapi.io", {
});
const data = await resp.json();
console.log(data);
# See curl example
Response 200 OK
{
  "url": "https://toolkitapi.io",
  "metrics": {}
}

Try It Live

Live Demo

Description

Retrieve performance metrics and timing breakdowns for a page

How to Use

1

1. Call with the target URL. 2. Review latency and performance metrics in the response.

About This Tool

Returns timing and performance diagnostics useful for SEO and UX optimization.

Start using Page Speed Metrics now

Get your free API key and make your first request in under a minute.