Naar de inhoud
GET /v1/yield

Sap → syrup yield

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/maple-api/v1/yield" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/maple-api/v1/yield", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/maple-api/v1/yield");
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/maple-api/v1/yield",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

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

{
    "data": {
        "note": "Sugar balance: syrup = sap × (sap °Brix / syrup °Brix), finished at ~66.9 °Brix. Jones' Rule of 86 (86 ÷ sap °Brix) is the classic field estimate of sap-per-syrup; 2% sap is the famous ~43:1.",
        "inputs": {
            "sap_brix": 2,
            "sap_volume": 100,
            "syrup_brix": 66.9
        },
        "syrup_volume": 2.9895,
        "rule_of_86_ratio": 43,
        "sap_to_syrup_ratio": 33.45,
        "water_to_evaporate": 97.0105
    },
    "meta": {
        "timestamp": "2026-06-06T07:14:11.143Z",
        "request_id": "0799afc1-fd52-49eb-949b-b31ff1eef5e6"
    },
    "status": "ok",
    "message": "Sap to syrup",
    "success": true
}