Zum Inhalt springen
GET /v1/meta

Spec

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/capillary-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "notes": "Surface tension in N/m, radii and lengths in m, density in kg/m³, viscosity in Pa·s, pressures in Pa. Water γ ≈ 0.0728 N/m at 20 °C.",
        "service": "capillary-api",
        "formulae": {
            "poiseuille": "Q = π·r⁴·ΔP / (8·μ·L)",
            "capillary_rise": "h = 2γ·cosθ / (ρ·g·r)",
            "laplace_droplet": "ΔP = 2γ/r"
        },
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/poiseuille": "Laminar pipe flow rate and velocity from radius, pressure drop and viscosity.",
            "GET /v1/capillary-rise": "Capillary rise (or depression) height from surface tension, radius and contact angle.",
            "GET /v1/laplace-pressure": "Excess pressure inside a droplet, soap bubble or cylindrical jet."
        },
        "description": "Surface-tension and small-scale fluid calculator: capillary rise (Jurin's law), Young-Laplace excess pressure for droplets and bubbles, and Hagen-Poiseuille laminar pipe flow."
    },
    "meta": {
        "timestamp": "2026-06-05T03:08:58.111Z",
        "request_id": "c5ee366d-147f-48e1-a52a-44ddfb7bd56d"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}