Are there any good APIs to search for books via ISBN?

RommelTJ picture RommelTJ · Nov 23, 2016 · Viewed 17.3k times · Source

I am working on an iOS app and I have a list of ISBNs. I want to pull up book cover image, title, author, and other nice-to-haves if available, like reviews, price, etc. I tried using the Google Books API, but newer books are not listed in their service. I need a service that has up-to-date ISBNs, particularly for University textbooks in the United States.

For example, the following ISBN returns 0 results via the Google Books API (and others I tried): https://www.googleapis.com/books/v1/volumes?q=isbn:9780134092669

But a book does exist with that ISBN: http://www.isbnsearch.org/isbn/9780134092669

My question is: are there any good APIs that I can use, free or otherwise, to search for books via ISBN? The only thing I can find is the Amazon Product Advertising API, which is complete overkill.

Answer

bhantol picture bhantol · Nov 23, 2016

ISBN query will work. You are not encoding the query string.

Use encodeURIComponent to encode your search string. Or just use %3D equivalent for =

Try this. Notice there is no : character and no = for the value of the q

https://www.googleapis.com/books/v1/volumes?q=isbn%3D9780134092669&key={YOUR_API_KEY}

I am getting

 "volumeInfo": {
    "title": "Computer Systems",
    "subtitle": "A Programmer's Perspective",
    "authors": [
     "Randal E. Bryant",
     "David R. O'Hallaron"
    ],

Source https://developers.google.com/books/docs/v1/reference/volumes/list

User Try Me link and you will get the URL.