Aller au contenu
GET /v1/yield

Sap → syrup yield

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/maple-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

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