Skip to content
GET /v1/temperature

Temperature from resistance

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/rtd-api

It works. Grab an API key and use it in your project.

Get an API key

Code 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_..."}
)

Example response

A real response from this endpoint, captured by the latest 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
}