Naar de inhoud
GET /v1/pressure

Contact pressure and hub hoop stress

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/pressfit-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}