/v1/bernoulli
Bernoulli streamline
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/bernoulli-api/v1/bernoulli" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bernoulli-api/v1/bernoulli", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bernoulli-api/v1/bernoulli");
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/bernoulli-api/v1/bernoulli",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"h2_m": 0,
"note": "Bernoulli (incompressible, frictionless): P + ½ρv² + ρgh is constant along a streamline.",
"p2_pa": 101141.25,
"v2_ms": 20,
"inputs": {
"point1": {
"h1": 0,
"p1": 101325,
"v1": 10
},
"density_kg_m3": 1.225,
"density_source": "air"
},
"solved_for": "p2",
"total_pressure_pa": 101386.25
},
"meta": {
"timestamp": "2026-06-04T18:38:06.183Z",
"request_id": "7a4748f0-d09c-4b05-9e1e-ae560a0f8894"
},
"status": "ok",
"message": "Bernoulli",
"success": true
}