/v1/altitude
Altitude-adjusted target
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
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_..."}
)
Example response
A real response from this endpoint, captured by the latest 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
}