For developers
Embed the Kp widget
Add a live aurora Kp index widget to any website. Free to use — just keep the attribution link. Data refreshes every 30 minutes from NASA space weather.
Option 1 — iframe embed
Drop this tag anywhere in your HTML. The widget is self-contained and works on any site without additional dependencies.
Live preview
Code
<iframe src="https://auroratonight.space/widget/kp" width="300" height="150" style="border:none;border-radius:12px;" title="Aurora Kp Index Widget" ></iframe>
Option 2 — JavaScript embed
Place a #aurora-widget div where you want the widget, then load the script. The widget injects all its own styles — no CSS required on your end.
Live preview
Code
<div id="aurora-widget"></div> <script src="https://auroratonight.space/widget/kp.js"></script>
Free to use — attribution required
The widget is free to embed on any website, commercial or otherwise. The "Live aurora forecast — auroratonight.space" link at the bottom of the widget must be kept intact. Do not remove or modify the attribution link.
Data is sourced from NASA DONKI and refreshes every 30 minutes.