Μετάβαση στο περιεχόμενο
GET /v1/total-solids

Total-solids balance of a mix

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/icecream-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

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

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

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