/v1/rate
Spring rate from geometry
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/springcoil-api/v1/rate" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/springcoil-api/v1/rate", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/springcoil-api/v1/rate");
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/rate",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "Spring index C = D/d; aim for 4–12. Rate in newtons per millimetre of deflection.",
"formula": "k = G·d⁴ / (8·D³·n).",
"material": "music_wire",
"spring_rate": {
"N_per_m": 1982.5,
"N_per_mm": 1.9825,
"lb_per_in": 11.32037
},
"active_coils": 10,
"spring_index": 10,
"mean_diameter_mm": 20,
"wire_diameter_mm": 2,
"shear_modulus_mpa": 79300
},
"meta": {
"timestamp": "2026-06-04T01:59:05.441Z",
"request_id": "df41c044-e46a-4035-ab0f-3eeddd50f5c0"
},
"status": "ok",
"message": "Spring rate from geometry",
"success": true
}