/v1/payload
Flotation load capacity
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/buoyancy-api/v1/payload" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/buoyancy-api/v1/payload", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/buoyancy-api/v1/payload");
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/buoyancy-api/v1/payload",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"mode": "required_volume",
"fluid": "water",
"formula": "V = W / (ρ_fluid·g).",
"load_mass_kg": 101.971621,
"load_weight_n": 1000,
"fluid_density_kg_m3": 1000,
"required_displaced_volume_m3": 0.101971621,
"required_displaced_volume_litres": 101.971621
},
"meta": {
"timestamp": "2026-06-04T10:18:48.408Z",
"request_id": "35ed4284-2e52-451d-845d-720d03a75676"
},
"status": "ok",
"message": "Flotation load capacity",
"success": true
}