/v1/paint
Paint litres & cans
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/buildcalc-api/v1/paint" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/buildcalc-api/v1/paint", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/buildcalc-api/v1/paint");
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/paint",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"note": "Doors deducted at 1.8 m² and windows at 1.5 m² each. Coverage is per coat; check the tin's stated spread rate.",
"inputs": {
"area": 40,
"coats": 2,
"doors": 0,
"windows": 0,
"can_size_litres": 2.5,
"coverage_m2_per_litre": 11
},
"cans_needed": 3,
"litres_needed": 7.27,
"litres_rounded": 7.300000000000001,
"paintable_area_m2": 40
},
"meta": {
"timestamp": "2026-06-03T17:42:00.892Z",
"request_id": "1f5ccfc1-ef04-45be-b6f9-7e54967b14df"
},
"status": "ok",
"message": "Paint estimator",
"success": true
}