/v1/thickness
Required thickness
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/pressurevessel-api/v1/thickness" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pressurevessel-api/v1/thickness", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pressurevessel-api/v1/thickness");
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/pressurevessel-api/v1/thickness",
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": "Required cylinder thickness t = p·r/(σ_allow·E) (hoop stress governs). E is the weld-joint efficiency.",
"inputs": {
"shape": "cylinder",
"radius_m": 0.5,
"pressure_pa": 2000000,
"joint_efficiency": 1,
"allowable_stress_pa": 120000000
},
"required_thickness_m": 0.00833333,
"required_thickness_mm": 8.33333
},
"meta": {
"timestamp": "2026-06-05T11:30:27.721Z",
"request_id": "d5c3009b-67d1-48c9-b6b7-4caa8ae9b8f1"
},
"status": "ok",
"message": "Required thickness",
"success": true
}