Zum Inhalt springen
GET /v1/squeeze

Squeeze % + gland fill

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/oring-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/oring-api/v1/squeeze" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/oring-api/v1/squeeze", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/oring-api/v1/squeeze");
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/oring-api/v1/squeeze",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "note": "Squeeze = (cross-section − gland depth) ÷ cross-section. Aim ~10–16 % for dynamic and ~15–30 % for static seals. Gland fill should stay ≤ ~85 % so the o-ring has room to expand from heat or fluid swell.",
        "inputs": {
            "gland_depth": 0.113,
            "cross_section": 0.139
        },
        "fill_ok": true,
        "assessment": "good for static seals",
        "groove_width": 0.19,
        "squeeze_amount": 0.026,
        "squeeze_percent": 18.71,
        "gland_fill_percent": 70.68
    },
    "meta": {
        "timestamp": "2026-06-06T07:13:59.523Z",
        "request_id": "71b70849-5a2b-4701-a1dc-86c5ab980c29"
    },
    "status": "ok",
    "message": "O-ring squeeze",
    "success": true
}