/v1/meta
Spec
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/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_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}