Naar de inhoud
GET /v1/concrete

Concrete volume & bags

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/buildcalc-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/buildcalc-api/v1/concrete" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/buildcalc-api/v1/concrete", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/buildcalc-api/v1/concrete");
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/buildcalc-api/v1/concrete",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "note": "Bag count assumes a ~0.011 m³ yield per 20 kg pre-mix bag; adjust bag_yield_m3 for your product.",
        "inputs": {
            "shape": "slab",
            "width_m": 4,
            "length_m": 5,
            "quantity": 1,
            "thickness_m": 0.1,
            "bag_yield_m3": 0.011,
            "waste_percent": 5
        },
        "volume_m3": 2,
        "volume_yd3": 2.747,
        "bags_needed": 191,
        "volume_litres": 2100,
        "volume_with_waste_m3": 2.1
    },
    "meta": {
        "timestamp": "2026-06-03T17:42:00.791Z",
        "request_id": "bbe7ac9f-4d18-469e-add8-cec473d83280"
    },
    "status": "ok",
    "message": "Concrete estimator",
    "success": true
}