Zum Inhalt springen
GET /v1/steinhart-hart

Steinhart-Hart

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/thermistor-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}