1. Uptime Monitoring
  2. Monitor APIs

Uptime Monitoring

Monitor APIs

API checks require more configuration than simple website checks. Here's how to set up effective API monitoring.

Configure your check

Set a frequent check interval (every 1 minute recommended for APIs):

OnlineOrNot API monitoring settings

Set up the HTTP request

Configure OnlineOrNot to make a real API request with proper headers and body:

OnlineOrNot API HTTP Request settings

See Request Settings for all available options.

Add assertions

APIs can return HTTP 200 even when things are broken. Use assertions to verify the response data is correct:

OnlineOrNot API assertion settings

See Assertions for all assertion types and comparisons.

Configure advanced settings

Set the check to monitor from a region close to your database for fastest results. Consider requiring multiple failed checks before alerting:

OnlineOrNot API monitoring advanced settings

Set up alerts

Configure where you want to receive notifications:

OnlineOrNot alert settings

Available alert channels: