/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/grainbin-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/grainbin-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/grainbin-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/grainbin-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": "Round bins: bushels = (π/4·d²·depth) × 0.8036; peak adds (1/3)·area·peak. Test weights: corn 56, wheat/soy 60, oats 32, barley 48 lb/bu. Feet and bushels. For grain-drying or aeration use a different tool.",
"service": "grainbin-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/weight": "Grain weight (lb / tons / tonnes) from bushels by crop test weight.",
"GET /v1/bushels": "Bushels in a round bin from diameter, fill height and an optional peak."
},
"description": "Grain-bin storage maths: bushels in a round bin (level fill plus cone peak), and grain weight from bushels by crop."
},
"meta": {
"timestamp": "2026-06-06T15:30:50.327Z",
"request_id": "913c0e54-3e55-44c0-bfea-62a5d6847826"
},
"status": "ok",
"message": "Meta",
"success": true
}