/v1/meta
Spec
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/handrail-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/handrail-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/handrail-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/handrail-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"notes": "Millimetres. count = ceil((L−maxgap)/(width+maxgap)); gap = (L−count·width)/(count+1); posts = ceil(run/maxspacing)+1. 100 mm sphere is the usual infill limit. For stair rise/run use a stair API; for fence pickets a fence API.",
"service": "handrail-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/layout": "Even gap, pitch and first-centre for a baluster count.",
"GET /v1/post-count": "Post count and spacing for a railing run.",
"GET /v1/baluster-count": "Minimum balusters so every gap <= the limit."
},
"description": "Railing / baluster layout: minimum balusters for a code gap, even spacing of a count, and post count for a run."
},
"meta": {
"timestamp": "2026-06-07T08:17:48.291Z",
"request_id": "fc1ffbdc-f326-4a71-8e83-6d09bde3c871"
},
"status": "ok",
"message": "Meta",
"success": true
}