Badges
What is it for
Section titled “What is it for”A badge is a small SVG image that shows the live status or the uptime of one monitor, for a README, an internal wiki or a dashboard. It needs no login.
When to use it
Section titled “When to use it”Use badges when you want a quick, glanceable signal in a place that cannot show a full status page. A badge shows one monitor. To show the status of a whole status page on your site, use the status page widgets.
Enable a badge
Section titled “Enable a badge”Anyone with the member role can enable the badge in the monitor settings. CronBeat creates a secret random key for the monitor. The images live on the ping host:
https://api.cronbeat.dev/badge/BADGE_KEY/status.svghttps://api.cronbeat.dev/badge/BADGE_KEY/uptime.svghttps://api.cronbeat.dev/badge/BADGE_KEY/uptime.svg?range=24hhttps://api.cronbeat.dev/badge/BADGE_KEY/response.svghttps://api.cronbeat.dev/badge/BADGE_KEY/last-ping.svghttps://api.cronbeat.dev/badge/BADGE_KEY/status.svg?style=for-the-badge&label=backupstatus.svgshows the current status (up,down,late,running,paused,new) ormaintenance.uptime.svgshows the uptime percentage, orno data.rangeis24h,7d(default) or90d.response.svgshows the average response time overrange(same values).last-ping.svgshows how long ago the last ping arrived.style(all kinds) isflat(default),flat-squareorfor-the-badge.label(all kinds) replaces the left text, up to 24 characters.- Images are cached for 60 seconds and limited to 300 requests per minute per IP address.
Markdown:
What happens when
Section titled “What happens when”| Situation | Result |
|---|---|
| You disable the badge | The address answers 404 (an image saying not found). |
| You enable it again | A new key is created, so the old address stays dead. Use this to rotate a leaked address. |
| The monitor goes down | The status badge turns red within about a minute (cache time). |
| The monitor is in maintenance | The status badge says maintenance and the uptime is not reduced. |
The badge key is different from the ping key and cannot be used to send pings. Anyone who has the badge address can see the status of this one monitor, nothing more.

