/v1/mix
Equilibrium temperature
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/specificheat-api/v1/mix" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/specificheat-api/v1/mix", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/specificheat-api/v1/mix");
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/mix",
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": {
"note": "Assumes a perfectly insulated system with no phase change; heat lost by the hotter body equals heat gained by the colder.",
"body_1": {
"mass": 2,
"temperature": 90,
"specific_heat": 4186
},
"body_2": {
"mass": 1,
"temperature": 20,
"specific_heat": 4186
},
"formula": "Tf = (m1·c1·T1 + m2·c2·T2) / (m1·c1 + m2·c2).",
"equilibrium_temperature": 66.666667,
"heat_transferred_to_body_1": {
"joules": -195346.6667,
"calories": -46688.9739,
"kilojoules": -195.346667,
"watt_hours": -54.262963,
"kilocalories": -46.688974
}
},
"meta": {
"timestamp": "2026-06-04T10:18:57.811Z",
"request_id": "98cd4fdd-33dd-42b0-9774-0431300c4d2b"
},
"status": "ok",
"message": "Equilibrium temperature of two bodies",
"success": true
}