Aller au contenu
GET /v1/stretch

Installation stretch

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/oring-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "note": "Stretch = (mating diameter − o-ring ID) ÷ ID. Keep ID stretch on a rod under ~5 %; stretch thins the cross-section (reducing squeeze), so pick an ID close to the groove. Bore/face seals compress the OD instead.",
        "inputs": {
            "inner_diameter": 1,
            "mating_diameter": 1.03
        },
        "assessment": "good — within the usual ≤ 5 % limit",
        "stretch_percent": 3
    },
    "meta": {
        "timestamp": "2026-06-06T07:13:59.604Z",
        "request_id": "cc36217e-32e5-409b-ae4a-f83a25534b50"
    },
    "status": "ok",
    "message": "Installation stretch",
    "success": true
}