---
title: Embeds and badges
description: "Show your status page's state elsewhere with an SVG badge, an iframe badge, a JSON endpoint and an announcement widget."
url: https://docs.zevsight.com/status-pages/embeds
---

# Embeds and badges

> Show your status page's state elsewhere with an SVG badge, an iframe badge, a JSON endpoint and an announcement widget.

Every published status page serves these alongside the page, on its `zevstatus.com` address or custom domain. They are on by default and can be turned off; then they return `404`. All of them allow any origin (CORS `*`) and are cached for 30 seconds.

In the examples, `https://acme.zevstatus.com` stands for your page.

## SVG badge

For a README or a dashboard:

```markdown
[![Status](https://acme.zevstatus.com/badge.svg)](https://acme.zevstatus.com)
```

The badge reads "status | All systems operational" (or the current state). Add `?theme=dark` for dark backgrounds.

## HTML badge

A small badge for an iframe:

```html
<iframe src="https://acme.zevstatus.com/badge?theme=light"
        width="250" height="30" frameborder="0" scrolling="no" title="Service status"></iframe>
```

`theme` is `light` or `dark`. The whole status page can be framed too.

## JSON

```bash
curl https://acme.zevstatus.com/api/status.json
```

```json
{
  "page": { "title": "Acme status", "url": "https://acme.zevstatus.com" },
  "overall": "operational",
  "updated_at": "2026-11-29T09:41:07Z",
  "stale": false,
  "announcement": null,
  "components": [
    { "group": "Core", "name": "API", "status": "operational", "uptime_pct": 99.98 }
  ]
}
```

`overall` and each `status` are one of `operational`, `degraded`, `partial_outage`, `major_outage`, `maintenance`, `unknown`. `stale` is true when the page could not be refreshed recently and shows the last known state. `announcement` is `{text, url, updated_at}` when the page has one.

## Announcement widget

Show a bar on your own site when the status page has an announcement or is not fully operational:

```html
<script src="https://acme.zevstatus.com/widget/announcement.js" async data-position="top"></script>
```

`data-position` is `top` or `bottom`. Visitors can dismiss the bar.
