Zum Inhalt springen
GET /v1/types

Alert event types

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/weatheralerts-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/weatheralerts-api/v1/types" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/weatheralerts-api/v1/types", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/weatheralerts-api/v1/types");
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/weatheralerts-api/v1/types",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "count": 111,
        "event_types": [
            "911 Telephone Outage",
            "Administrative Message",
            "Air Quality Alert",
            "Air Stagnation Advisory",
            "Ashfall Advisory",
            "Ashfall Warning",
            "Avalanche Advisory",
            "Avalanche Warning",
            "Avalanche Watch",
            "Beach Hazards Statement",
            "Blizzard Warning",
            "Blowing Dust Advisory",
            "Blowing Dust Warning",
            "Blue Alert",
            "Brisk Wind Advisory",
            "Child Abduction Emergency",
            "Civil Danger Warning",
            "Civil Emergency Message",
            "Coastal Flood Advisory",
            "Coastal Flood Statement",
            "Coastal Flood Warning",
            "Coastal Flood Watch",
            "Cold Weather Advisory",
            "Dense Fog Advisory",
            "Dense Smoke Advisory",
            "Dust Advisory",
            "Dust Storm Warning",
            "Earthquake Warning",
            "Evacuation Immediate",
            "Extreme Heat Warning",
            "Extreme Heat Watch",
            "Extreme Cold Warning",
            "Extreme Cold Watch",
            "Extreme Fire Danger",
            "Extreme Wind Warning",
            "Fire Warning",
            "Fire Weather Watch",
            "Flash Flood Statement",
            "Flash Flood Warning",
            "Flash Flood Watch",
            "Flood Advisory",
            "Flood Statement",
            "Flood Warning",
            "Flood Watch",
            "Freeze Warning",
            "Freeze Watch",
            "Freezing Fog Advisory",
            "Freezing Spray Advisory",
            "Frost Advisory",
            "Gale Warning",
            "Gale Watch",
            "Hazardous Materials Warning",
            "Hazardous Seas Warning",
            "Hazardous Seas Watch",
            "Hazardous Weather Outlook",
            "Heat Advisory",
            "Heavy Freezing Spray Warning",
            "Heavy Freezing Spray Watch",
            "High Surf Advisory",
            "High Surf Warning",
            "High Wind Warning",
            "High Wind Watch",
            "Hurricane Force Wind Warning",
            "Hurricane Force Wind Watch",
            "Hurricane Warning",
            "Hurricane Watch",
            "Hydrologic Outlook",
            "Ice Storm Warning",
            "Lake Effect Snow Warning",
            "Lake Wind Advisory",
            "Lakeshore Flood Advisory",
            "Lakeshore Flood Statement",
            "Lakeshore Flood Warning",
            "Lakeshore Flood Watch",
            "Law Enforcement Warning",
            "Local Area Emergency",
            "Low Water Advisory",
            "Marine Weather Statement",
            "Nuclear Power Plant Warning",
            "Radiological Hazard Warning",
            "Red Flag Warning",
            "Rip Current Statement",
            "Severe Thunderstorm Warning",
        
…