Skip to main content

audit speed

Usage

seo-ops audit speed [--url=<url>] [--path=<path>] [--format=table|json|csv] [--output=<file>] [--api-key=<key>]

Run PageSpeed analysis via Google PageSpeed Insights API v5.

Examples

# Analyze with explicit URL
seo-ops audit speed --url=https://example.com

# Auto-detect URL from WordPress path
seo-ops audit speed --path=/var/www/html

# API key can be passed directly or set in config
seo-ops audit speed --url=https://example.com --api-key=YOUR_KEY

# JSON output for further analysis
seo-ops audit speed --url=https://example.com --format=json

# CSV output
seo-ops audit speed --url=https://example.com --format=csv

Reports

The speed analyzer returns:

  • Performance Score (0-100)
  • Accessibility Score (0-100)
  • Best Practices Score (0-100)
  • SEO Score (0-100)
  • Core Web Vitals: FCP, LCP, TBT, CLS, SI, TTI
  • List of optimization opportunities
  • List of diagnostics

API Key

Get a free API key from Google PageSpeed Insights. Store it in config:

seo-ops config set pagespeed_api_key YOUR_KEY