Zum Inhalt springen
GET /v1/stress-cycle

Stress cycle

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/fatigue-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/fatigue-api/v1/stress-cycle" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fatigue-api/v1/stress-cycle", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fatigue-api/v1/stress-cycle");
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/fatigue-api/v1/stress-cycle",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "note": "Alternating stress σa = (σmax − σmin)/2 and mean stress σm = (σmax + σmin)/2. R = σmin/σmax: −1 is fully reversed, 0 is repeated.",
        "inputs": {
            "stress_max": 200,
            "stress_min": -50
        },
        "mean_stress": 75,
        "loading_type": "fluctuating",
        "stress_range": 250,
        "stress_ratio_R": -0.25,
        "stress_amplitude": 125,
        "amplitude_ratio_A": 1.666667
    },
    "meta": {
        "timestamp": "2026-06-05T11:30:33.871Z",
        "request_id": "cff9df14-34b9-4632-8fe2-b7eccf1b4636"
    },
    "status": "ok",
    "message": "Stress cycle",
    "success": true
}