Endpoints

Uptime Monitoring API: Site Down Alerts

Check a site, a page or a scheduled job around the clock and get told when it stops answering.

Uptime checks a web address on a schedule from our own servers with a plain HTTP request. When it fails twice in a row, you are told once. When it recovers, you are told again, with how long it was down. It uses no credits.

See the product page for plans, alerts and status pages.

POST/api/v1/uptime GET/api/v1/uptime

Your key needs the monitor scope. Your plan sets how many monitors you can have and how often they are checked. Heartbeats count as monitors.

Create a monitor

curl -X POST https://snoopscan.com/api/v1/uptime \  -H 'Authorization: Bearer sk_YOUR_KEY' \  -H 'Content-Type: application/json' \  -d '{"name":"Marketing site","type":"http","url":"https://example.com","intervalSeconds":300}'
Returns the monitor. The first check runs within a minute.
{    "success": true,    "data": {        "id": "upt_k3m9x2q7v1a4zt",        "name": "Marketing site",        "type": "http",        "state": "up",        "url": "https://example.com",        "method": "GET",        "timeoutSeconds": 20,        "intervalSeconds": 300,        "confirmFailures": 2,        "sslExpiryDays": 14,        "notification": {            "email": {                "enabled": true,                "recipients": []            }        },        "paused": false,        "lastCheckedAt": "2026-12-01T09:00:12+00:00",        "lastStatusCode": 200,        "lastLatencyMs": 184,        "uptime": {            "last24h": 100,            "last30d": 99.98,            "avgLatencyMs24h": 191        }    }}
The monitor, with its uptime once it has history.
FieldWhat it does
typehttp checks the status. keyword also checks that a word is on the page. heartbeat waits for your job to call us.
urlThe address to check, http or https. Not used by a heartbeat.
methodGET or HEAD. A keyword monitor always uses GET.
expectedStatusWhich statuses are good: 200, 2xx, a range like 200-299, or a comma list. Left out, any 2xx or 3xx is good.
keyword, keywordModeThe word to look for in the first 512 KB of the page, and whether it must be present or absent.
intervalSecondsHow often to check. The shortest your plan allows is the floor.
timeoutSecondsWhen to give up on one check, from 5 to 60.
confirmFailuresBad checks in a row before you are told, from 1 to 5. The default is 2.
sslExpiryDaysWarn this many days before the certificate ends, and again at 3 days. null turns it off.
notificationemail.enabled, email.recipients, slackUrl and webhook.url. Your account email always gets alerts. Any other address is sent one email to confirm, and gets alerts after its owner follows the link; email.recipientStatus lists each address as verified, pending or stopped.

Redirects are followed, up to five. Private and internal addresses are refused.

Heartbeats

A heartbeat is for a job that runs on its own, like a backup or a scheduled import. Create one, then have the job request its address when it finishes. If no request arrives within the period plus the grace time, you are told.

{    "name": "Nightly backup",    "type": "heartbeat",    "heartbeat": {        "periodSeconds": 86400,        "graceSeconds": 1800    }}
The body for a heartbeat. The response carries heartbeat.url, which the job calls.
curl -fsS --retry 3 https://snoopscan.com/hb/YOUR_TOKEN
GET or POST. No key is needed: the token in the address is the credential.

Manage monitors

RequestWhat it does
GET /api/v1/uptimeYour monitors, with limit and offset.
GET /api/v1/uptime/{id}One monitor with its recent incidents.
PATCH /api/v1/uptime/{id}Change any field. The whole monitor is checked again.
DELETE /api/v1/uptime/{id}Delete a monitor and its history.
POST /api/v1/uptime/{id}/pauseStop checking and alerting.
POST /api/v1/uptime/{id}/resumeStart again.

Alerts

A monitor sends an email when it goes down, a reminder every 3 hours while it stays down, and an email when it is back. A certificate near its end gets one warning at your threshold and one more at 3 days. Slack gets the same events as short messages.

A webhook receives a JSON body with an X-Signature-256 header, the HMAC-SHA256 of the raw body using the secret returned when you create the monitor. The event is named in X-Uptime-Event: uptime.down, uptime.reminder, uptime.recovered or uptime.ssl_expiring.

{    "event": "uptime.down",    "monitor": {        "id": "upt_k3m9x2q7v1a4zt",        "name": "Marketing site",        "type": "http",        "url": "https://example.com",        "status": "down"    },    "at": "2026-12-01T09:04:10+00:00",    "incident": {        "id": 41,        "openedAt": "2026-12-01T09:04:10+00:00",        "resolvedAt": null,        "durationSeconds": 0,        "cause": "HTTP 522"    }}
A down event.

Status pages

Each account can publish one status page from the Uptime section of the dashboard: the monitors you choose, their state, 90 days of daily uptime and recent incidents. It is hidden from search engines unless you opt in, and it never shows your name or email.

Watching what a page says rather than whether it answers? Monitor re-reads a page on a schedule and tells you when its content changes.