/v1/book
A book by id or by name
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/gameofthrones-api/v1/book" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/gameofthrones-api/v1/book", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/gameofthrones-api/v1/book");
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/gameofthrones-api/v1/book",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"book": {
"id": 1,
"isbn": "978-0553103540",
"name": "A Game of Thrones",
"authors": [
"George R. R. Martin"
],
"country": "United States",
"released": "1996-08-01T00:00:00",
"publisher": "Bantam Books",
"media_type": "Hardcover",
"character_count": 434,
"number_of_pages": 694,
"pov_character_count": 9
}
},
"meta": {
"timestamp": "2026-06-01T00:04:32.670Z",
"request_id": "cffb783c-146f-4d34-b3cf-63505721eccd"
},
"status": "ok",
"message": "Book retrieved",
"success": true
}