Uptimecat

Uptimecat API

Automate and read your monitoring from scripts and other tools. This page lists what exists today, and what does not.

What is available

The API is part of the open-source monitoring server that Uptimecat runs. It is small and practical. Most of it is read access, plus push URLs that let your jobs report in.

All examples use the host https://dashboard.uptimecat.co. If you run your own copy, use your own host.

AreaEndpointNeeds a key
PushGET or POST /api/push/:tokenNo, the token is the credential
BadgesGET /api/badge/:id/status, uptime, ping, cert-exp, responseNo, for monitors on a public status page
Status page dataGET /api/status-page/:slug and /heartbeat/:slug and /incident-historyNo, for public pages
Server infoGET /api/infoYes
MonitorsGET /api/monitorsYes
OpenAPIGET /api/openapi.jsonYes
MetricsGET /metricsYes, HTTP Basic

Create an API key

  1. Sign in to the dashboard and open Settings.
  2. Open API Keys and enable the API if it is off.
  3. Click add, name the key, optionally set an expiry, and copy it. The key is shown once.
  4. Send it as a bearer token in the Authorization header.

Read your monitors

curl -fsS -H "Authorization: Bearer $UPTIMECAT_API_KEY" https://dashboard.uptimecat.co/api/monitors

# Responses use an envelope:
# {"ok": true, ...}   or   {"ok": false, "msg": "reason"}

Report a heartbeat from a job

curl -fsS "https://dashboard.uptimecat.co/api/push/YOUR_PUSH_TOKEN?status=up&msg=backup%20done&ping=120"

Scrape metrics with Prometheus

scrape_configs:
  - job_name: uptimecat
    scheme: https
    metrics_path: /metrics
    static_configs: [{ targets: ["dashboard.uptimecat.co"] }]
    basic_auth: { username: api, password: "<api key>" }

What the API does not do

  • There is no documented write API for creating monitors. Create and edit monitors in the dashboard.
  • The dashboard itself talks to the server over Socket.IO. That channel is internal, undocumented and can change, so do not build on it.
  • There is a single API version. See API versions and legacy API.
  • No official command line tool yet. See the CLI page.
  • An MCP server is not offered as a supported feature yet. See the MCP page.

Frequently asked questions

Are there rate limits?

No numbers are published. Be gentle: poll no more often than your monitor interval. See fair use.

Can I use the API on the free plan?

Yes. API keys are part of the product. Pricing details are on the pricing page.

How do I revoke a key?

Delete or disable it under Settings, API Keys. It stops working at once.

Is my push URL secret?

Yes. Anyone with the token can send heartbeats for that monitor.

Related

Open the dashboard

Sign in with your Google account to add a monitor and pick an alert channel. Access is currently limited to Moruk accounts; open sign-up is not available yet.

Sign in