Naar de inhoud
GET /v1/phase-change

Full heating/cooling enthalpy path

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

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