/v1/meta
Spec
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/pressurevessel-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pressurevessel-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pressurevessel-api/v1/meta");
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/meta",
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": {
"notes": "Pressure and stresses in Pa (MPa also returned), radius/thickness/diameter in m. Thin-wall theory assumes r/t ≳ 10. Joint efficiency E defaults to 1.",
"service": "pressurevessel-api",
"formulae": {
"hoop": "σ_h = p·r/t",
"barlow": "p = 2·S·t/OD",
"thickness": "t = p·r/(σ_allow·E)",
"longitudinal": "σ_l = p·r/(2t)"
},
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/burst": "Barlow burst pressure from ultimate strength, thickness and outer diameter.",
"GET /v1/thickness": "Required wall thickness for an allowable stress and joint efficiency.",
"GET /v1/thin-wall": "Hoop, longitudinal and von Mises stress from pressure, radius and thickness."
},
"description": "Thin-walled pressure-vessel calculator: hoop and longitudinal stress in a cylinder or sphere, the required wall thickness for an allowable stress, and the Barlow burst pressure."
},
"meta": {
"timestamp": "2026-06-05T11:30:27.909Z",
"request_id": "258cbf49-3231-4c25-a7d8-1b0ec1c327d7"
},
"status": "ok",
"message": "Meta",
"success": true
}