/v1/meta
Spec
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/fatigue-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fatigue-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fatigue-api/v1/meta");
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/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"notes": "Stresses and strengths in any one consistent unit (MPa typical). Mean-stress criteria treat compressive mean stress as non-damaging (σm clamped at 0). Marin factors default to 1.",
"service": "fatigue-api",
"formulae": {
"gerber": "(n·σa)/Se + (n·σm/Sut)² = 1",
"goodman": "1/n = σa/Se + σm/Sut",
"soderberg": "1/n = σa/Se + σm/Sy"
},
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/criteria": "Goodman, Soderberg and Gerber safety factors for infinite life.",
"GET /v1/stress-cycle": "Alternating and mean stress, range and stress ratio from max/min stress.",
"GET /v1/endurance-limit": "Corrected endurance limit from Sut and the Marin modifying factors."
},
"description": "Mechanical fatigue calculator: stress cycle (alternating/mean/ratio), mean-stress safety factors (Goodman, Soderberg, Gerber) and the Marin-corrected endurance limit."
},
"meta": {
"timestamp": "2026-06-05T11:30:33.960Z",
"request_id": "7222a7db-90f8-4ee5-8911-6e5e78dd8f4f"
},
"status": "ok",
"message": "Meta",
"success": true
}