Skip to content
Maua.Culturewire

GTmetrix

Web speed and performance tests with reports

E-commerceCatalog1 tool · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • API keySecretRequired

    Where to find them

    1. Sign in at gtmetrix.com (an account is required; the free plan includes some API credits).
    2. Open gtmetrix.com/api and click “Generate API Key” (it is also under “Account” → “API”).
    3. Copy the key. Each test uses API credits; checking the account status does not.

    Get credentials (opens in a new tab)

Tools (1)

  • GTmetrix API requestGTMETRIX_SEND_REQUEST

    Authenticated call to the GTmetrix API (https://gtmetrix.com/api/2.0). Any endpoint of the API is allowed. Examples: GET /status (credits), GET /locations, GET /browsers, POST /tests {"data": {"type": "test", "attributes": {"url": "https://…"}}} (uses credits; add the header Content-Type: application/vnd.api+json), GET /tests/{id} (status and report link), GET /reports/{id}.

    Required scopes

    No scopes required

    Input

    GTmetrix API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.