/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/torricelli-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/torricelli-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/torricelli-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/torricelli-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": {
"api": "torricelli",
"note": "Torricelli efflux / orifice-discharge maths — computed locally and deterministically, no key, no third-party service.",
"defaults": {
"velocity_coefficient": 0.97,
"discharge_coefficient": 0.62
},
"endpoints": [
"/v1/velocity",
"/v1/drain-time",
"/v1/range",
"/v1/meta"
],
"gravity_default_ms2": 9.80665
},
"meta": {
"timestamp": "2026-06-04T10:18:53.244Z",
"request_id": "0b649a33-4e34-4501-86ac-f4a2f277e0e3"
},
"status": "ok",
"message": "Meta",
"success": true
}