Explore documentation
JSON API status
Access your status page data programmatically through a public JSON API endpoint. Poll the endpoint to retrieve current status, historical uptime data, and incident information in a structured format.
Access the JSON endpoint
Add /index.json to the end of any status page URL:
This returns a JSON response with complete status page data.
Response structure
The JSON API returns a JSON:API compliant response with the following structure:
Status page attributes
Main status page data
Located in data.attributes:
| Field | Type | Description |
|---|---|---|
company_name |
string | Your company name |
company_url |
string | Your company website URL |
contact_url |
string | Support or contact URL |
logo_url |
string | Logo image URL |
timezone |
string | Status page timezone |
subdomain |
string | Better Stack subdomain |
custom_domain |
string | Custom domain if configured |
announcement |
string | Current system announcement text |
aggregate_state |
string | Overall status indicator |
created_at |
string | Status page creation date (ISO 8601) |
updated_at |
string | Last update timestamp (ISO 8601) |
Aggregate state values
The aggregate_state field indicates overall system status:
operational- All services working normallydegraded- Some services experiencing issuesdowntime- Major service disruptionmaintenance- Scheduled maintenance in progress
Included resources
The included array contains detailed information about:
Status page sections
Sections organize your monitors into logical groups:
Status page resources
Individual monitors with availability and status history:
Resource status values
operational- Service working normallydegraded- Service experiencing issuesdowntime- Service unavailablemaintenance- Service under maintenancenot_monitored- Service not being monitored during this period
Status history
Each resource includes 90 days of historical data with:
day- Date in YYYY-MM-DD formatstatus- Service status on that daydowntime_duration- Total downtime in secondsmaintenance_duration- Total maintenance time in seconds
Status reports
Active incidents and maintenance windows:
Report types
manual- Manually created incidentautomatic- Automatically created from monitor failuremaintenance- Scheduled maintenance window
Status updates
Individual updates posted to incidents:
Need help?
Please let us know at hello@betterstack.com. We're happy to help! ๐