/v1/force
Force ↔ deflection
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode 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_..."}
)
Example response
A real response from this endpoint, captured by the latest 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
}