API monitoring: A 200 that returns an error is still down.

Monitor API endpoints with the method, headers and body they actually need, and check the JSON in the response, not just the status code.

14-day free trial · Then free on 5 monitors · No credit card

4.9/5 from 1,247+ reviews Trusted by 65,000+ companies
01

Real requests

Send GET, POST, PUT, PATCH, DELETE, HEAD or OPTIONS with your own headers and JSON body, the way your clients call the API.

02

Check the answer

Check JSON fields, headers and keywords, so an endpoint that returns 200 with an error message still counts as a failure.

03

Response time by phase

Every check splits its response time into DNS, connect, TLS, server and download. See a slow endpoint before it times out.

API monitoring that checks what your clients depend on

An API can be up and still broken. A load balancer answers, the status code is 200, and the body says the database connection failed. Your mobile app, your partners and your own frontend all see an error, and a plain uptime check sees nothing wrong.

API monitoring calls your endpoints on a schedule and checks both that they answer and that the answer is right. In Uptimecheck it uses the same HTTP(S) monitors as website uptime monitoring, with the options an API needs.

What you can configure

  • Method: GET, POST, PUT, PATCH, DELETE, HEAD or OPTIONS.
  • Headers: up to 20, such as an API key, an Authorization header or a custom user agent.
  • Body: post a JSON payload to test a write path.
  • Expected status: codes or ranges, such as 200-299 or 201.
  • JSON and header checks: up to 10 checks that must all hold, such as $.status equals ok.
  • Keyword: text the response must or must not contain.
  • Timeout and slow limit: fail after up to 30 seconds, and get a slow alert when responses stay above your limit.

Which endpoints to monitor first

Start with the requests that make money or block users. For an online store that is the cart, checkout and payment callback. For a SaaS product it is login, the main read endpoint and any webhook you receive from a payment provider. The API monitoring checklist lists what to cover and how often, and our guide to health check endpoints shows what a good one returns.

A typical setup for lumenanalytics.io

  • GET /health every minute, with a JSON check that $.status equals ok.
  • POST /v1/events with a small test payload and an API key header.
  • GET /v1/reports with an Authorization header and a slow alert at 1,500 ms.

Know when an endpoint slows down

Uptimecheck checks from Stockholm, London and New York, and confirms every failure from a second location before an incident opens, which keeps a single dropped request from paging the team. Response times are stored per check and split into DNS, connect, TLS, server and download, so you can see that the reports endpoint went from 90 ms to 2.4 s at 14:00, that the time went to the server phase, and that the health check stayed flat.

When one request is not enough

Many API problems only show up in a sequence: log in, get a token, use it. A flow monitor runs up to 10 steps in order, saves a value such as a token or an order id from one step and uses it in the next. Secrets such as passwords are encrypted and never shown again.

Alerts and automation

When an endpoint fails, alerts go to email, Slack, Microsoft Teams, Discord, Google Chat, Mattermost, Telegram, PagerDuty, ntfy, Pushover, webhooks and push notifications on your phone, on every plan. Webhooks are signed, so your own tooling can verify where they came from. You can also manage monitors from code: on Professional and Business, the REST API creates and updates monitors from your deploy pipeline, so a new endpoint gets a monitor the day it ships.

Monitor dependencies, not only your own code

Your API depends on others: a payment provider, an email service, a hosting platform. When one of them fails, your endpoint may still answer while the feature behind it is broken. Add monitors for the endpoints that exercise them, and follow the status pages of suppliers such as Klarna, Shopify, Cloudflare and OpenAI with third-party monitoring. Then you can tell a customer within minutes whether the problem is yours or upstream.

Keep test traffic safe

Use a dedicated test account or API key for monitoring requests, and make write checks idempotent, so a POST every minute does not fill your database with test records. Tag monitoring traffic with a custom user agent header so it is easy to filter out of your own analytics and logs.

For background jobs that do not expose an endpoint, use cron job monitoring instead.

Plans start at €9 per month billed yearly or €12 billed monthly, excl. VAT. See all limits on the pricing page, or start a 14-day free trial without a card.

“UptimeCheck makes monitoring incredibly easy for developers like us. All we have to do is enter our website's URLs, choose the channels we want notifications delivered on (email, SMS, Slack, Telegram), and we're done!”

Rasmus Danielsson

Developer

API monitoring questions

Can I send a JSON body with an API check?

Yes. HTTP(S) monitors accept a custom method, headers and body, so you can post a JSON payload to test a write endpoint.

How do I monitor an API that needs an API key?

Add the key as a request header, for example an Authorization header with a bearer token or basic credentials.

What if the API returns 200 with an error?

Add a JSON check, such as $.status equals ok, or a keyword the response must not contain. If a check does not hold, the check fails and you get an alert.

Can I monitor a login followed by an API call?

Yes. A flow monitor runs several requests in order and carries values such as a token from one step to the next.

Can I create API monitors automatically?

Yes. On Professional and Business, the REST API can create, update and delete monitors, so your deploy pipeline can add them.

How do I check an API’s uptime?

Add an HTTP(S) monitor for the endpoint with the method, headers and body it needs, and a JSON or keyword check for the answer. Uptimecheck calls it as often as every minute from Stockholm, London and New York, confirms a failure with a second check before alerting, and records the response time of every call.

Guides on API monitoring

All guides

Guides 5 min read

API Monitoring Checklist: What to Check Beyond a 200 OK

An API can return 200 and still be broken. A practical checklist for API monitoring: methods, headers, request bodies, authentication, expected responses and response time thresholds.

Read

Guides 6 min read

502 Bad Gateway: What It Means and How to Fix It

A 502 Bad Gateway means a proxy, load balancer or CDN got no valid answer from the server behind it. How to find which layer failed, fix the usual causes and catch the next 502 before customers do.

Read

Works well with

Uptime monitoring

HTTP(S), ping and port checks every minute, confirmed by a second check before any alert.

Learn more

Flow monitoring

Multi-step checks for logins, forms, checkouts and API sequences.

Learn more

REST API and MCP

Manage monitors, maintenance and status updates from code or an AI assistant.

Learn more

Downtime is obsolete.

Set up your first monitor in under a minute, or look around the live demo first.

14-day free trial · Then free on 5 monitors · No credit card