UptimeTea

API Documentation

The UptimeTea API is easy to use and free for all plans.

Get public status page

Returns a public status page by slug. No authentication required. Includes watcher statuses, uptime percentages, active incidents, and scheduled maintenance.

GET
https://api.uptimetea.com/status/:slug

Headers

Response body

{
  "status_page": {
    "name": "My Service Status",
    "slug": "my-service",
    "custom_domain": null,
    "logo_url": null,
    "brand_color": "#3b82f6",
    "page_title": "Service Status"
  },
  "watchers": [
    {
      "id": "uuid",
      "title": "Website",
      "url": "https://example.com",
      "current_status": "operational",
      "uptime_24h": 100.0,
      "uptime_7d": 99.5,
      "uptime_30d": 99.8
    }
  ],
  "incidents": [
    {
      "id": "uuid",
      "watcher_id": "uuid",
      "watcher_title": "Website",
      "status": "open",
      "started_at": "2024-01-15T10:00:00Z",
      "created_at": "2024-01-15T10:00:00Z"
    }
  ],
  "maintenance_windows": [
    {
      "id": "uuid",
      "title": "Server Upgrade",
      "description": "Upgrading database servers",
      "start_time": "2024-01-20T02:00:00Z",
      "end_time": "2024-01-20T04:00:00Z",
      "active": false
    }
  ]
}

Code Examples

curl -X GET "https://api.uptimetea.com/status/my-service"