/v1/cure
Equilibrium dry cure
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
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_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"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
}