Naar de inhoud
GET /v1/tile

Tiles & boxes needed

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

Voorbeeldrespons

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

{
    "data": {
        "note": "Includes wastage allowance; round up to full boxes when ordering.",
        "inputs": {
            "area_m2": 12,
            "tile_unit": "cm",
            "tile_width": 30,
            "tile_length": 30,
            "waste_percent": 10
        },
        "tile_area_m2": 0.09,
        "tiles_needed": 147,
        "tiles_per_m2": 11.11,
        "area_with_waste_m2": 13.2
    },
    "meta": {
        "timestamp": "2026-06-03T17:42:01.013Z",
        "request_id": "d54e4aaf-cdfb-4da3-88c7-6bdca19e5a4c"
    },
    "status": "ok",
    "message": "Tile estimator",
    "success": true
}