/v1/buoyancy
Buoyancy & flotation
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/hydrostatic-api/v1/buoyancy" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hydrostatic-api/v1/buoyancy", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hydrostatic-api/v1/buoyancy");
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/hydrostatic-api/v1/buoyancy",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"note": "Buoyant force = ρ_fluid·g·V_displaced (Archimedes).",
"fluid": "water",
"floats": true,
"volume_m3": 0.01,
"buoyant_force": {
"N": 98.067,
"kN": 0.09807,
"kgf": 10
},
"object_weight_N": 49.033,
"displaced_mass_kg": 10,
"submerged_percent": 50,
"submerged_fraction": 0.5,
"fluid_density_kg_m3": 1000
},
"meta": {
"timestamp": "2026-06-04T01:59:04.529Z",
"request_id": "c5a661a2-f687-401f-b8f6-2eae872ed2fd"
},
"status": "ok",
"message": "Buoyancy & flotation",
"success": true
}