Zum Inhalt springen
GET /v1/yield

Van Slyke cheese yield

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/cheese-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "note": "Van Slyke yield % = [(0.93·fat) + (casein − 0.1)] × 1.09 / (1 − moisture). About 10 kg of cheddar per 100 kg of milk. Casein ≈ 0.78 × true protein.",
        "inputs": {
            "fat_percent": 3.5,
            "casein_percent": 2.5,
            "moisture_percent": 37
        },
        "yield_percent": 9.784,
        "milk_weight_kg": 103.2,
        "cheese_yield_kg": 10.097,
        "milk_volume_liters": 100,
        "milk_per_kg_cheese_liters": 9.9
    },
    "meta": {
        "timestamp": "2026-06-06T07:14:11.444Z",
        "request_id": "e5922ef1-6b3a-40ed-8406-369f094468c3"
    },
    "status": "ok",
    "message": "Cheese yield",
    "success": true
}