Two badges
- Website status requests your URL and shows
upwith the response time, the status code if it is a 4xx, ordown. It refreshes every five minutes. - SSL expiry opens a TLS connection and shows the days left on the certificate: green above 30 days, yellow under 30, red under 14 or when the certificate is invalid. It refreshes every six hours.
Both are plain SVG images, so they work anywhere an image works: GitHub and GitLab READMEs, documentation sites, Notion, internal wikis and website footers.
Adding a badge to a GitHub README
Copy the Markdown snippet and paste it near the top of README.md, next to your build and coverage badges. GitHub fetches images through its own proxy (camo) and caches them, so the badge may lag a few minutes behind the live status. The badge links back to the matching free check, so anyone can see the details.
Set a custom label to fit your project, for example docs, api or demo. On a website, put the HTML snippet in the footer or on an about page: visitors see at a glance that you watch your own uptime, and the badge costs one small image request.
Badges are not alerts
A badge shows the state when someone looks at it. To hear about an outage or an expiring certificate before your users do, uptime monitoring checks every minute and alerts you, and status pages give your users a full history instead of a single badge. Read what uptime monitoring is for the basics.