/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/tankvolume-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/tankvolume-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/tankvolume-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/tankvolume-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": "All lengths in metres, volume in m³ and litres. Pass radius or diameter. This is tank gauging by geometry; for flow rate use a flow-rate API.",
"service": "tankvolume-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/sphere": "Liquid volume in a spherical tank at a fill height (spherical cap).",
"GET /v1/vertical-cylinder": "Liquid volume in a vertical cylindrical tank at a fill height.",
"GET /v1/horizontal-cylinder": "Liquid volume in a horizontal cylindrical tank at a fill height."
},
"description": "Liquid volume in partially-filled tanks: horizontal cylinder, vertical cylinder and spherical tank."
},
"meta": {
"timestamp": "2026-06-05T19:50:27.727Z",
"request_id": "128cb1d4-266c-48a8-9b0e-dbef48cc5694"
},
"status": "ok",
"message": "Meta",
"success": true
}