Vai al contenuto
GET /v1/mix

Equilibrium temperature

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/specificheat-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

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