Page Speed Analyzer API

Analyze website loading performance with real browser measurements. Get load times, resource counts, and performance metrics.

API Endpoint

POST /v1/pagespeed

Parameters

Name Type Required Description
urlstringYesURL to analyze performance for
devicestringNoDevice: desktop or mobile (default: desktop)

Quick Example

curl -X POST "https://api.toolcenter.dev/v1/pagespeed" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com", "device": "mobile"}'

Features

  • Real browser performance measurement
  • Load time and DOM metrics
  • Resource count and size analysis
  • Performance scoring
  • Mobile and desktop testing

Use Cases

Monitor website performance over time

Compare performance across pages

Audit client sites before optimization

Automate performance testing in CI/CD

Start Using Page Speed Analyzer API for Free

500 free API calls per month. No credit card required.

Get Started Free