Monitors

Get post monitor metrics

Changed on

Returns 1 bucket per hour with each metric's value at the hour's end & its gain over that hour. The last bucket is the current hour. Hours before tracking began carry the starting values with a gain of 0.

get/api/v1/monitors/posts/{id}/metrics

Request

  • Base URL
    https://xquik.com
  • URL
    https://xquik.com/api/v1/monitors/posts/{id}/metrics
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

idstring required

Resource ID returned by the matching create or list endpoint.

Query parameters

hoursinteger

Hours to return, from 1 to 720.

Response

Hourly metric buckets

hoursinteger required

Example response

{
  "hours": 12,
  "buckets": [
    {
      "at": "2026-10-22T11:00:00.000Z",
      "metrics": {
        "views": {
          "value": 541600,
          "gain": 500
        },
        "likes": {
          "value": 1890,
          "gain": 5
        },
        "retweets": {
          "value": 112,
          "gain": 0
        },
        "replies": {
          "value": 86,
          "gain": 1
        },
        "quotes": {
          "value": 87,
          "gain": 0
        },
        "bookmarks": {
          "value": 471,
          "gain": 1
        }
      }
    }
  ]
}

Changes