/v1/author
An author profile — work count, top work
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/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_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"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
}