/v1/capillary-rise
Capillary rise
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/capillary-api/v1/capillary-rise" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/capillary-api/v1/capillary-rise", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/capillary-api/v1/capillary-rise");
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/capillary-rise",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"note": "Jurin's law: h = 2γ·cosθ / (ρ·g·r). A contact angle above 90° (e.g. mercury) gives a depression.",
"inputs": {
"radius_m": 0.0005,
"gravity_ms2": 9.80665,
"density_kg_m3": 1000,
"contact_angle_deg": 0,
"surface_tension_n_m": 0.0728
},
"direction": "rise (wetting, θ < 90°)",
"capillary_rise_m": 0.029694136,
"capillary_rise_mm": 29.694136
},
"meta": {
"timestamp": "2026-06-05T03:08:57.906Z",
"request_id": "5eb93a61-bfc5-40d0-bdbc-dd1066305296"
},
"status": "ok",
"message": "Capillary rise",
"success": true
}