Naar de inhoud
GET /v1/steinhart-hart

Steinhart-Hart

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/thermistor-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "note": "Steinhart-Hart: 1/T = A + B·ln R + C·(ln R)³. The most accurate NTC model; coefficients are fitted from three calibration points.",
        "inputs": {
            "a": 0.001009249522,
            "b": 0.0002378405444,
            "c": 2.019202697e-7,
            "resistance_ohm": 10000
        },
        "temperature_c": 24.6813,
        "temperature_k": 297.8313
    },
    "meta": {
        "timestamp": "2026-06-05T11:30:38.830Z",
        "request_id": "aab3284f-ba9e-41e5-b6b8-c0d34851ddc9"
    },
    "status": "ok",
    "message": "Steinhart-Hart",
    "success": true
}