Naar de inhoud
GET /v1/coverage

Flood/seal-coat volume

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "note": "Volume = area × thickness. As a sanity check, the common art-resin rule is about 1 US gallon per 12 ft² at 1/8\" — mix a little extra for the cup and the spread. Flood coats are typically 1/8\" (3 mm); seal coats much thinner.",
        "inputs": {
            "unit": "metric",
            "area_cm2": 1000,
            "thickness_mm": 3,
            "density_g_cm3": 1.1
        },
        "mass_g": 330,
        "volume_ml": 300,
        "volume_fl_oz": 10.14,
        "volume_gallons": 0.0793
    },
    "meta": {
        "timestamp": "2026-06-06T07:14:02.527Z",
        "request_id": "985c6fc1-0f9c-4942-bd7d-2861bab51575"
    },
    "status": "ok",
    "message": "Coverage volume",
    "success": true
}