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/stair-api

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "note": "Internally inches (accepts in/cm/mm/m). Limits are typical US IRC values — confirm your local code.",
        "limits": {
            "max_riser_in": 7.75,
            "min_tread_in": 10,
            "blondel_range": [
                24,
                25
            ]
        },
        "service": "stair",
        "endpoints": {
            "/v1/calc": "Number of steps, riser, tread, total run, stringer length, angle and code check from a total rise.",
            "/v1/check": "Validate a riser/tread against IRC limits and the Blondel comfort rule.",
            "/v1/stringer": "Stringer (hypotenuse) length and angle from total rise and total run."
        },
        "description": "Staircase maths: steps/riser/tread from a total rise, code compliance check, and stringer length."
    },
    "meta": {
        "timestamp": "2026-06-04T01:59:16.154Z",
        "request_id": "eae2985d-a27f-401c-a8ea-c5b7322c207c"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}