https://api.osbn.io/v1/lookup/{OSBN number}
The lookup REST API endpoint allows you to retrieve book information based on the OSBN (a unique 17-digit identifier) by making a GET request.
OSBN-01-001-000001-001-8
or OSBN010010000010018
or 010010000010018
curl https://api.osbn.io/v1/lookup/OSBN-01-001-000001-001-8 -H "Authorization: Wmp6ADsd8PtWfMODoaYMXNHIjhHA5Ws"
{
"id": 2,
"osbn": "OSBN-01-001-000001-001-4",
"title": "The Book Of Arne",
"subtitle": "A Short European Literary Exposition",
"author_name": "Arne Hemingway",
"publisher_name": "AHEM Books",
"publication_date": "2023-10-04",
...
// Other book details
}
{
"error": "Unauthorized",
"message": "Invalid authorization token."
}
{
"error": "Not Found",
"message": "The book with OSBN-01-001-000001-XXX-2 was not found."
}