/v1/spine
Spine width
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
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_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"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
}