/v1/temperature
Temperature from resistance
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/rtd-api/v1/temperature" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/rtd-api/v1/temperature", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/rtd-api/v1/temperature");
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/rtd-api/v1/temperature",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "Going from a measured resistance back to temperature inverts the Callendar–Van Dusen equation: above 0 °C it solves analytically as T = (−A + √(A² − 4B(1 − R/R₀))) ÷ 2B; below 0 °C the cubic term forces an iterative solution. This is exactly what a transmitter or data logger does with the bridge reading — mind the lead-wire resistance, which a 3- or 4-wire connection cancels out so it does not read as extra temperature.",
"inputs": {
"r0_ohm": 100,
"resistance_ohm": 138.5055
},
"temp_c": 100
},
"meta": {
"timestamp": "2026-06-07T08:18:00.621Z",
"request_id": "a611806c-8cb9-4dbf-90b5-18a6a218b158"
},
"status": "ok",
"message": "Temperature",
"success": true
}