Get a monitor's response times

Returns the response times for a monitor (last 24h).

GET https://uptime.betterstack.com/api/v2/monitors/{monitor_id}/response-times

URL parameters

monitor_id
required string

Headers

Authorization
required string
200

Response body

{
  "data": {
    "id": "270985",
    "type": "monitor_response_times",
    "attributes": {
      "regions": [
        {
          "region": "us",
          "response_times": [
            {
              "at": "2021-01-24T15:06:03.727Z",
              "response_time": 1.25366666666667
            },
            {
              "at": "2021-01-24T15:06:33.658Z",
              "response_time": 1.239
            },
            {
              "at": "2021-01-24T15:07:05.097Z",
              "response_time": 1.26
            },
            {
              "at": "2021-01-24T15:07:34.961Z",
              "response_time": 1.20933333333333
            }
          ]
        },
        {
          "region": "eu",
          "response_times": [
            {
              "at": "2021-01-24T15:06:03.727Z",
              "response_time": 0.58966666666667
            },
            {
              "at": "2021-01-24T15:06:33.658Z",
              "response_time": 0.611
            },
            {
              "at": "2021-01-24T15:07:05.097Z",
              "response_time": 0.53
            },
            {
              "at": "2021-01-24T15:07:34.961Z",
              "response_time": 0.546
            }
          ]
        }
      ]
    }
  }
}

Example cURL

Example
curl --request GET \
  --url https://uptime.betterstack.com/api/v2/monitors/123456789/response-times \
  --header "Authorization: Bearer $TEAM_TOKEN"