/v1/bushels
Bushels in a round bin
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/grainbin-api/v1/bushels" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/grainbin-api/v1/bushels", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/grainbin-api/v1/bushels");
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/bushels",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "A round bin holds floor area × grain depth in cubic feet, and 1 ft³ ≈ 0.8036 bushels. Grain heaped to a peak adds a cone: (1/3) × floor area × peak height. An 18-ft bin filled 20 ft level holds about 4,090 bushels.",
"inputs": {
"diameter_ft": 18,
"fill_height_ft": 20,
"peak_height_ft": 0
},
"peak_bushels": 0,
"level_bushels": 4090,
"total_bushels": 4090,
"floor_area_sqft": 254.5,
"total_cubic_feet": 5089.4
},
"meta": {
"timestamp": "2026-06-06T15:30:50.135Z",
"request_id": "d035f950-c13b-42a4-8b22-ad059aa3bb3d"
},
"status": "ok",
"message": "Bin bushels",
"success": true
}