Naar de inhoud
GET /v1/capillary-rise

Capillary rise

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}