/v1/book
A book's social reading stats
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/readingtrends-api/v1/book" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/readingtrends-api/v1/book", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/readingtrends-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/readingtrends-api/v1/book",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"book": {
"id": "OL17930368W",
"url": "https://openlibrary.org/works/OL17930368W",
"title": "Atomic Habits",
"subjects": [
"Habit",
"Habit breaking",
"Behavior modification",
"Self-actualization (psychology)",
"Business",
"psychology",
"Personal Growth",
"New York Times bestseller",
"BUSINESS & ECONOMICS / Organizational Behavior",
"PSYCHOLOGY / Social Psychology",
"SELF-HELP / Personal Growth / General."
],
"already_read": 1643,
"rating_count": 1372,
"want_to_read": 54599,
"rating_average": 3.97,
"first_published": null,
"currently_reading": 4673
}
},
"meta": {
"timestamp": "2026-06-09T03:03:04.260Z",
"request_id": "ce53f1a0-ad59-4a8c-a1c2-d75343d488d5"
},
"status": "ok",
"message": "Book stats retrieved successfully",
"success": true
}