Turbometrics Changes API

Detected and reported changes, diagnoses and the WordPress inventory.

GitHub OpenAPI

Operations 4

GET /changes List changes #
POST /changes Report changes #
POST /inventory Report WordPress inventory #
GET /attributions List diagnoses #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/turbometrics-io:turbometrics-io-changes-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

turbometrics-io-changes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: turbometrics Changes API
  version: 1.0.0
  description: REST API for programmatic access to scans, domains, alerts, live data (RUM) and changes. Authentication works via bearer tokens, which you manage under Account → API & apps. The API always responds with JSON.
  contact:
    name: turbometrics
    url: https://turbometrics.io
servers:
- url: https://turbometrics.io/api/v1
security:
- bearerAuth: []
tags:
- name: Changes
  description: Detected and reported changes, diagnoses and the WordPress inventory.
  x-key: changes
paths:
  /changes:
    get:
      operationId: listChanges
      summary: List changes
      description: 'Returns the detected and reported changes of one website (plugins, theme, WordPress and PHP versions, third-party scripts, CDN, server, deploys), newest first. All times are ISO 8601 in UTC. `precision` is `exact`, `day` or `between_scans` (`window_start` then marks the start of the window).


        A switch that the very next scan reverses within 72 hours is usually a detection artifact; both entries are left out unless you set `include_flaps=1`.'
      tags:
      - Changes
      x-rate-limit: Counts toward the daily request limit of your plan.
      parameters:
      - $ref: '#/components/parameters/host'
      - name: since
        in: query
        description: 'Only changes from this time on, ISO 8601; without an offset, UTC is assumed (default: the last 30 days; never earlier than your plan''s history period).'
        schema:
          type: string
          format: date-time
      - name: kind
        in: query
        description: Only one kind of change, e.g. `deploy` or `plugin_updated`.
        schema:
          type: string
          enum:
          - plugin_updated
          - plugin_added
          - plugin_removed
          - plugin_activated
          - plugin_deactivated
          - theme_updated
          - theme_switched
          - wordpress_updated
          - php_changed
          - third_party_added
          - third_party_removed
          - assets_changed
          - server_changed
          - cache_config_changed
          - deploy
          - custom
          - platform_updated
          - resource_broken
          - lcp_image_changed
      - name: limit
        in: query
        description: '1 to 200 (default: 100).'
        schema:
          type: integer
          minimum: 1
          maximum: 200
          default: 100
      - name: include_flaps
        in: query
        description: '`1` or `true` also returns switches that the next scan reversed again (default: hidden).'
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: Changes, newest first.
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Change'
              example:
                data:
                - id: 4711
                  host: example.com
                  kind: deploy
                  component: null
                  from: null
                  to: null
                  occurred_at: '2026-11-12T09:30:00+00:00'
                  window_start: null
                  precision: exact
                  sources:
                  - api
                  label: Release 2.4.0
                  external_ref: a1b2c3d
        '401':
          $ref: '#/components/responses/E401'
        '403':
          $ref: '#/components/responses/E403'
        '404':
          $ref: '#/components/responses/E404'
        '422':
          $ref: '#/components/responses/E422'
        '429':
          $ref: '#/components/responses/E429'
    post:
      operationId: reportChanges
      summary: Report changes
      description: Reports changes yourself, for example a deploy. Reported changes trigger a free scan of up to 5 monitored URLs of the domain (the homepage if there are none), at the earliest 5 minutes after the last reported change, at most 6 rounds per domain and day. If a change was already detected by a scan, it is merged with your report. Control characters are removed from texts, and longer texts are shortened to the lengths given (except `external_ref`, which is rejected with `422` above 100 characters).
      tags:
      - Changes
      x-rate-limit: Does not count toward the daily request limit. Limited to 120 requests per hour for each user and website and 60 per minute for each account.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - host
              - changes
              properties:
                host:
                  type: string
                  description: The website's host. It must belong to your account (a scan, a live data website or a domain), otherwise `422`.
                source:
                  type: string
                  enum:
                  - api
                  - wp_plugin
                  - turbopress_cockpit
                  default: api
                  description: '`api` (default), `wp_plugin` or `turbopress_cockpit`.'
                changes:
                  type: array
                  minItems: 1
                  maxItems: 50
                  description: 1 to 50 entries.
                  items:
                    type: object
                    required:
                    - kind
                    properties:
                      kind:
                        type: string
                        enum:
                        - plugin_updated
                        - plugin_added
                        - plugin_removed
                        - plugin_activated
                        - plugin_deactivated
                        - theme_updated
                        - theme_switched
                        - wordpress_updated
                        - php_changed
                        - third_party_added
                        - third_party_removed
                        - assets_changed
                        - server_changed
                        - cache_config_changed
                        - deploy
                        - custom
                        - platform_updated
                        - resource_broken
                        - lcp_image_changed
                        description: Kind of change.
                      component:
                        type: string
                        maxLength: 500
                        description: Affected component, e.g. a plugin slug (up to 100 characters).
                      from:
                        type: string
                        maxLength: 500
                        description: Version or value before (up to 100 characters).
                      to:
                        type: string
                        maxLength: 500
                        description: Version or value after (up to 100 characters).
                      occurred_at:
                        type: string
                        format: date-time
                        description: 'ISO 8601; without an offset, UTC is assumed. Default: now. At most 5 minutes in the future and at most 30 days back.'
                      label:
                        type: string
                        maxLength: 500
                        description: Short description, e.g. a release name (up to 200 characters).
                      external_ref:
                        type: string
                        maxLength: 100
                        description: Your own reference, e.g. a commit hash (up to 100 characters, longer is rejected with `422`).
                      meta:
                        type: object
                        description: Further details, at most 2 KB as JSON.
            example:
              host: example.com
              changes:
              - kind: deploy
                label: Release 2.4.0
                external_ref: a1b2c3d
                occurred_at: '2026-11-12T09:30:00Z'
                meta:
                  url: https://git.example.com/acme/shop/commit/a1b2c3d
      responses:
        '201':
          description: The stored changes in the same format as `GET /changes`.
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Change'
                  ignored:
                    type: string
                    enum:
                    - foreign_installation
                    description: 'Only present if the report came from a different installation of the WordPress plugin for the same website (for example a staging copy) and was held back: `foreign_installation`. The report is not stored and triggers no scan; `data` is empty.'
              example:
                data:
                - id: 4711
                  host: example.com
                  kind: deploy
                  component: null
                  from: null
                  to: null
                  occurred_at: '2026-11-12T09:30:00+00:00'
                  window_start: null
                  precision: exact
                  sources:
                  - api
                  label: Release 2.4.0
                  external_ref: a1b2c3d
        '401':
          $ref: '#/components/responses/E401'
        '403':
          $ref: '#/components/responses/E403'
        '422':
          $ref: '#/components/responses/E422'
        '429':
          $ref: '#/components/responses/E429'
  /inventory:
    post:
      operationId: reportInventory
      summary: Report WordPress inventory
      description: Reports the current state of a WordPress site (versions, theme, plugins). turbometrics compares it with the last reported state and records the differences as changes; the first report only stores the state. Facts you leave out are not compared and stay unchanged.
      tags:
      - Changes
      x-rate-limit: Does not count toward the daily request limit. Limited to 120 requests per hour for each user and website and 60 per minute for each account.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - host
              - source
              - facts
              properties:
                host:
                  type: string
                  description: The website's host (must belong to your account, otherwise `422`).
                source:
                  type: string
                  enum:
                  - wp_plugin
                  - turbopress_inventory
                  description: '`wp_plugin` or `turbopress_inventory`.'
                reported_at:
                  type: string
                  format: date-time
                  description: 'ISO 8601; without an offset, UTC is assumed. Default: now. At most 5 minutes in the future, at most 30 days back.'
                facts:
                  type: object
                  description: The reported state.
                  properties:
                    wordpress:
                      type: string
                      description: WordPress version.
                    php:
                      type: string
                      description: PHP version.
                    theme:
                      type: string
                      description: Slug of the active theme.
                    page_cache:
                      type: boolean
                      description: Whether a page cache is active.
                    plugins:
                      type: array
                      maxItems: 500
                      items:
                        type: object
                        required:
                        - slug
                        properties:
                          slug:
                            type: string
                            maxLength: 100
                          version:
                            type: string
                            maxLength: 100
                          active:
                            type: boolean
                      description: Up to 500 entries.
                    themes:
                      type: array
                      maxItems: 100
                      items:
                        type: object
                        required:
                        - slug
                        properties:
                          slug:
                            type: string
                            maxLength: 100
                          version:
                            type: string
                            maxLength: 100
                          active:
                            type: boolean
                      description: Up to 100 entries.
            example:
              host: example.com
              source: turbopress_inventory
              facts:
                wordpress: 6.6.2
                php: 8.3.12
                theme: astra
                plugins:
                - slug: elementor
                  version: 3.25.1
                  active: true
                themes:
                - slug: astra
                  version: 4.8.1
                  active: true
      responses:
        '200':
          description: Changes found compared with the last report (empty on the first report).
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      changes:
                        type: array
                        items:
                          $ref: '#/components/schemas/Change'
                  ignored:
                    type: string
                    enum:
                    - foreign_installation
                    description: 'Only present if the report came from a different installation of the WordPress plugin for the same website (for example a staging copy) and was held back: `foreign_installation`. The report is not stored and triggers no scan; `data` is empty.'
              example:
                data:
                  changes: []
        '401':
          $ref: '#/components/responses/E401'
        '403':
          $ref: '#/components/responses/E403'
        '422':
          $ref: '#/components/responses/E422'
        '429':
          $ref: '#/components/responses/E429'
  /attributions:
    get:
      operationId: listAttributions
      summary: List diagnoses
      description: 'Returns the diagnoses of one website: declines in metrics that match a detected or reported change in time and in the measurements, newest first. Several declining metrics of the same event appear together under `metrics`. Diagnoses you dismissed never appear.


        Correlation, not proof: whether the change is the cause is best checked with the before/after comparison of the two scans in `compare`. `confidence` is `high`, `medium` or `low`.'
      tags:
      - Changes
      x-rate-limit: 'Counts toward the daily request limit. Reads from the official WordPress plugin (header `x-turbometrics-client: wordpress-plugin/<version>`) do not count; they have their own limit of 300 requests per hour for each website and 3,000 per hour for each account.'
      parameters:
      - $ref: '#/components/parameters/host'
      - name: since
        in: query
        description: 'Only events that started from this time on, ISO 8601; without an offset, UTC is assumed (default: the last 30 days; never earlier than your plan''s history period).'
        schema:
          type: string
          format: date-time
      - name: status
        in: query
        description: '`open` (the decline persists, default), `recovered` or `all`.'
        schema:
          type: string
          enum:
          - open
          - recovered
          - all
          default: open
      - $ref: '#/components/parameters/locale'
      responses:
        '200':
          description: Diagnoses, newest first.
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Attribution'
              example:
                data:
                - id: 812
                  started_at: '2026-11-12T10:00:00+00:00'
                  confidence: high
                  status: open
                  sentence: 'Main content mobile 1.20 s → 2.80 s (+133%). Likely cause: Elementor updated (3.24.0 → 3.25.1).'
                  metrics:
                  - metric: lcp
                    device: mobile
                    before: 1200
                    after: 2800
                    change_pct: 1.333
                  - metric: fcp
                    device: mobile
                    before: 900
                    after: 1300
                    change_pct: 0.444
                  suspects:
                  - change_id: 4711
                    kind: plugin_updated
                    component: elementor
                    from: 3.24.0
                    to: 3.25.1
                    occurred_at: '2026-11-12T05:00:00+00:00'
                  compare:
                    before_scan_id: 01KN3W...
                    after_scan_id: 01KN3X...
        '401':
          $ref: '#/components/responses/E401'
        '403':
          $ref: '#/components/responses/E403'
        '404':
          $ref: '#/components/responses/E404'
        '422':
          $ref: '#/components/responses/E422'
        '429':
          $ref: '#/components/responses/E429'
components:
  schemas:
    LimitError:
      type: object
      properties:
        error:
          type: string
        limit:
          type: integer
        reset_at:
          type:
          - string
          - 'null'
          format: date-time
        retry_after:
          type: integer
      required:
      - error
    Attribution:
      type: object
      properties:
        id:
          type: integer
        started_at:
          type:
          - string
          - 'null'
          format: date-time
        confidence:
          type: string
          enum:
          - high
          - medium
          - low
        status:
          type: string
          enum:
          - open
          - recovered
        sentence:
          type: string
        metrics:
          type: array
          items:
            type: object
            properties:
              metric:
                type: string
                enum:
                - lcp
                - fcp
                - ttfb
                - tbt
                - cls
                - inp
                - score
                - js_errors
              device:
                type: string
                enum:
                - mobile
                - desktop
                - all
              before:
                type:
                - number
                - 'null'
              after:
                type:
                - number
                - 'null'
              change_pct:
                type:
                - number
                - 'null'
        suspects:
          type: array
          items:
            type: object
            properties:
              change_id:
                type: integer
              kind:
                type: string
              component:
                type:
                - string
                - 'null'
              from:
                type:
                - string
                - 'null'
              to:
                type:
                - string
                - 'null'
              occurred_at:
                type:
                - string
                - 'null'
                format: date-time
        compare:
          type:
          - object
          - 'null'
          properties:
            before_scan_id:
              type: string
            after_scan_id:
              type: string
    Change:
      type: object
      properties:
        id:
          type: integer
        host:
          type: string
        kind:
          type: string
        component:
          type:
          - string
          - 'null'
        from:
          type:
          - string
          - 'null'
        to:
          type:
          - string
          - 'null'
        occurred_at:
          type:
          - string
          - 'null'
          format: date-time
        window_start:
          type:
          - string
          - 'null'
          format: date-time
        precision:
          type: string
          enum:
          - exact
          - day
          - between_scans
        sources:
          type: array
          items:
            type: string
        label:
          type:
          - string
          - 'null'
        external_ref:
          type:
          - string
          - 'null'
    Error:
      type: object
      properties:
        error:
          type: string
          description: Error message in the API language.
      required:
      - error
    ValidationError:
      type: object
      properties:
        message:
          type: string
        errors:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
      required:
      - message
      - errors
    ThrottleError:
      type: object
      properties:
        message:
          type: string
      required:
      - message
  responses:
    E403:
      description: Your plan does not include this (the API needs Starter or higher; scans with authentication need Pro).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Your current plan does not support API access. Available from Starter.
    E429:
      description: 'Limit exceeded: daily API limit, hourly scan limit or report limit.'
      content:
        application/json:
          schema:
            anyOf:
            - $ref: '#/components/schemas/LimitError'
            - $ref: '#/components/schemas/ThrottleError'
          example:
            error: Daily API limit reached
            limit: 1000
            reset_at: '2026-04-01T23:59:59+02:00'
    E422:
      description: Validation error, e.g. an invalid URL.
      content:
        application/json:
          schema:
            anyOf:
            - $ref: '#/components/schemas/ValidationError'
            - $ref: '#/components/schemas/Error'
          example:
            message: The url field is required.
            errors:
              url:
              - The url field is required.
    E404:
      description: Resource not found or not yours.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Not found.
    E401:
      description: No token or an invalid one.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Unauthenticated
  parameters:
    locale:
      name: locale
      in: query
      description: Language of texts in the response (`de` or `en`), otherwise your account's language setting.
      schema:
        type: string
        enum:
        - de
        - en
    host:
      name: host
      in: query
      required: true
      description: The website's host, e.g. `example.com` (`https://` and `www.` are ignored).
      schema:
        type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Personal API token from Account → API & apps, sent as `Authorization: Bearer {token}`. Without a valid token the API answers `401`.'
externalDocs:
  url: https://turbometrics.io/docs/api