Service URL: https://pagespeed.330hosting.com
For comprehensive documentation with code examples, see the documentation files in the repository:
Note: Documentation files are available in the source repository.
GET /api?url=https://example.com
GET /api?url={URL}&strategy={mobile|desktop}&format={standard|ai}
GET /api?url={URL}&scan_all=true
GET /api?url={URL}&format=ai
# Basic scan curl "https://pagespeed.330hosting.com/api?url=https://example.com" # Desktop scan with AI format curl "https://pagespeed.330hosting.com/api?url=https://example.com&strategy=desktop&format=ai" # Scan all pages curl "https://pagespeed.330hosting.com/api?url=https://example.com&scan_all=true"
A working demo script is available: demo_pagespeed_api.py
# Run the demo script python demo_pagespeed_api.py # Or scan a specific URL python demo_pagespeed_api.py https://example.com
url (required) - The URL to scanstrategy (optional) - mobile or desktop (default: mobile)categories (optional) - Comma-separated: performance,accessibility,best-practices,SEOformat (optional) - standard or ai (default: standard)scan_all (optional) - true to scan all pages on the website