Aller au contenu
GET /v1/heat

Q = m·c·ΔT solver

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/specificheat-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "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
}