Google PageSpeed Authentication
Google PageSpeed secures its APIs with apiKey and oauth2 across 2 declared security schemes, as derived from its OpenAPI definitions.
Security Schemes
Source
Authentication Profile
generated: '2026-08-13'
method: searched
source: openapi/_superseded/google-pagespeed-analysis-api-openapi.yml
docs: https://developers.google.com/speed/docs/insights/v5/get-started#APIKey
discovery: https://pagespeedonline.googleapis.com/$discovery/rest?version=v5
summary:
types:
- apiKey
- oauth2
api_key_in:
- query
oauth2_flows: []
primary: apiKey
schemes:
- name: apiKey
type: apiKey
in: query
parameter: key
required: recommended
sources:
- openapi/_superseded/google-pagespeed-analysis-api-openapi.yml
- https://developers.google.com/speed/docs/insights/v5/get-started#APIKey
docs_statement: >-
"The API can be used with or without an API key, although a key is recommended for
frequent, automated queries." ... "After you have an API key, your application can
append the query parameter key=yourAPIKey to all request URLs. The API key is safe
for embedding in URLs; it doesn't need any encoding."
probed_reality: >-
Documented as optional, effectively mandatory. An unkeyed GET to
https://www.googleapis.com/pagespeedonline/v5/runPagespeed on 2026-08-13 returned
HTTP 429 RESOURCE_EXHAUSTED with quota_limit_value "0" — the shared anonymous pool is
exhausted. Agents must treat the key as required.
key_issuance: https://console.cloud.google.com/apis/credentials
key_restrictions: >-
Cloud Console API keys can be restricted by referrer/IP and by API; a key restricted
away from pagespeedonline.googleapis.com returns 400 API_KEY_INVALID.
- name: oauth2
type: oauth2
scheme: bearer
in: header
parameter: Authorization
alternative_parameter: access_token (query)
scopes: [openid]
sources:
- https://pagespeedonline.googleapis.com/$discovery/rest?version=v5
note: >-
Declared in Google's Discovery document with the single identity scope `openid`. It
is not the documented path for this API and grants no additional data access; see
scopes/google-pagespeed-scopes.yml.
transport_security:
https_required: true
tls_version_observed: TLSv1.3
failure_modes:
- {status: 400, reason: API_KEY_INVALID, meaning: key missing from the project, malformed, or restricted}
- {status: 429, reason: RATE_LIMIT_EXCEEDED, meaning: project or anonymous quota exhausted}
maintainers:
- FN: Kin Lane
email: kin@apievangelist.com
Work with this as data
Every security artifact here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for security posture
4 MCP tools reach this
find_securityBrowse and filter every security artifact in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/security/google-pagespeed-authentication"
curl "https://apis.io/api/v1/security?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.