Skip to content
GET /v1/clausius-clapeyron

Predict vapor pressure

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/vaporpressure-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "p2": 42585.151901,
        "note": "Clausius–Clapeyron: ln(P2/P1) = -ΔHvap/R·(1/T2 - 1/T1). Temperatures in kelvin; P2 comes out in the same pressure unit as P1; ΔHvap in J/mol; R = 8.314462618 J/(mol·K).",
        "inputs": {
            "p1": 101325,
            "t1": 373.15,
            "t2": 350,
            "enthalpy": 40660
        },
        "ln_p2_over_p1": -0.86682753
    },
    "meta": {
        "timestamp": "2026-06-05T19:50:32.338Z",
        "request_id": "9b09aedd-73fb-44ee-9689-99180e1c7d32"
    },
    "status": "ok",
    "message": "Clausius-Clapeyron vapor pressure",
    "success": true
}