/v1/from-temp
Zone from minimum temperature
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/hardiness-api/v1/from-temp" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hardiness-api/v1/from-temp", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hardiness-api/v1/from-temp");
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/from-temp",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"code": "7a",
"zone": 7,
"input": {
"min_temp_c": -17.8,
"min_temp_f": 0
},
"subzone": "a",
"description": "Average annual extreme minimum 0°F to 5°F (-17.8°C to -15°C)",
"example_regions": [
"Washington, DC",
"Atlanta (cool)",
"Paris"
],
"temperature_range_c": {
"max": -15,
"min": -17.8
},
"temperature_range_f": {
"max": 5,
"min": 0
}
},
"meta": {
"timestamp": "2026-05-30T22:48:28.168Z",
"request_id": "c0cd0afc-d5f5-4d3a-98ec-41291a7909e6"
},
"status": "ok",
"message": "Zone computed",
"success": true
}