/v1/bernoulli
Bernoulli streamline
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
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_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"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
}