{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources. Success responses include a `source` block to cite. Apizie Finance endpoints (SEC EDGAR, FRED, ECB, U.S. Treasury, GLEIF, World Bank, official:*) need a Finance plan."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/analytics:googleapis-pagespeedonline/pagespeedonline-pagespeedapi-runpagespeed":{"get":{"operationId":"analytics_googleapis_pagespeedonline_pagespeedonline_pagespeedapi_runpagespeed","summary":"Runs PageSpeed analysis on the page at the specified URL, and returns PageSpeed scores, a list of…","description":"GET /pagespeedonline/v5/runPagespeed","tags":["analytics"],"x-apizie-access":"read","parameters":[{"name":"captchaToken","in":"query","required":false,"description":"The captcha token passed when filling out a captcha.","schema":{"type":"string","description":"The captcha token passed when filling out a captcha."}},{"name":"category","in":"query","required":false,"description":"A Lighthouse category to run; if none are given, only Performance category will be run","schema":{"type":"string","enum":["CATEGORY_UNSPECIFIED","ACCESSIBILITY","BEST_PRACTICES","PERFORMANCE","PWA","SEO","AGENTIC_BROWSING"],"description":"A Lighthouse category to run; if none are given, only Performance category will be run"}},{"name":"locale","in":"query","required":false,"description":"The locale used to localize formatted results","schema":{"type":"string","description":"The locale used to localize formatted results"}},{"name":"strategy","in":"query","required":false,"description":"The analysis strategy (desktop or mobile) to use, and desktop is the default","schema":{"type":"string","enum":["STRATEGY_UNSPECIFIED","DESKTOP","MOBILE"],"description":"The analysis strategy (desktop or mobile) to use, and desktop is the default"}},{"name":"url","in":"query","required":true,"description":"Required. The URL to fetch and analyze","schema":{"type":"string","description":"Required. The URL to fetch and analyze"}},{"name":"utm_campaign","in":"query","required":false,"description":"Campaign name for analytics.","schema":{"type":"string","description":"Campaign name for analytics."}},{"name":"utm_source","in":"query","required":false,"description":"Campaign source for analytics.","schema":{"type":"string","description":"Campaign source for analytics."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"official:company"},"data":{},"source":{"type":"object","description":"Where the data came from. Cite it.","properties":{"official":{"type":"boolean"},"provider":{"type":"string","example":"SEC EDGAR"},"publisher":{"type":"string","example":"U.S. Securities and Exchange Commission"},"url":{"type":"string","format":"uri","description":"A page a person can open to check the value"},"apiUrl":{"type":"string","format":"uri","description":"The official API URL that was called (credentials removed)"},"retrievedAt":{"type":"string","format":"date-time"},"license":{"type":"string"},"licenseUrl":{"type":"string","format":"uri"},"attribution":{"type":"string"},"notice":{"type":"string"}}},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}