Zum Inhalt springen
GET /v1/meta

Usage notes

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

Beispiel-Response

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

{
    "data": {
        "note": "Live US weather alerts. /v1/alerts?area=TX (or point=lat,lon, or zone=TXZ211; filter severity=Extreme|Severe|Moderate|Minor, urgency=, event=Tornado Warning) = active warnings/watches/advisories with headline, description, instruction, effective/expires; /v1/count = how many alerts are active, by state; /v1/zone?id=DCZ001 = a forecast/county zone (name, state, office, timezone); /v1/point?lat=38.9&lon=-77.0 = a location's NWS office, forecast zone & county; /v1/types = the list of alert event types; /v1/glossary?term=tornado = NWS weather term definitions. Covers the United States. For forecasts use the Weather API; for airport METARs the METAR API.",
        "source": "US National Weather Service (api.weather.gov)",
        "endpoints": [
            "/v1/alerts",
            "/v1/count",
            "/v1/zone",
            "/v1/point",
            "/v1/types",
            "/v1/glossary",
            "/v1/meta"
        ]
    },
    "meta": {
        "timestamp": "2026-06-01T00:03:41.335Z",
        "request_id": "f7d3c0e2-8d69-40af-a9da-f2533524d56c"
    },
    "status": "ok",
    "message": "Meta retrieved",
    "success": true
}