/v1/total-solids
Total-solids balance of a mix
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/icecream-api/v1/total-solids" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/icecream-api/v1/total-solids", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/icecream-api/v1/total-solids");
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/total-solids",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "Total solids = everything that is not water (sugar + fat + milk-solids-not-fat + other), as a percent of the mix weight. Solids carry the body, flavour and scoopability; a typical ice cream runs 36–42 % total solids with ~10–16 % fat and ~9–12 % MSNF, gelato lower in fat but often higher in sugar. Balancing the solids and water is what keeps the texture smooth and not icy — too much water and it freezes hard and crystalline.",
"inputs": {
"fat_g": 100,
"msnf_g": 90,
"sugar_g": 200,
"water_g": 600,
"other_solids_g": 10
},
"fat_pct": 10,
"msnf_pct": 9,
"sugar_pct": 20,
"water_pct": 60,
"total_solids_g": 400,
"total_weight_g": 1000,
"total_solids_pct": 40
},
"meta": {
"timestamp": "2026-06-07T08:17:53.421Z",
"request_id": "d9049b2a-585d-417c-8419-60754e2b9811"
},
"status": "ok",
"message": "Total solids",
"success": true
}