Zum Inhalt springen
GET /v1/search

Search books

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

Beispiel-Response

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

{
    "data": {
        "books": [
            {
                "isbn": "0007525524",
                "cover": "https://covers.openlibrary.org/b/id/255844-M.jpg",
                "title": "Novels (Hobbit / Lord of the Rings)",
                "authors": [
                    "J.R.R. Tolkien"
                ],
                "subjects": [
                    "Fiction, fantasy, epic",
                    "Middle earth (imaginary place), fiction",
                    "Baggins, frodo (fictitious character), fiction",
                    "Baggins, bilbo (fictitious character), fiction",
                    "Gandalf (fictitious character), fiction",
                    "Science fiction, fantasy, horror",
                    "British and irish fiction (fictional works by one author)",
                    "Fiction, fantasy, general"
                ],
                "work_key": "/works/OL14926019W",
                "languages": [
                    "rus",
                    "eng"
                ],
                "edition_count": 24,
                "first_publish_year": 1979
            },
            {
                "isbn": "9780395282656",
                "cover": "https://covers.openlibrary.org/b/id/14627509-M.jpg",
                "title": "The Hobbit",
                "authors": [
                    "J.R.R. Tolkien"
                ],
                "subjects": [
                    "Fantasy",
                    "Arkenstone",
                    "Battle of Five Armies",
                    "invisibility",
                    "thrushes",
                    "eagles",
                    "hobbits",
                    "wizards"
                ],
                "work_key": "/works/OL27482W",
                "languages": [
                    "cor",
                    "ger",
                    "nob",
                    "heb",
                    "pol",
                    "vie",
                    "spa",
                    "cat",
                    "ang",
                    "epo",
                    "jpn",
                    "rum",
                    "lez",
                    "dut",
                    "gle",
                    "eng",
                    "lat",
                    "tur",
                    "por",
                    "swe",
                    "rus",
                    "dan",
                    "chi",
                    "cze",
                    "bul",
                    "ita",
                    "yid",
                    "fin",
                    "fre",
                    "bre"
                ],
                "edition_count": 462,
                "first_publish_year": 1937
            },
            {
                "isbn": "5170097468",
                "cover": null,
                "title": "The Hobbit / Lord of the Rings / Silmarillion",
                "authors": [
                    "J.R.R. Tolkien"
                ],
                "subjects": [],
                "work_key": "/works/OL149
…