Zum Inhalt springen
GET /v1/author

Search authors

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "count": 20,
        "query": "tolkien",
        "authors": [
            {
                "key": "OL2623360A",
                "name": "Christopher Tolkien",
                "top_work": "The War of the Ring",
                "birth_date": "21 November 1924",
                "work_count": 43
            },
            {
                "key": "OL14431239A",
                "name": "F. Tolkien",
                "top_work": "Thug Life",
                "birth_date": null,
                "work_count": 23
            },
            {
                "key": "OL26320A",
                "name": "J.R.R. Tolkien",
                "top_work": "The Hobbit",
                "birth_date": "3 January 1892",
                "work_count": 403
            },
            {
                "key": "OL1477672A",
                "name": "Simon Tolkien",
                "top_work": "Final Witness",
                "birth_date": "1959",
                "work_count": 18
            },
            {
                "key": "OL2977155A",
                "name": "Michael Tolkien",
                "top_work": "Rainbow",
                "birth_date": null,
                "work_count": 8
            },
            {
                "key": "OL38677A",
                "name": "Tracy Tolkien",
                "top_work": "A collector's guide to costume jewelry",
                "birth_date": "1962",
                "work_count": 7
            },
            {
                "key": "OL10273437A",
                "name": "Simon Tolkien",
                "top_work": "Room of Lost Steps",
                "birth_date": null,
                "work_count": 6
            },
            {
                "key": "OL15812868A",
                "name": "J.R.R. Tolkien",
                "top_work": "The Lord of the Rings Part One the Fellowship of the Ring",
                "birth_date": null,
                "work_count": 6
            },
            {
                "key": "OL14454981A",
                "name": "F. U. N. Tolkien",
                "top_work": "Balance in Life > Than Anything",
                "birth_date": null,
                "work_count": 6
            },
            {
                "key": "OL2447931A",
                "name": "James Kenneth Tolkien",
                "top_work": "The inn of Gahnobway: [poems]",
                "birth_date": "1881",
                "work_count": 3
            },
            {
                "key": "OL14991321A",
                "name": "Christopher Tolkien",
                "top_work": "Tree and Leaf",
                "birth_date": null,
                "work_count": 3
            },
            {
                "key": "OL15445861A",
                "name": "Tolkien",
                "top_work": "The Rankin/Bass Production of The Hobbit, Based on the Original Version of The Hobbit written by J.R.R. Tolkien (Read-Along Book and Record #368)",
                "birth_date": null,
                "work_count": 1
…