/v1/cure
Equilibrium dry cure
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/curing-api/v1/cure" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/curing-api/v1/cure", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/curing-api/v1/cure");
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/curing-api/v1/cure",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"note": "Equilibrium dry cure: cure grams = target ppm × meat / (0.0625 × 1e6) — about 2.5 g of Cure #1 per kg gives 156 ppm. Salt and sugar are a % of the meat weight; the cure blend's own salt is subtracted.",
"inputs": {
"cure_type": "Cure #1",
"target_ppm": 156,
"meat_weight": 1000,
"salt_percent": 2.5,
"sugar_percent": 1
},
"cure_grams": 2.496,
"nitrate_ppm": 0,
"nitrite_ppm": 156,
"sugar_grams": 10,
"added_salt_grams": 22.66,
"total_salt_grams": 25,
"within_safe_limit": true
},
"meta": {
"timestamp": "2026-06-05T22:57:24.956Z",
"request_id": "a837b032-356b-4c19-b301-b500bc691fd0"
},
"status": "ok",
"message": "Dry cure",
"success": true
}