/v1/pressure
Contact pressure and hub hoop stress
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/pressfit-api/v1/pressure" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pressfit-api/v1/pressure", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pressfit-api/v1/pressure");
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/pressfit-api/v1/pressure",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"note": "The interference squeezes the parts and a contact pressure builds at the interface, from the Lamé thick-wall equations (same material both parts). The hub bore sees the highest stress — a tensile hoop stress p·(D²+d²)/(D²−d²) — so a thin hub can yield or split; keep it below the material yield with a safety margin. Double the interference and you double the pressure. A solid shaft gives a higher pressure than a hollow one.",
"inputs": {
"shaft_dia_mm": 50,
"interference_mm": 0.05,
"hub_outer_dia_mm": 100,
"shaft_bore_dia_mm": 0,
"youngs_modulus_gpa": 200
},
"contact_pressure_mpa": 75,
"hub_bore_hoop_stress_mpa": 125
},
"meta": {
"timestamp": "2026-06-06T23:53:53.733Z",
"request_id": "07d131ea-cf18-4892-95d1-3b3a8f9bef40"
},
"status": "ok",
"message": "Contact pressure",
"success": true
}