/v1/zone
Single subzone by code
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/hardiness-api/v1/zone" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hardiness-api/v1/zone", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hardiness-api/v1/zone");
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/hardiness-api/v1/zone",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"code": "6b",
"zone": 6,
"subzone": "b",
"description": "Average annual extreme minimum -5°F to 0°F (-20.6°C to -17.8°C)",
"example_regions": [
"St. Louis, MO",
"Berlin",
"London (cold)"
],
"temperature_range_c": {
"max": -17.8,
"min": -20.6
},
"temperature_range_f": {
"max": 0,
"min": -5
}
},
"meta": {
"timestamp": "2026-05-30T22:48:28.312Z",
"request_id": "c19be7b1-376c-48f3-b855-0ac989f9a05c"
},
"status": "ok",
"message": "Zone retrieved",
"success": true
}