/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/flooring-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/flooring-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/flooring-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/flooring-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": "Floor area in m² (or length × width in m). Tile size in cm for /tile, mm for /grout. Estimates — always confirm against the manufacturer's coverage and buy a little extra.",
"service": "flooring-api",
"formulae": {
"grout": "((A+B)/(A·B))·joint·thickness·density per m²",
"packs": "ceil(area·(1+waste) / coverage_per_pack)",
"tiles": "ceil(area·(1+waste) / tile_area)"
},
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/tile": "Number of tiles (and boxes) for a floor area, with a waste allowance.",
"GET /v1/grout": "Grout quantity in kg for a tiled area from the tile size and joint.",
"GET /v1/packs": "Packs/boxes of laminate, vinyl or carpet from a per-pack coverage."
},
"description": "Flooring and tiling material estimator: tiles needed for a floor, packs from a per-pack coverage, and grout quantity."
},
"meta": {
"timestamp": "2026-06-04T18:38:18.312Z",
"request_id": "ed648ab5-f1aa-4e5a-b2c9-dc2f7545bcca"
},
"status": "ok",
"message": "Meta",
"success": true
}