/v1/auxiliary
Auxiliary amount from g/L
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/dye-api/v1/auxiliary" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/dye-api/v1/auxiliary", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/dye-api/v1/auxiliary");
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/dye-api/v1/auxiliary",
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": "Auxiliary amount = the bath volume × the dosing concentration in grams per litre — the way salt, soda ash, levelling agent and other auxiliaries are dosed. Salt (50–80 g/L) drives reactive and direct dyes onto cotton; soda ash (10–20 g/L) raises the pH to fix them. Because it is dosed per litre of bath, the same g/L gives the same chemistry at any scale once the bath volume is set from the liquor ratio.",
"inputs": {
"bath_volume_l": 5,
"concentration_g_per_l": 50
},
"auxiliary_g": 250
},
"meta": {
"timestamp": "2026-06-07T08:17:56.191Z",
"request_id": "c8397d10-eeaf-47f9-82db-a9f44cf6b8d5"
},
"status": "ok",
"message": "Auxiliary amount",
"success": true
}