/v1/alerts
Recent space-weather alerts, watches & warnings
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/spaceweather-api/v1/alerts" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/spaceweather-api/v1/alerts", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/spaceweather-api/v1/alerts");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/spaceweather-api/v1/alerts",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"count": 10,
"alerts": [
{
"id": "TIIA",
"message": "Space Weather Message Code: ALTTP2\nSerial Number: 1481\nIssue Time: 2026 May 01 1550 UTC\n\nALERT: Type II Radio Emission\nBegin Time: 2026 May 01 1535 UTC\nEstimated Velocity: 593 km/s\n\n\n\nDescription: Type II emissions occur in association with eruptions on the sun and typically indicate a coronal mass ejection is associated with a flare event.",
"issued_at": "2026-05-01 15:50:32.247"
},
{
"id": "TIIA",
"message": "Space Weather Message Code: ALTTP2\nSerial Number: 1482\nIssue Time: 2026 May 02 1111 UTC\n\nALERT: Type II Radio Emission\nBegin Time: 2026 May 02 1051 UTC\nEstimated Velocity: 641 km/s\n\nComment: Likely associated with C-class flare acitivity originating from AR 4420 on the west limb.\n\n\n\nDescription: Type II emissions occur in association with eruptions on the sun and typically indicate a coronal mass ejection is associated with a flare event.",
"issued_at": "2026-05-02 11:11:38.977"
},
{
"id": "K04W",
"message": "Space Weather Message Code: WARK04\nSerial Number: 5333\nIssue Time: 2026 May 04 1649 UTC\n\nWARNING: Geomagnetic K-index of 4 expected\nValid From: 2026 May 04 1645 UTC\nValid To: 2026 May 05 0300 UTC\nWarning Condition: Onset\n\nNOAA Space Weather Scale descriptions can be found at\nwww.swpc.noaa.gov/noaa-scales-explanation\n\nPotential Impacts: Area of impact primarily poleward of 65 degrees Geomagnetic Latitude.\nInduced Currents - Weak power grid fluctuations can occur.\nAurora - Aurora may be visible at high latitudes such as Canada and Alaska.",
"issued_at": "2026-05-04 16:49:32.777"
},
{
"id": "K04A",
"message": "Space Weather Message Code: ALTK04\nSerial Number: 2654\nIssue Time: 2026 May 04 1649 UTC\n\nALERT: Geomagnetic K-index of 4\n Threshold Reached: 2026 May 04 1647 UTC\nSynoptic Period: 1500-1800 UTC\n \nActive Warning: Yes\n\nNOAA Space Weather Scale descriptions can be found at\nwww.swpc.noaa.gov/noaa-scales-explanation\n\nPotential Impacts: Area of impact primarily poleward of 65 degrees Geomagnetic Latitude.\nInduced Currents - Weak power grid fluctuations can occur.\nAurora - Aurora may be visible at high latitudes such as Canada and Alaska.",
"issued_at": "2026-05-04 16:49:58.653"
},
{
"id": "K05W",
"message": "Space Weather Message Code: WARK05\nSerial Number: 2231\nIssue Time: 2026 May 04 1950 UTC\n\nWARNING: Geomagnetic K-index of 5 expected\nValid From: 2026 May 04 1945 UTC\nValid To: 2026 May 05 0000 UTC\nWarning Condition: Onset\nNOAA Scale: G1 - Minor\n\nNOAA Space Weather Scale descriptions can be found at\nwww.swpc.noaa.gov/noaa-scales-explanation\n\nPotential Impacts: Area
…