API Monitoring

Test what your API actually returns.
Not just that it responds.

Go beyond 200 OK. Assert JSON values, array lengths, response shape and headers; validate auth and token flows; and track latency across your critical endpoints.

GET /api/v2/users

GET /api/v2/users

200 OK
87ms
Response Time
ASSERT json.users.length > 0Passed (Got: 42)
ASSERT headers["content-type"]Passed (application/json)

Beyond the status code.

A 200 OK only tells you the server answered. Assert the shape, values, and headers of real API responses, and validate the auth flows that protect them.

4/4 Passed
Response Assertions
json users.length > 0
PASS
json users[0].id exists
PASS
header content-type application/json
PASS
json error absent
PASS
Endpoint: GET /api/v2/usersLast checked: just now

Deep response assertions

Write fine-grained assertions against the JSON body, headers, and status of every response. Catch the subtle bugs that only appear when your API starts returning empty arrays, wrong field types, or missing keys.

  • Assert specific JSON values and array lengths
  • Validate required fields and response shape
  • Check response headers and content types

Auth & token flows

Test your authentication layer end-to-end. Issue tokens, use them on protected routes, and verify that bad tokens are correctly rejected, all on a schedule, so a broken auth flow never catches you by surprise.

  • Test secured endpoints with scoped credentials and custom headers
  • Validate token creation and refresh behavior
  • Verify authorization rules reject bad tokens

Auth Flow

POST /auth/token200 OK
Body: { email, password }
Authorization: Bearer eyJhbGci...
GET /me200 OK
Uses token from step 1
bad token
GET /me401 Unauthorized
ASSERT rejected, PASS

Latency Breakdown, GET /api/v2/users

DNS Lookup6ms
TCP Connect18ms
TLS Handshake32ms
Time to First Byte (TTFB)87ms
p95 threshold: 120ms

Latency & degradation

A slow API is an unreliable API. Track the full latency chain (DNS, connect, TLS, and TTFB) so you can spot where time is being lost and catch gradual regressions before they cross your SLA.

  • Alert on p95 latency thresholds
  • Detect gradual degradations early
  • Separate DNS/connect/TTFB timings

Catch the failure your status check misses.

Validate real API behavior in under a minute.

Create Your First Monitor