Badge and JSON data
Copies this page as Markdown with context, so an AI can walk you through your case step by step.
A small indicator for your site or repository that shows whether everything works, always up to date.
Where it is
In Status pages, open your page and scroll to Badge for your website. You see a preview and the code ready to copy.
Options
| Option | What it changes |
|---|---|
| Shape | Rounded, pill or square |
| Left text | For example “status” or your service’s name. You can also leave it empty |
| Show | Status and uptime, status only or uptime only |
| Uptime period | 7, 30 or 90 days |
| Language | Spanish or English |
| Label background | Light or dark |
| Status color | A color of your own |
Every change updates the preview and the code. Copy it with Copy and paste it on your site:
<a href="https://status.ganyant.com/your-slug"><img src="https://ganyant.com/api/badge/your-slug.svg" alt="Status" height="22"></a>
In a GitHub README, in Markdown:
[](https://status.ganyant.com/your-slug)
Just the data
If you want to build your own indicator:
| Address | What it returns |
|---|---|
https://ganyant.com/api/badge/your-slug.json |
Status, 7, 30 and 90 day uptime and each monitor |
https://ganyant.com/api/badge/your-slug.json?only=uptime&period=30 |
Just the percentage, as text, for example 99.98 |
const r = await fetch('https://ganyant.com/api/badge/your-slug.json');
const { status, uptime } = await r.json();
The data is public, like the status page, and updates every few minutes.