Zum Inhalt springen
GET /v1/heat

Q = m·c·ΔT solver

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "mass": 1,
        "joules": 251160,
        "delta_t": 60,
        "formula": "Q = m·c·ΔT.",
        "calories": 60028.6807,
        "kilojoules": 251.16,
        "solved_for": "heat",
        "watt_hours": 69.766667,
        "kilocalories": 60.028681,
        "specific_heat": 4186,
        "specific_heat_source": "water"
    },
    "meta": {
        "timestamp": "2026-06-04T10:18:57.599Z",
        "request_id": "dc320df5-3136-4452-a15e-11ec761246bc"
    },
    "status": "ok",
    "message": "Q = m·c·ΔT solver",
    "success": true
}