Aller au contenu
GET /v1/life

Basic rating life

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/bearing-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/bearing-api/v1/life" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bearing-api/v1/life", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bearing-api/v1/life");
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/bearing-api/v1/life",
    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": "life",
        "inputs": {
            "rpm": 1500,
            "type": "ball",
            "exponent_p": 3,
            "equivalent_load": 3000,
            "dynamic_load_rating": 30000
        },
        "life_days": 462.963,
        "life_hours": 11111.11,
        "load_ratio": 10,
        "basic_rating_life_mrev": 1000
    },
    "meta": {
        "timestamp": "2026-06-04T10:18:36.507Z",
        "request_id": "51a59b38-ffe6-4c38-9109-314cd2ad74b7"
    },
    "status": "ok",
    "message": "Bearing rating life",
    "success": true
}