/v1/force
Force ↔ deflection
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/force" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/springcoil-api/v1/force", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/springcoil-api/v1/force");
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/force",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"mode": "deflection_to_force",
"note": "F = k · x. Provide a spring_rate, or the geometry (wire_diameter, mean_diameter, active_coils) to derive it.",
"force_N": 20,
"deflection_mm": 10,
"spring_rate_N_per_mm": 2
},
"meta": {
"timestamp": "2026-06-04T01:59:05.354Z",
"request_id": "bd679c73-f764-4a82-bae9-8cd73b8f26cc"
},
"status": "ok",
"message": "Force <-> deflection",
"success": true
}