API monitoringPartly available
Know when your API stops answering properly.
Point Timmy at an API endpoint and it checks the status code, the response time and, with a keyword, the body, sending your API key or token if it needs one. POST bodies, your own expected status codes and JSON assertions are Coming soon.
Highlights
Status and speed
Any final status from 200 to 399 is On time; anything else is Cancelled with the code. Answers slower than your threshold are Delayed.
Check the body
Add a keyword the response must contain, such as "status":"ok", or must not contain, such as "error". A miss is Cancelled.
Measured per region
Response time is the time to the final answer's headers, charted per region for the last hour, day and week.
Authentication and headers
Send an API key in a header of your own, a bearer token or basic auth. Values are encrypted, write-only and only ever sent to that endpoint's own site.
POST and request bodies
Coming soonCall endpoints with POST, PUT and other methods, with a JSON body.
JSON assertions
Coming soonCheck a field in the JSON response equals a value, and accept status codes you choose.
How it works
Set it up in a few steps
- 01
Add a departure
Open Departures, press "+ Add departure" and keep "Website or API".
- 02
Enter the endpoint
Paste the full URL, for example https://api.example.com/health. Choose GET, or HEAD if you only need the status code.
- 03
Add a key or token if it needs one
Open "Request headers and sign-in" and add a header such as X-Api-Key, or pick a bearer token or username and password.
- 04
Add a body check
Under "Keyword check" choose "Page must contain" and enter a string from a healthy response, such as "status":"ok". The match is case-insensitive, within the first 1 MB.
- 05
Set thresholds and save
Set "Delayed after" and "Cancelled after", tick your platforms and press "Add departure".
The details
Exactly what it does
| Methods | GET or HEAD. Keyword checks always use GET. |
|---|---|
| Counts as On time | Final status 200 to 399, within the slow threshold, and the keyword rule passes if set. |
| Counts as Delayed | Correct answer but slower than "Delayed after" (0.1 s up to the timeout, default 3 s). |
| Counts as Cancelled | Any other status code, a timeout, DNS, connection or TLS error, or a failed keyword rule. |
| Timeout | 1 to 30 seconds, default 10 seconds. |
| Body check | One keyword, 1 to 200 characters, contains or must-not-contain, case-insensitive, first 1 MB of the body. |
| Headers sent | User-Agent: UptimeTimmy/1.0 (+https://www.uptimetimmy.com) and Accept: */*, plus up to 20 of your own (8 KB in all). Host, Content-Length, connection headers, Authorization and User-Agent can't be set. |
| Authentication | Bearer token or basic (username and password), sent as Authorization. Encrypted at rest, write-only, and sent only to the URL's own site: a redirect to another site goes without it. Credentials in the URL (user:pass@host) are refused. |
| Check interval | 5, 10, 30 or 60 minutes. Free plan every hour; Solo every 30 minutes at the shortest; Team and Agency every 5 minutes. |
| Endpoints allowed | Public http:// and https:// URLs up to 2,048 characters. Private and internal addresses are refused. |
| Redirects | Followed up to 5 hops. |
Good for
What people use it for
- Public health or status endpoints such as /health or /api/status
- Read endpoints behind an API key or bearer token
- Webhook receivers that answer GET with a 2xx
- Checking an API gateway or CDN is answering in every region
Coming soon
Not there yet
- Coming soonPOST, PUT, PATCH and DELETE requests with a body
- Coming soonJSON assertions on response fields
- Coming soonCustom expected status codes
- Coming soonMulti-step API transactions
FAQ
Frequently asked questions
Can I monitor an endpoint that needs an API key?
Yes. Put the key in a header of your own (X-Api-Key, for example) or choose a bearer token or a username and password. Timmy encrypts them, never shows them again, and sends them only to that URL's own site. Credentials typed into the URL itself are still refused.
Can I check a value in the JSON response?
Partly. A keyword check searches the raw body text, so "status":"ok" works if that's exactly how your API writes it. Proper JSON field assertions are Coming soon.
My endpoint returns 401 or 204 on purpose. Is that up?
204 is up, since anything from 200 to 399 is On time. 401 counts as Cancelled; choosing your own expected status codes is Coming soon.
Can I call an API to manage Timmy itself?
Yes, that's a separate thing: the Uptime Timmy REST API lets you create, pause and read monitors, incidents and maintenance windows. See the developer pages.
Related
Website & endpoint monitoring
HTTP(S) checks from four regions, as often as every 5 minutes.
Keyword monitoring
Check a word is on the page, or isn't, not just the status code.
Response time monitoring
Get warned when answers slow down, per monitor and region.
Integrations
Slack, Teams, Discord, webhooks, email, SMS and voice calls
Start monitoring in 30 seconds
There’s nothing to install and no card to enter. The free plan stays free.
Get started free