/v1/altitude
Altitude-adjusted target
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/candytemp-api/v1/altitude" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/candytemp-api/v1/altitude", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/candytemp-api/v1/altitude");
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/candytemp-api/v1/altitude",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"note": "Cook candy to 1 °F lower for every 500 ft of elevation (water boils cooler, so sugar concentrates at a lower reading). At 5,000 ft a 300 °F hard-crack recipe is done at 290 °F. Or test the syrup in cold water instead of trusting the thermometer alone.",
"inputs": {
"unit": "f",
"altitude_ft": 5000,
"sea_level_temp": 300
},
"adjustment_f": -10,
"adjusted_temp_c": 143.3,
"adjusted_temp_f": 290
},
"meta": {
"timestamp": "2026-06-06T15:30:52.743Z",
"request_id": "667a2ed0-2599-4e39-9caf-d71e127e06fe"
},
"status": "ok",
"message": "Altitude adjust",
"success": true
}