/v1/meta
Spec
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/settling-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/settling-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/settling-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/settling-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"notes": "Diameter in m, density in kg/m³, viscosity in Pa·s. Water defaults: ρf = 1000, μ = 0.001. Stokes assumes spherical particles in creeping flow (Re < 1).",
"service": "settling-api",
"formulae": {
"time": "t = height/vt",
"stokes": "vt = (ρp − ρf)·g·d²/(18·μ)",
"terminal": "vt = √(4·g·d·(ρp − ρf)/(3·Cd·ρf))"
},
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/time": "Settling time over a depth, from a velocity or from particle properties.",
"GET /v1/stokes": "Stokes' law terminal velocity vt = (ρp−ρf)·g·d²/(18·μ), with a Reynolds validity check.",
"GET /v1/terminal": "Drag-based terminal velocity vt = √(4·g·d·(ρp−ρf)/(3·Cd·ρf)) for higher Reynolds numbers."
},
"description": "Particle settling-velocity calculator: Stokes' law terminal velocity, drag-based terminal velocity and settling time for sedimentation and separation."
},
"meta": {
"timestamp": "2026-06-04T18:38:23.615Z",
"request_id": "ca9b013f-fa50-4875-90d1-d03e78d09ab5"
},
"status": "ok",
"message": "Meta",
"success": true
}