Custom Domains & Live JSON API (/data.json)
Every Weatherstage dashboard supports both custom domains with automatic HTTPS and a live, structured JSON weather API at /data.json—making it easy to brand your weather site or integrate your station into external apps, websites, and displays.
Part 1: Setting Up a Custom Domain
Serve your live weather dashboard directly at weather.yourdomain.com or an apex domain like myweatherpage.net:
- Log in and open your Weatherstage settings page.
- Scroll to Custom Domain, enter your domain (e.g.,
weather.yourdomain.com), and click Add Custom Domain. - Weatherstage generates the exact DNS records you need (routing
CNAME, ownership verification, and automatic SSL certificate validation). - Add those records at your domain registrar (Cloudflare, Namecheap, Hetzner, Porkbun, Route 53, etc.).
- Once DNS propagates (usually a few minutes), HTTPS/SSL activates automatically.
- Optional: Toggle Redirect subdomain to custom domain to permanently redirect (HTTP 301) visitors from
yourname.weatherstage.comto your custom domain and keep SEO consolidated on a single canonical URL.
Part 2: Live Weather JSON API (/data.json)
Every public Weatherstage dashboard automatically serves live weather data in JSON format at:
https://yourname.weatherstage.com/data.json
(Or https://weather.yourdomain.com/data.json if you use a custom domain.)
Try the live demo endpoint right now: https://warnitz.weatherstage.com/data.json
Example JSON Response
{
"title": "Warnitz Weather",
"status": "ok",
"updated_at": "2026-11-29T18:45:00Z",
"period": {
"start": "2026-11-28T18:45:00Z",
"end": "2026-11-29T18:45:00Z"
},
"cards": [
{
"type": "temperature",
"label": "Temperature",
"value": 12.4,
"unit": "c",
"timestamp": "2026-11-29T18:45:00Z",
"minimum": { "value": 6.1, "timestamp": "2026-11-29T05:20:00Z" },
"maximum": { "value": 14.8, "timestamp": "2026-11-29T13:15:00Z" },
"history": {
"unit": "c",
"interval_seconds": 300,
"points": [
{ "timestamp": "2026-11-29T18:40:00Z", "value": 12.5 }
]
}
}
]
}
Key API Details
- Respects your customization: Cards appear in your configured order, with your chosen display units (
c/f,mm/in,kmh/mph,hpa/inhg), visibility rules, min/max extremes, and graph history. - Localization: Send
Accept-Language: de(oren) to receive localized default card labels. - Great for: Embedding live weather on club/village websites, TRMNL / ESP32 e-ink displays, desktop widgets, or reading back into Home Assistant.