API documentation
Manage monitors from scripts and CI. All endpoints return JSON.
Authentication
Find your API key under Settings. Send it as a bearer token:
curl https://uptimerobo.org/api/monitors \
-H "Authorization: Bearer ur_your_api_key"
Monitors
| Method | Path | Description |
GET | /api/monitors | List monitors with 24h uptime |
POST | /api/monitors | Create a monitor |
GET | /api/monitors/:id | Monitor details, uptime, incidents, response times |
PATCH | /api/monitors/:id | Update a monitor, or send {"paused":true} |
DELETE | /api/monitors/:id | Delete a monitor |
Create a monitor
curl -X POST https://uptimerobo.org/api/monitors \
-H "Authorization: Bearer ur_your_api_key" \
-H "Content-Type: application/json" \
-d '{"name":"API","type":"http","url":"https://api.example.com/health","interval_sec":60}'
| Field | Description |
type | http, keyword or tcp |
url | URL for http/keyword, hostname for tcp |
port | Port number (tcp only) |
interval_sec | 30, 60, 120, 300, 600, 900, 1800 or 3600. Free plan minimum is 300. |
method | GET, HEAD or POST (default GET) |
keyword, keyword_mode | Text to find; mode present or absent |
expected_status | Status codes counted as up, e.g. 200-299 or 200,301 (default 200-399) |
timeout_sec | 1 to 30 (default 15) |
Alert contacts
GET | /api/alerts |
POST | /api/alerts {"type":"webhook","target":"https://..."} |
DELETE | /api/alerts/:id |
Webhook payload
{
"event": "down",
"monitor": { "id": 12, "name": "API", "url": "https://api.example.com/health", "type": "http" },
"reason": "HTTP 503",
"duration_seconds": null,
"timestamp": "2026-12-05T10:00:00.000Z"
}
Status pages
GET | /api/status-pages |
POST | /api/status-pages {"title":"Acme","slug":"acme","monitor_ids":[1,2]} |
PATCH | /api/status-pages/:id |
DELETE | /api/status-pages/:id |
Public endpoints
/s/:slug | Hosted status page |
/embed/:slug | Compact widget for iframes |
/badge/:slug/status.svg | Status badge |
/badge/:slug/uptime.svg | 30-day uptime badge |
/s/:slug/status.json | Status as JSON (CORS enabled) |