Skip to content
GET /v1/resistance

Resistance from temperature

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/resistance" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/rtd-api/v1/resistance", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/rtd-api/v1/resistance");
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/resistance",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "note": "An RTD's resistance follows the IEC 60751 Callendar–Van Dusen equation: above 0 °C, R = R₀·(1 + A·T + B·T²) with A = 3.9083×10⁻³ and B = −5.775×10⁻⁷; below 0 °C a third term adds C·(T−100)·T³. A standard Pt100 (R₀ = 100 Ω at 0 °C) reads 138.51 Ω at 100 °C; a Pt1000 is ten times that. The platinum's near-linear, repeatable response is why RTDs beat thermistors for accuracy over a wide range.",
        "inputs": {
            "r0_ohm": 100,
            "temp_c": 100
        },
        "ratio_r_r0": 1.385055,
        "resistance_ohm": 138.5055
    },
    "meta": {
        "timestamp": "2026-06-07T08:18:00.508Z",
        "request_id": "492af0be-466b-4a8b-aeae-d75a81c03b8e"
    },
    "status": "ok",
    "message": "Resistance",
    "success": true
}