Ir al contenido
GET /v1/stretch

Installation stretch

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/oring-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "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
}