Monitoring

How to monitor an API endpoint

Your API is the backbone of your app and your integrations. Monitoring it means catching failures before they cascade to every client.

← All articles

What to check on an API

For an API endpoint you usually care about three things: is it reachable, is it returning the right status code, and is it fast enough? A good monitor covers all three.

Status code and keyword checks

Confirm the endpoint returns the status you expect (often 200), and use a keyword check to verify the response body contains an expected value — for example a field name in the JSON. That catches an endpoint that responds but returns garbage.

Watch response time

A slow API is a failing API to your users. Track response time over time so you can spot creeping latency before it becomes an outage, and review it in your reports.

Authenticated endpoints

If your endpoint needs a header or token, configure the monitor to send it. Monitor a lightweight health endpoint rather than an expensive operation so checks stay cheap and fast.

Add an HTTP monitor, set the expected status and keyword, pick a 1-minute interval on a paid plan, and route alerts to your on-call channel.