Aller au contenu
GET /v1/resistance

Resistance from temperature

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/rtd-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "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
}