Zum Inhalt springen
GET /v1/area

Hide area + project yield

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/leather-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}