Aller au contenu
GET /v1/stress

Wire shear stress (Wahl)

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/springcoil-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/springcoil-api/v1/stress" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/springcoil-api/v1/stress", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/springcoil-api/v1/stress");
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/springcoil-api/v1/stress",
    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": "τ = 8·F·D·Kw / (π·d³). Wahl factor Kw = (4C−1)/(4C−4) + 0.615/C accounts for curvature and direct shear.",
        "force_N": 19.825,
        "wahl_factor": 1.14483,
        "spring_index": 10,
        "shear_factor_Ks": 1.05,
        "mean_diameter_mm": 20,
        "shear_stress_mpa": 144.489,
        "wire_diameter_mm": 2,
        "shear_stress_uncorrected_mpa": 126.21
    },
    "meta": {
        "timestamp": "2026-06-04T01:59:05.536Z",
        "request_id": "9786b128-4675-4262-9fb6-82160d8b0bf6"
    },
    "status": "ok",
    "message": "Wire shear stress (Wahl)",
    "success": true
}