Aller au contenu
GET /v1/calibration

Linear calibration concentration

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/beerlambert-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/beerlambert-api/v1/calibration" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/beerlambert-api/v1/calibration", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/beerlambert-api/v1/calibration");
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/beerlambert-api/v1/calibration",
    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": {
        "mode": "absorbance_to_concentration",
        "note": "c = (A − intercept) / slope.",
        "slope": 5000,
        "intercept": 0.02,
        "absorbance": 0.52,
        "concentration": 0.0001
    },
    "meta": {
        "timestamp": "2026-06-04T10:18:58.142Z",
        "request_id": "dbeed38b-f850-4091-87b1-4ff8d151f4d2"
    },
    "status": "ok",
    "message": "Linear calibration concentration",
    "success": true
}