Skip to main content

GET /api/health

Fetches uptime monitor status from BetterStack: monitor status (up/down/degraded), response times, and active incidents.

Query parameters

None.

Response

{
  "monitors": [
    {
      "name": "goshuin.com",
      "url": "https://goshuin.com",
      "status": "up",
      "responseTime": 245,
      "lastCheckedAt": "2026-03-17T12:00:00Z"
    }
  ],
  "incidents": [
    {
      "name": "goshuin.com down",
      "status": "ongoing",
      "startedAt": "2026-03-17T11:45:00Z"
    }
  ]
}

Cache

  • TTL: 1 minute