/v1/laplace-pressure
Young-Laplace pressure
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/capillary-api/v1/laplace-pressure" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/capillary-api/v1/laplace-pressure", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/capillary-api/v1/laplace-pressure");
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/capillary-api/v1/laplace-pressure",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "Young-Laplace: a liquid droplet ΔP = 2γ/r; a soap bubble has two surfaces so ΔP = 4γ/r; a cylindrical jet ΔP = γ/r.",
"inputs": {
"shape": "droplet",
"radius_m": 0.001,
"surface_tension_n_m": 0.0728
},
"formula_factor": 2,
"excess_pressure_pa": 145.6,
"excess_pressure_kpa": 0.1456
},
"meta": {
"timestamp": "2026-06-05T03:08:57.984Z",
"request_id": "aad444ef-5d52-4449-8bd2-72a0047863c8"
},
"status": "ok",
"message": "Laplace pressure",
"success": true
}