Naar de inhoud
GET /v1/author

An author profile — work count, top work

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/bookstats-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/bookstats-api/v1/author" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bookstats-api/v1/author", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bookstats-api/v1/author");
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/bookstats-api/v1/author",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "name": "Brandon Sanderson",
        "source": "Open Library",
        "top_work": "The Final Empire",
        "author_key": "OL1394865A",
        "birth_date": "19 December 1975",
        "death_date": null,
        "work_count": 190,
        "top_subjects": [
            "Fiction, fantasy, general",
            "Fiction",
            "Fiction, fantasy, epic",
            "Fantasy",
            "Fantasy fiction",
            "New York Times bestseller",
            "Children's fiction",
            "Magic"
        ],
        "open_library_url": "https://openlibrary.org/authors/OL1394865A"
    },
    "meta": {
        "timestamp": "2026-06-12T01:42:15.677Z",
        "request_id": "7d3ffd39-1893-42a8-9a44-2336c228d2bf"
    },
    "status": "ok",
    "message": "Author retrieved successfully",
    "success": true
}