Zum Inhalt springen
GET /v1/book

A book's social reading stats

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/readingtrends-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "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
}