Naar de inhoud
GET /v1/types

Alert event types

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/weatheralerts-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste 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",
        
…