Aller au contenu
GET /v1/oee

OEE: availability × performance × quality

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/oee-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/oee-api/v1/oee" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/oee-api/v1/oee", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/oee-api/v1/oee");
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/oee-api/v1/oee",
    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": {
        "oee": 0.747937,
        "note": "OEE = Availability × Performance × Quality. Availability = run/planned; Performance = ideal time for parts made / run time; Quality = good/total. 85% is world-class; 60% is typical.",
        "inputs": {
            "downtime": 47,
            "run_time": 373,
            "good_count": 18848,
            "ideal_rate": 60,
            "total_count": 19271,
            "planned_time": 420
        },
        "losses": {
            "quality_loss_count": 423,
            "availability_loss_min": 47,
            "fully_productive_count": 25200,
            "performance_loss_count": 3109
        },
        "quality": 0.97805,
        "oee_percent": 74.7937,
        "performance": 0.861081,
        "availability": 0.888095,
        "quality_percent": 97.805,
        "performance_capped": false,
        "performance_percent": 86.1081,
        "availability_percent": 88.8095
    },
    "meta": {
        "timestamp": "2026-06-05T21:48:48.226Z",
        "request_id": "331b9183-f5e6-4214-84bf-58f0da5f8029"
    },
    "status": "ok",
    "message": "OEE",
    "success": true
}