Vai al contenuto
GET /v1/yield

Frozen volume and scoops

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/icecream-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "note": "Freezing inflates the mix by its overrun, so the frozen volume = the mix volume × (1 + overrun/100) and the servings = that ÷ the scoop size, rounded down. 2 litres of mix at 60 % overrun yields 3.2 litres — about 53 sixty-millilitre scoops. This is why overrun is a cost lever: the same mix stretches to far more servings at higher overrun, at the price of body and richness.",
        "inputs": {
            "scoop_ml": 60,
            "overrun_pct": 60,
            "mix_volume_ml": 2000
        },
        "scoops": 53,
        "final_volume_l": 3.2,
        "final_volume_ml": 3200
    },
    "meta": {
        "timestamp": "2026-06-07T08:17:53.514Z",
        "request_id": "1db47efa-af0a-415a-b52b-8867f013456e"
    },
    "status": "ok",
    "message": "Yield",
    "success": true
}