Turbometrics Live data (RUM) API

Real user monitoring of your websites. Starter plan and above.

GitHub OpenAPI

Operations 7

GET /rum/sites List live data websites #
GET /rum/sites/{id} Get a live data website #
GET /rum/sites/{id}/summary Core Web Vitals summary #
GET /rum/sites/{id}/history Metric history #
GET /rum/sites/{id}/pages Slowest pages #
GET /rum/sites/{id}/breakdown Breakdown by origin #
GET /rum/sites/{id}/alerts Live data alerts #

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-live-data-rum-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-live-data-rum-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: turbometrics Live data (RUM) 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: Live data (RUM)
  description: Real user monitoring of your websites. Starter plan and above.
  x-key: rum
paths:
  /rum/sites:
    get:
      operationId: listRumSites
      summary: List live data websites
      description: Returns a paginated list of your live data websites. Starter plan and above only.
      tags:
      - Live data (RUM)
      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/limit'
      - $ref: '#/components/parameters/page'
      responses:
        '200':
          description: List of live data websites with page information.
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/RumSite'
                  meta:
                    $ref: '#/components/schemas/PaginationMeta'
              example:
                data:
                - id: 1
                  domain: turbometrics.io
                  active: true
                  embed_snippet: <script src="https://turbometrics.io/tm.min.js" data-site-id="..." async></script>
                  pageviews_this_month: 988
                  monthly_limit: 1000000
                  created_at: '2026-04-01T00:00:00+02:00'
                meta:
                  current_page: 1
                  per_page: 20
                  total: 2
                  last_page: 1
        '401':
          $ref: '#/components/responses/E401'
        '403':
          $ref: '#/components/responses/E403'
        '429':
          $ref: '#/components/responses/E429'
  /rum/sites/{id}:
    get:
      operationId: getRumSite
      summary: Get a live data website
      description: Returns the details of a single live data website.
      tags:
      - Live data (RUM)
      x-rate-limit: Counts toward the daily request limit of your plan.
      parameters:
      - $ref: '#/components/parameters/rumSiteId'
      responses:
        '200':
          description: The live data website.
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                properties:
                  data:
                    $ref: '#/components/schemas/RumSite'
              example:
                data:
                  id: 1
                  domain: turbometrics.io
                  active: true
                  embed_snippet: <script src="https://turbometrics.io/tm.min.js" data-site-id="..." async></script>
                  pageviews_this_month: 988
                  monthly_limit: 1000000
                  created_at: '2026-04-01T00:00:00+02:00'
        '401':
          $ref: '#/components/responses/E401'
        '403':
          $ref: '#/components/responses/E403'
        '404':
          $ref: '#/components/responses/E404'
        '429':
          $ref: '#/components/responses/E429'
  /rum/sites/{id}/summary:
    get:
      operationId: getRumSummary
      summary: Core Web Vitals summary
      description: Returns p75 values and the Core Web Vitals status for a website. `cwv_pass` is `true` when LCP, CLS and INP are within the target range and each has at least 20 measurements. With too little data, `cwv_pass` is `null` and `cwv_insufficient_data` is `true`.
      tags:
      - Live data (RUM)
      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/rumSiteId'
      - name: period
        in: query
        description: '`24h`, `7d`, `30d` (default: `24h`).'
        schema:
          type: string
          enum:
          - 24h
          - 7d
          - 30d
          default: 24h
      - $ref: '#/components/parameters/device'
      - name: path
        in: query
        description: Only measurements of this exact path, e.g. `/pricing/` (must start with `/`, at most 2048 characters, otherwise `422`).
        schema:
          type: string
          maxLength: 2048
          pattern: ^/
      responses:
        '200':
          description: p75 values per metric and the Core Web Vitals status.
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                properties:
                  data:
                    $ref: '#/components/schemas/RumSummary'
              example:
                data:
                  domain: turbometrics.io
                  period: 24h
                  device: all
                  path: null
                  cwv_pass: true
                  cwv_insufficient_data: false
                  metrics:
                    LCP:
                      p75: 226
                      rating: good
                      samples: 127
                    CLS:
                      p75: 0.0
                      rating: good
                      samples: 12
                    INP:
                      p75: 112
                      rating: good
                      samples: 16
                    FCP:
                      p75: 201
                      rating: good
                      samples: 26
                    TTFB:
                      p75: 143
                      rating: good
                      samples: 27
        '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'
  /rum/sites/{id}/history:
    get:
      operationId: getRumHistory
      summary: Metric history
      description: Returns daily p75/p50 values for one metric as a time series.
      tags:
      - Live data (RUM)
      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/rumSiteId'
      - name: metric
        in: query
        required: true
        description: '`LCP`, `CLS`, `INP`, `FCP`, `TTFB`.'
        schema:
          type: string
          enum:
          - LCP
          - CLS
          - INP
          - FCP
          - TTFB
      - name: days
        in: query
        description: '`7`, `30`, `90` (default: `30`).'
        schema:
          type: integer
          enum:
          - 7
          - 30
          - 90
          default: 30
      - $ref: '#/components/parameters/device'
      responses:
        '200':
          description: Daily values, newest first.
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/RumHistoryPoint'
                  meta:
                    type: object
                    properties:
                      metric:
                        type: string
                      days:
                        type: integer
                      device:
                        type: string
              example:
                data:
                - date: '2026-04-04'
                  p75: 226
                  p50: 180
                  samples: 127
                - date: '2026-04-03'
                  p75: 240
                  p50: 195
                  samples: 98
                meta:
                  metric: LCP
                  days: 30
                  device: all
        '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'
  /rum/sites/{id}/pages:
    get:
      operationId: getRumPages
      summary: Slowest pages
      description: Returns the slowest pages by p75 for one metric.
      tags:
      - Live data (RUM)
      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/rumSiteId'
      - name: metric
        in: query
        description: '`LCP`, `INP`, `FCP`, `TTFB` (default: `LCP`).'
        schema:
          type: string
          enum:
          - LCP
          - INP
          - FCP
          - TTFB
          default: LCP
      - name: period
        in: query
        description: '`24h`, `7d` (default: `24h`).'
        schema:
          type: string
          enum:
          - 24h
          - 7d
          default: 24h
      - name: limit
        in: query
        description: '1–100 (default: 25).'
        schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 25
      responses:
        '200':
          description: Pages sorted by p75.
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/RumPage'
                  meta:
                    type: object
                    properties:
                      metric:
                        type: string
                      period:
                        type: string
              example:
                data:
                - path: /
                  p75: 1437
                  samples: 3
                - path: /pricing
                  p75: 98
                  samples: 12
                meta:
                  metric: LCP
                  period: 24h
        '401':
          $ref: '#/components/responses/E401'
        '403':
          $ref: '#/components/responses/E403'
        '404':
          $ref: '#/components/responses/E404'
        '429':
          $ref: '#/components/responses/E429'
  /rum/sites/{id}/breakdown:
    get:
      operationId: getRumBreakdown
      summary: Breakdown by origin
      description: 'Returns what slows down interactions (INP) and which JS errors occur, grouped by origin: plugin, theme, third party, WordPress core or your own site. `ready` is `false` while less than 80 % of the window was measured with the current snippet; `origins` is empty then. Values are cached for 5 minutes.'
      tags:
      - Live data (RUM)
      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/rumSiteId'
      - name: days
        in: query
        description: '`7`, `28` (default: `7`).'
        schema:
          type: integer
          enum:
          - 7
          - 28
          default: 7
      responses:
        '200':
          description: Origins with their share of slow interactions and JS errors.
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                properties:
                  data:
                    $ref: '#/components/schemas/RumBreakdown'
              example:
                data:
                  ready: true
                  days: 7
                  origins:
                  - type: plugin
                    key: elementor
                    label: Elementor
                    inp_share: 42.0
                    inp_count: 12
                    js_error_share: 3.1
                    js_error_pages: 17
                    js_error_message: 'Uncaught TypeError: Cannot read properties of null'
        '401':
          $ref: '#/components/responses/E401'
        '403':
          $ref: '#/components/responses/E403'
        '404':
          $ref: '#/components/responses/E404'
        '429':
          $ref: '#/components/responses/E429'
  /rum/sites/{id}/alerts:
    get:
      operationId: listRumAlerts
      summary: Live data alerts
      description: 'Returns the configured alerts for a live data website. `status` is `active` (configured, never triggered), `triggered` or `resolved`.


        `diagnosis` is only filled while `triggered`, otherwise `null`.'
      tags:
      - Live data (RUM)
      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/rumSiteId'
      responses:
        '200':
          description: Configured alerts.
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/RumAlert'
                  locale:
                    type: string
                    enum:
                    - de
                    - en
              example:
                data:
                - id: 209
                  title: turbometrics.io – Auto Alert
                  mode: auto
                  metric: null
                  threshold: null
                  window_minutes: 60
                  min_samples: 20
                  consecutive_threshold: 2
                  status: active
                  emailed_at: null
                  resolved_at: null
                  diagnosis: null
                  created_at: '2026-04-05T10:00:00+02:00'
        '401':
          $ref: '#/components/responses/E401'
        '403':
          $ref: '#/components/responses/E403'
        '404':
          $ref: '#/components/responses/E404'
        '429':
          $ref: '#/components/responses/E429'
components:
  parameters:
    rumSiteId:
      name: id
      in: path
      required: true
      description: ID of the live data website from `GET /rum/sites`.
      schema:
        type: integer
    limit:
      name: limit
      in: query
      description: 'Results per page, max. 50 (default: 20).'
      schema:
        type: integer
        minimum: 1
        maximum: 50
        default: 20
    device:
      name: device
      in: query
      description: '`all`, `desktop`, `mobile`, `tablet` (default: `all`).'
      schema:
        type: string
        enum:
        - all
        - desktop
        - mobile
        - tablet
        default: all
    page:
      name: page
      in: query
      description: Page number.
      schema:
        type: integer
        minimum: 1
  responses:
    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.
    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.
    E401:
      description: No token or an invalid one.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Unauthenticated
    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'
    E404:
      description: Resource not found or not yours.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Not found.
  schemas:
    RumPage:
      type: object
      properties:
        path:
          type: string
        p75:
          type:
          - number
          - 'null'
        samples:
          type: integer
    RumHistoryPoint:
      type: object
      properties:
        date:
          type: string
          format: date
        p75:
          type:
          - number
          - 'null'
        p50:
          type:
          - number
          - 'null'
        samples:
          type: integer
    RumAlert:
      type: object
      properties:
        id:
          type: integer
        title:
          type: string
        mode:
          type: string
        metric:
          type:
          - string
          - 'null'
        threshold:
          type:
          - number
          - 'null'
        window_minutes:
          type: integer
        min_samples:
          type: integer
        consecutive_threshold:
          type: integer
        status:
          type: string
          enum:
          - active
          - triggered
          - resolved
        emailed_at:
          type:
          - string
          - 'null'
          format: date-time
        resolved_at:
          type:
          - string
          - 'null'
          format: date-time
        diagnosis:
          type:
          - object
          - 'null'
          properties:
            sentence:
              type: string
            confidence:
              type: string
              enum:
              - high
              - medium
              - low
            attribution_id:
              type: integer
        created_at:
          type:
          - string
          - 'null'
          format: date-time
    ThrottleError:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    RumMetric:
      type: object
      properties:
        p75:
          type:
          - number
          - 'null'
        rating:
          type:
          - string
          - 'null'
        samples:
          type: integer
    PaginationMeta:
      type: object
      properties:
        current_page:
          type: integer
        per_page:
          type: integer
        total:
          type: integer
        last_page:
          type: integer
      description: Page information of a paginated list.
    LimitError:
      type: object
      properties:
        error:
          type: string
        limit:
          type: integer
        reset_at:
          type:
          - string
          - 'null'
          format: date-time
        retry_after:
          type: integer
      required:
      - error
    RumSummary:
      type: object
      properties:
        domain:
          type: string
        period:
          type: string
        device:
          type: string
        path:
          type:
          - string
          - 'null'
        cwv_pass:
          type:
          - boolean
          - 'null'
        cwv_insufficient_data:
          type: boolean
        metrics:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/RumMetric'
    RumSite:
      type: object
      properties:
        id:
          type: integer
        domain:
          type: string
        active:
          type: boolean
        embed_snippet:
          type: string
        pageviews_this_month:
          type:
          - integer
          - 'null'
        monthly_limit:
          type: integer
        created_at:
          type:
          - string
          - 'null'
          format: date-time
    RumBreakdown:
      type: object
      properties:
        ready:
          type: boolean
        days:
          type: integer
        origins:
          type: array
          items:
            type: object
            properties:
              type:
                type: string
              key:
                type:
                - string
                - 'null'
              label:
                type: string
              inp_share:
                type:
                - number
                - 'null'
              inp_count:
                type:
                - integer
                - 'null'
              js_error_share:
                type:
                - number
                - 'null'
              js_error_pages:
                type:
                - integer
                - 'null'
              js_error_message:
                type:
                - string
                - 'null'
    ValidationError:
      type: object
      properties:
        message:
          type: string
        errors:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
      required:
      - message
      - errors
    Error:
      type: object
      properties:
        error:
          type: string
          description: Error message in the API language.
      required:
      - error
  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