Add a widget to your website
Instatus offers three ways to show your status on your own website: a floating widget that pops up during incidents, a badge for your footer, and a summary.json endpoint for building a custom widget.
To add one, go to dashboard.instatus.com, choose your status page, open Widget, pick the widget type and copy the code.
How do I add a floating widget?
-
Login to Instatus from instatus.com/login then choose your status page.
-
Go to Widget → Floating.
-
Customize your widget to your liking by choosing:
- Background color
- Foreground color
- Position of your widget relative to the page
- Copy your widget script and paste it in the body of your HTML page.

How do I add a status badge to my footer?
-
Login to Instatus from instatus.com/login then choose your status page.
-
Go to Widget → Badge.
-
Choose light or dark mode
-
Choose your size (small, medium or large) 🤏
-
Embed the code in your HTML page

How do I build a custom widget?
Fetch summary.json from your status page to get the current status, active incidents and maintenances as live data for your own widget:
https://[YOUR-STATUS-PAGE]/summary.json
Sample response:
{"page": {"name": "Instatus","url": "https://instat.us","status": "HASISSUES"},"activeIncidents": [{"name": "We're facing an issue with our API","started": "Sat Jun 11 2022 18:55:50 (Coordinated Universal Time)","status": "INVESTIGATING","impact": "MAJOROUTAGE","url": "https://testing-widget.instatus.com/incident/cl4a"}],"activeMaintenances": [{"name": "Database maintenance","start": "Sat Jun 11 2022 18:55:54 (Coordinated Universal Time)","status": "NOTSTARTEDYET","duration": "60","url": "https://testing-widget.instatus.com/maintenance/cl4"}]}
Possible page statuses:
UPHASISSUESUNDERMAINTENANCE
Possible incident statuses:
INVESTIGATINGIDENTIFIEDMONITORINGRESOLVED
Possible maintenance statuses:
NOTSTARTEDYETINPROGRESSCOMPLETED