/v1/spine
Spine width
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/bookbinding-api/v1/spine" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bookbinding-api/v1/spine", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bookbinding-api/v1/spine");
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/bookbinding-api/v1/spine",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"note": "Spine = page count ÷ pages-per-inch, or leaves × sheet caliper. Add the cover boards. PPI is the printer's paper spec (e.g. ~400–500 for typical book stock).",
"inputs": {
"ppi": 400,
"page_count": 250
},
"spine_mm": 15.875,
"spine_inches": 0.625
},
"meta": {
"timestamp": "2026-06-06T07:14:10.161Z",
"request_id": "87b6aa64-7135-4cb9-8675-39a1da1f0bd0"
},
"status": "ok",
"message": "Spine width",
"success": true
}