Vai al contenuto
GET /v1/steinhart-hart

Steinhart-Hart

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/thermistor-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}