Naar de inhoud
GET /v1/heat

Q = m·c·ΔT solver

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/specificheat-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}