Get monitor statistics
curl --request GET \
--url https://api.getmonitor.io/api/v1/uptime/{id}/statistics \
--header 'Authorization: Bearer <token>' \
--header 'X-Organization-Id: <x-organization-id>'import requests
url = "https://api.getmonitor.io/api/v1/uptime/{id}/statistics"
headers = {
"X-Organization-Id": "<x-organization-id>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'X-Organization-Id': '<x-organization-id>', Authorization: 'Bearer <token>'}
};
fetch('https://api.getmonitor.io/api/v1/uptime/{id}/statistics', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.getmonitor.io/api/v1/uptime/{id}/statistics",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"X-Organization-Id: <x-organization-id>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.getmonitor.io/api/v1/uptime/{id}/statistics"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Organization-Id", "<x-organization-id>")
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.getmonitor.io/api/v1/uptime/{id}/statistics")
.header("X-Organization-Id", "<x-organization-id>")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getmonitor.io/api/v1/uptime/{id}/statistics")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Organization-Id"] = '<x-organization-id>'
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"hourlyData": [
{
"hourWindow": "2026-09-27T00:00:00.000Z",
"upCount": 59,
"downCount": 0,
"avgResponseTime": 260,
"p95ResponseTime": 494,
"p99ResponseTime": 494,
"incidentCount": 0,
"downtimeMinutes": 0,
"region": "us-east-1"
},
{
"hourWindow": "2026-09-27T00:00:00.000Z",
"upCount": 60,
"downCount": 0,
"avgResponseTime": 679,
"p95ResponseTime": 816,
"p99ResponseTime": 816,
"incidentCount": 0,
"downtimeMinutes": 0,
"region": "sa-east-1"
}
],
"dailyMetrics": [
{
"date": "2026-09-27T00:00:00.000Z",
"uptimePercentage": 100,
"avgResponseTime": 469,
"p95ResponseTime": 720,
"incidentCount": 0,
"totalDowntimeMinutes": 0
}
],
"summary": {
"uptimePercentage": 100,
"avgResponseTime": 478,
"totalIncidents": 0,
"totalDowntime": 0,
"totalChecks": 1181,
"totalUpChecks": 1181,
"totalDownChecks": 0
},
"regionalSeries": [
{
"region": "sa-east-1",
"hourlyData": [
{
"hourWindow": "2026-09-27T00:00:00.000Z",
"upCount": 60,
"downCount": 0,
"avgResponseTime": 679,
"p95ResponseTime": 816,
"p99ResponseTime": 816,
"incidentCount": 0,
"downtimeMinutes": 0,
"region": "sa-east-1"
},
{
"hourWindow": "2026-09-26T23:00:00.000Z",
"upCount": 59,
"downCount": 0,
"avgResponseTime": 677,
"p95ResponseTime": 821,
"p99ResponseTime": 821,
"incidentCount": 0,
"downtimeMinutes": 0,
"region": "sa-east-1"
}
]
},
{
"region": "us-east-1",
"hourlyData": [
{
"hourWindow": "2026-09-27T00:00:00.000Z",
"upCount": 59,
"downCount": 0,
"avgResponseTime": 260,
"p95ResponseTime": 494,
"p99ResponseTime": 494,
"incidentCount": 0,
"downtimeMinutes": 0,
"region": "us-east-1"
},
{
"hourWindow": "2026-09-26T23:00:00.000Z",
"upCount": 59,
"downCount": 0,
"avgResponseTime": 250,
"p95ResponseTime": 490,
"p99ResponseTime": 490,
"incidentCount": 0,
"downtimeMinutes": 0,
"region": "us-east-1"
}
]
}
],
"aggregateSummary": {
"uptimePercentage": 100,
"avgResponseTime": 478,
"totalIncidents": 0,
"totalDowntime": 0,
"regionCount": 2
}
}{
"message": [
"name must be longer than or equal to 1 characters",
"regions must be an array"
],
"error": "Bad Request",
"statusCode": 400
}{
"message": "Unauthorized",
"statusCode": 401
}{
"message": "No access to this organization",
"error": "Forbidden",
"statusCode": 403
}{
"message": "Monitor not found",
"error": "Not Found",
"statusCode": 404
}Uptime
Get monitor statistics
Hourly and daily series plus a summary (uptime %, response times, incidents, downtime), overall and per region.
Authentication: API key with the monitors:read scope, or a user session. Role: viewer, member, admin or owner.
GET
/
api
/
v1
/
uptime
/
{id}
/
statistics
Get monitor statistics
curl --request GET \
--url https://api.getmonitor.io/api/v1/uptime/{id}/statistics \
--header 'Authorization: Bearer <token>' \
--header 'X-Organization-Id: <x-organization-id>'import requests
url = "https://api.getmonitor.io/api/v1/uptime/{id}/statistics"
headers = {
"X-Organization-Id": "<x-organization-id>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'X-Organization-Id': '<x-organization-id>', Authorization: 'Bearer <token>'}
};
fetch('https://api.getmonitor.io/api/v1/uptime/{id}/statistics', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.getmonitor.io/api/v1/uptime/{id}/statistics",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"X-Organization-Id: <x-organization-id>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.getmonitor.io/api/v1/uptime/{id}/statistics"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Organization-Id", "<x-organization-id>")
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.getmonitor.io/api/v1/uptime/{id}/statistics")
.header("X-Organization-Id", "<x-organization-id>")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getmonitor.io/api/v1/uptime/{id}/statistics")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Organization-Id"] = '<x-organization-id>'
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"hourlyData": [
{
"hourWindow": "2026-09-27T00:00:00.000Z",
"upCount": 59,
"downCount": 0,
"avgResponseTime": 260,
"p95ResponseTime": 494,
"p99ResponseTime": 494,
"incidentCount": 0,
"downtimeMinutes": 0,
"region": "us-east-1"
},
{
"hourWindow": "2026-09-27T00:00:00.000Z",
"upCount": 60,
"downCount": 0,
"avgResponseTime": 679,
"p95ResponseTime": 816,
"p99ResponseTime": 816,
"incidentCount": 0,
"downtimeMinutes": 0,
"region": "sa-east-1"
}
],
"dailyMetrics": [
{
"date": "2026-09-27T00:00:00.000Z",
"uptimePercentage": 100,
"avgResponseTime": 469,
"p95ResponseTime": 720,
"incidentCount": 0,
"totalDowntimeMinutes": 0
}
],
"summary": {
"uptimePercentage": 100,
"avgResponseTime": 478,
"totalIncidents": 0,
"totalDowntime": 0,
"totalChecks": 1181,
"totalUpChecks": 1181,
"totalDownChecks": 0
},
"regionalSeries": [
{
"region": "sa-east-1",
"hourlyData": [
{
"hourWindow": "2026-09-27T00:00:00.000Z",
"upCount": 60,
"downCount": 0,
"avgResponseTime": 679,
"p95ResponseTime": 816,
"p99ResponseTime": 816,
"incidentCount": 0,
"downtimeMinutes": 0,
"region": "sa-east-1"
},
{
"hourWindow": "2026-09-26T23:00:00.000Z",
"upCount": 59,
"downCount": 0,
"avgResponseTime": 677,
"p95ResponseTime": 821,
"p99ResponseTime": 821,
"incidentCount": 0,
"downtimeMinutes": 0,
"region": "sa-east-1"
}
]
},
{
"region": "us-east-1",
"hourlyData": [
{
"hourWindow": "2026-09-27T00:00:00.000Z",
"upCount": 59,
"downCount": 0,
"avgResponseTime": 260,
"p95ResponseTime": 494,
"p99ResponseTime": 494,
"incidentCount": 0,
"downtimeMinutes": 0,
"region": "us-east-1"
},
{
"hourWindow": "2026-09-26T23:00:00.000Z",
"upCount": 59,
"downCount": 0,
"avgResponseTime": 250,
"p95ResponseTime": 490,
"p99ResponseTime": 490,
"incidentCount": 0,
"downtimeMinutes": 0,
"region": "us-east-1"
}
]
}
],
"aggregateSummary": {
"uptimePercentage": 100,
"avgResponseTime": 478,
"totalIncidents": 0,
"totalDowntime": 0,
"regionCount": 2
}
}{
"message": [
"name must be longer than or equal to 1 characters",
"regions must be an array"
],
"error": "Bad Request",
"statusCode": 400
}{
"message": "Unauthorized",
"statusCode": 401
}{
"message": "No access to this organization",
"error": "Forbidden",
"statusCode": 403
}{
"message": "Monitor not found",
"error": "Not Found",
"statusCode": 404
}Authorizations
apiKeysession
API key sent as Authorization: Bearer <key>. Personal keys (gm_pat_) act as you, limited by your role and the key's scopes; organization keys (gm_api_) act for one organization. Send X-Organization-Id with every org-scoped request.
Headers
ID of the organization to act in. Required with API keys. A user session may omit it and acts in its active organization.
Example:
"k2p9x7w4m1n8b3v6c5z0q2r7"
Path Parameters
Uptime monitor ID.
Query Parameters
Time window. Default 24h.
Available options:
24h, 7d