Naar de inhoud
GET /v1/meta

Spec

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/grainbin-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "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
}