/v1/meta
Usage notes
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
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_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}