Ir al contenido
GET /v1/phase-change

Full heating/cooling enthalpy path

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/enthalpy-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "note": "Total enthalpy change combines sensible heat (m·c·ΔT) in each phase with the latent heat at every transition crossed.",
        "steps": [
            {
                "to_c": 0,
                "type": "sensible",
                "phase": "solid",
                "from_c": -10,
                "energy_joules": 20900,
                "specific_heat_j_per_kg_k": 2090
            },
            {
                "at_c": 0,
                "type": "latent_fusion",
                "energy_joules": 334000,
                "latent_heat_j_per_kg": 334000
            },
            {
                "to_c": 100,
                "type": "sensible",
                "phase": "liquid",
                "from_c": 0,
                "energy_joules": 418600,
                "specific_heat_j_per_kg_k": 4186
            },
            {
                "at_c": 100,
                "type": "latent_vaporization",
                "energy_joules": 2256000,
                "latent_heat_j_per_kg": 2256000
            },
            {
                "to_c": 110,
                "type": "sensible",
                "phase": "gas",
                "from_c": 100,
                "energy_joules": 20100,
                "specific_heat_j_per_kg_k": 2010
            }
        ],
        "mass_kg": 1,
        "process": "heating (energy absorbed)",
        "energy_kj": 3049.6,
        "energy_wh": 847.11111111,
        "substance": "water",
        "energy_kcal": 728.87189293,
        "energy_joules": 3049600,
        "boiling_point_c": 100,
        "melting_point_c": 0,
        "final_temperature_c": 110,
        "initial_temperature_c": -10
    },
    "meta": {
        "timestamp": "2026-06-04T10:18:53.466Z",
        "request_id": "b0e42208-8fe0-41d4-8c51-e9c273c3d7d5"
    },
    "status": "ok",
    "message": "Full heating/cooling path",
    "success": true
}