---
title: "Get monitor uptime statistics"
method: GET
path: "/monitors/{id}/stats/uptime"
tags: ["Monitors"]
---

# Get monitor uptime statistics

`GET /monitors/{id}/stats/uptime`

Returns uptime statistics for a specific monitor within a configurable date range. Defaults to the last 24 hours. Maximum range is 90 days.

## Path parameters

- `id` number, required

## Query parameters

- `from` string
- `to` string

## Response `200`

- MonitorUptimeStatsDto
  - `uptime` number, required — Uptime percentage (0-100)
  - `total_downtime_seconds` number, required — Total downtime duration in seconds
  - `incident_count` number, required — Number of incidents in the period
  - `mtbf` number, nullable, required — Mean Time Between Failures in seconds, or null if no incidents occurred
  - `from` string, required — Start of the date range (ISO 8601)
  - `to` string, required — End of the date range (ISO 8601)

---

[API](https://skmtc.net/uptimerobot/apis/uptimerobot-api.md) · [All operations](https://skmtc.net/uptimerobot/apis/uptimerobot-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/uptimerobot/uptimerobot-api/revisions/2b6fa8c427ba/schema)
