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/rtd-api

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "notes": "Ohms, °C. IEC 60751 Pt (α=0.00385): R = R₀(1+A·T+B·T²) [+C·(T−100)·T³ below 0]; A=3.9083e-3, B=−5.775e-7, C=−4.183e-12. Pt100 R₀=100 Ω, Pt1000 R₀=1000 Ω. For NTC thermistors use a thermistor API; for thermocouples a thermocouple API.",
        "service": "rtd-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/tolerance": "Tolerance ±°C and ±Ω by accuracy class.",
            "GET /v1/resistance": "Resistance from temperature (Callendar–Van Dusen).",
            "GET /v1/temperature": "Temperature from a measured resistance."
        },
        "description": "RTD (Pt100/Pt1000) sensor maths: resistance↔temperature via Callendar–Van Dusen, and IEC 60751 tolerance bands."
    },
    "meta": {
        "timestamp": "2026-06-07T08:18:00.782Z",
        "request_id": "9da2281c-b5f8-4468-a32e-29c37506fff3"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}