Naar de inhoud
GET /v1/area

Hide area + project yield

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "note": "Hide area converted between US square feet, EU square decimetres (1 ft² = 9.29 dm²) and m². Pass project_sqft (and waste_percent) to size how many such hides a project needs.",
        "inputs": {
            "from": "sqft",
            "value": 50
        },
        "square_feet": 50,
        "square_meters": 4.645,
        "square_decimeters": 464.52
    },
    "meta": {
        "timestamp": "2026-06-06T07:14:01.526Z",
        "request_id": "8038f48d-d275-4946-a029-80219a939aaa"
    },
    "status": "ok",
    "message": "Hide area",
    "success": true
}