/v1/author
An author profile — work count, top work
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
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_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}