Zum Inhalt springen
GET /v1/meta

Spec

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "notes": "Type K (chromel–alumel), NIST ITS-90 direct coefficients; voltage→temperature inverted by bisection. t in °C, E in mV. Reference (cold) junction defaults to 0 °C.",
        "range": {
            "emf_mv": [
                -6.458,
                54.886
            ],
            "temperature_c": [
                -270,
                1372
            ]
        },
        "service": "thermocouple-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/voltage": "Temperature (°C) → thermo-EMF (mV), with reference-junction compensation.",
            "GET /v1/temperature": "Measured EMF (mV) → hot-junction temperature, given the reference-junction temperature."
        },
        "description": "Type-K thermocouple temperature↔EMF conversion (NIST ITS-90) with cold-junction compensation."
    },
    "meta": {
        "timestamp": "2026-06-05T19:50:30.370Z",
        "request_id": "dd525a4e-e973-4adc-9336-ddf2c1836c9d"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}