Naar de inhoud
GET /v1/meta

Spec

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "note": "Densities are typical values; bulk material varies with moisture and compaction — order ~5–10% extra.",
        "service": "landscape",
        "endpoints": {
            "/v1/depth": "Inverse: the depth an available volume (or bag count) gives over an area.",
            "/v1/coverage": "Volume (yd³/m³/ft³), weight (tons/tonnes/kg) and bags to cover an area at a depth.",
            "/v1/material": "Density reference and how much area one cubic yard covers at 1–4 inch depths."
        },
        "materials": [
            "mulch",
            "compost",
            "topsoil",
            "gravel",
            "sand"
        ],
        "description": "Landscaping material maths: volume, weight and bags to cover an area at a depth, the inverse depth, and a material density reference."
    },
    "meta": {
        "timestamp": "2026-06-03T17:41:57.200Z",
        "request_id": "c78fa791-237a-4d68-88fb-f5b49f0b8394"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}