ISBN API
Send an ISBN-10 or ISBN-13 and get the book as JSON: the title, and the author, publication year, page count and cover link where we have them. 100 found lookups a month are free, with no card.
curl "https://barcodereport.com/api/v2/products/9780743273565" -H "X-API-Key: YOUR_API_KEY"
An ISBN we do not have costs nothing. Checking and converting an ISBN is free and needs no key.
What an ISBN API does
An ISBN API takes the number on the back of a book and returns the book it identifies, in a form your software can read. Reading trackers, library and classroom catalogues, bookshop tills and resale apps use one to turn a scan into a title and an author.
The barcode on a book is its ISBN-13 printed as an EAN-13, so any barcode scanner reads it. Ours is the same endpoint that answers for every other product barcode: an app that scans books alongside DVDs, games or groceries needs one integration, not two. For those, see the UPC API and the Barcode Lookup API overview.
One request, one book
curl "https://barcodereport.com/api/v2/products/9780743273565" \
-H "X-API-Key: YOUR_API_KEY"The answer, shortened here where marked with an ellipsis:
{
"found": true,
"requested": "9780743273565",
"barcode": {
"type": "ISBN-13",
"check_digit_valid": true,
"class": "book",
"isbn_13": "9780743273565",
"isbn_10": "0743273567",
"ean_13": "9780743273565",
"prefix": {
"range": "978-979",
"label": "Books (ISBN, Bookland)",
"iso": null
},
"…": "…",
"record_barcode": "9780743273565",
"match": "exact"
},
"product": {
"title": "The Great Gatsby",
"brand": "Simon & Schuster",
"brand_source": "record",
"category": "BOOKS/MAGAZINES",
"category_path": [
"BOOKS/MAGAZINES"
],
"description": "Book Synopsis The only authorized edition of the twentieth-century classic, featuring F. Scott Fitzgerald's final revisions, …",
"image_url": "https://covers.openlibrary.org/b/id/13028546-L.jpg",
"quantity": null,
"model_number": null,
"color": null,
"size": null,
"weight": "0.35",
"dimensions": "0.36 x 5.45 x 8.25 INCH",
"price": null,
"asin": null,
"url": "https://www.target.com/p/the-great-gatsby-reissue-paperback-by-f-scott-fitzgerald/-/A-11341157"
},
"book": {
"authors": "F. Scott Fitzgerald",
"publisher": null,
"published": "2004",
"pages": 180,
"isbn_13": "9780743273565",
"isbn_10": "0743273567"
},
"media": null,
"sources": [],
"attribution": null
}Book facts are in book. The title, description and cover link are in product, the same place as for any other item. A blank is always null.
What comes back for a book
Every record has a title. The other fields are filled where we have them, and it is better to know how often before you build on them. These shares come from a random sample of 1,800 of our book records, taken in December 2026:
| Title | Every record. |
|---|---|
| Author | About three records in four, in book.authors. |
| Publication year or date | About four in five, in book.published, written as the source gave it (2004, Aug 02, 2016). |
| Page count | About two in five, in book.pages. A count of 0 means it is not known. |
| Cover link | About one in four, in product.image_url. The pictures are hosted elsewhere, mostly by Open Library. |
| Description | About one in five. |
| Publisher | Rarely in book.publisher. On some records the publisher's name is in product.brand, as in the example above. |
| ISBN-10 and ISBN-13 | Always, worked out from the number itself. |
Widely sold titles tend to have fuller records than the average. To see what you would get for your own catalogue, send up to 1,000 of your ISBNs to the free coverage test. It returns how many are on record and how often each field is filled, and uses no lookups.
ISBN-10, ISBN-13 and the barcode
- ISBN-13, with or without hyphens:
9780743273565or978-0-7432-7356-5. - ISBN-10, including those that end in X:
0743273567,080442957X. It finds the same book as its ISBN-13. - The scanned barcode. It is the ISBN-13, sometimes followed by a 5-digit price add-on, which is returned separately in
barcode.add_on. - 979 numbers. ISBN-13s that start with 979 have no ISBN-10, so
isbn_10isnullfor them.
Amazon generally lists a printed book under its ISBN-10, so book.isbn_10 is usually the book's ASIN as well.
Check or convert an ISBN for free
The validate endpoint looks only at the number. It says whether the check digit is right and gives the other form, so it converts ISBN-10 to ISBN-13 and back. It needs no API key and uses no lookups.
curl "https://barcodereport.com/api/v2/validate/080442957X"{
"requested": "080442957X",
"barcode": {
"recognised": true,
"read_as": "isbn10",
"type": "ISBN-10",
"check_digit_valid": true,
"expected_check_digit": "X",
"class": "book",
"isbn_13": "9780804429573",
"isbn_10": "080442957X",
"ean_13": "9780804429573",
"…": "…"
}
}To check one number by hand, the check digit calculator does the same in the browser, and ISBN lookup searches a single book.
Code samples
Authenticate with an X-API-Key header (or Authorization: Bearer). A found book returns 200; an ISBN we do not have returns 404 with "code": "not_found".
Python
import requests
API_KEY = "YOUR_API_KEY"
def lookup(code):
r = requests.get(
"https://barcodereport.com/api/v2/products/" + code,
headers={"X-API-Key": API_KEY},
timeout=10,
)
if r.status_code == 404:
return None # not on record; this call was free
r.raise_for_status()
return r.json()
item = lookup("9780743273565")
if item:
print(item["product"]["title"], "by", item["book"]["authors"])JavaScript (Node 18 or later, or the browser)
const API_KEY = process.env.BARCODE_API_KEY;
async function lookup(code) {
const res = await fetch("https://barcodereport.com/api/v2/products/" + encodeURIComponent(code), {
headers: { "X-API-Key": API_KEY },
});
if (res.status === 404) return null; // not on record; this call was free
if (!res.ok) throw new Error("Lookup failed: " + res.status);
return res.json();
}
const item = await lookup("9780743273565");
if (item) console.log(item.product.title, "by", item.book.authors);PHP
function lookup(string $code): ?array
{
$ch = curl_init("https://barcodereport.com/api/v2/products/" . rawurlencode($code));
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-API-Key: " . getenv("BARCODE_API_KEY")],
CURLOPT_TIMEOUT => 10,
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
if ($status === 404) return null; // not on record; this call was free
if ($status !== 200) throw new RuntimeException("Lookup failed: $status");
return json_decode($body, true);
}
$item = lookup("9780743273565");
if ($item) echo $item["product"]["title"], " by ", $item["book"]["authors"], PHP_EOL;A shelf of books in one request
Send up to 100 ISBNs at once. Each one that is found uses one lookup, and the whole batch counts as one request against the rate limit.
curl -X POST "https://barcodereport.com/api/v2/products" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"barcodes": ["9780743273565", "9780451524935", "0061120081"]}'For a spreadsheet rather than code, bulk barcode lookup takes a file of up to 100,000 numbers, and the Google Sheets function fills in a column for you. To find a book's ISBN from its title, use GET /api/v2/search?q=.
When another book API fits better
If you only need book data and want no cost at all, Open Library's API is free and needs no key, and it is a good choice. Ours fits when the same app also scans things that are not books, when you want one answer format and check-digit facts for every code you send, or when you would rather not run two integrations. The full reference is in the API documentation, and AI assistants can use the same data through the MCP server.
What it costs
You pay for books that are found. An ISBN with no record, a malformed number and a format check all cost nothing.
| Free | 100 found lookups a month, 60 requests a minute. $0, no card. |
|---|---|
| Standard Plan | 10,000 found lookups a month, 300 requests a minute. $24.95 a month. |
| Premium Plan | 50,000 found lookups a month, 600 requests a minute. $74.95 a month. |
| Professional Plan | 100,000 found lookups a month, 1,200 requests a minute. $99.99 a month. |
| Enterprise Plan | 200,000 found lookups a month, 2,400 requests a minute. $199.00 a month. |
Plans can be paid monthly or yearly; see pricing for the details.
ISBN API FAQ
Is there a free ISBN API?
Yes. The free plan includes 100 found lookups a month at up to 60 requests a minute, with no card. An ISBN that is not on record does not use a lookup. Checking an ISBN's check digit and converting between ISBN-10 and ISBN-13 is free and needs no key.
What book data does the ISBN API return?
Every record has a title. In a sample of our book records taken in December 2026, about three in four had an author, about four in five a publication year or date, about two in five a page count, about one in four a cover image link and about one in five a description. The publisher is rarely filled.
Does it take both ISBN-10 and ISBN-13?
Yes, with or without hyphens, and an ISBN-10 may end in X. Both forms find the same book, and the answer gives the number in both forms. ISBN-13s that start with 979 have no ISBN-10, so that field is empty for them.
How many books does it cover?
About 29 million records carry a book prefix (978 or 979), out of more than 500 million barcode records in total. To see how much of your own catalogue is covered, send up to 1,000 of your ISBNs to the free coverage test.
Does it return cover images?
It returns a link to a cover where one is known, for about one book record in four. The pictures are hosted elsewhere, mostly by Open Library; we do not host covers.
Can I validate an ISBN without looking it up?
Yes. The validate endpoint says whether a number is a well-formed ISBN, what the check digit should be, and gives the other form. It is free and needs no API key.
When is Open Library or Google Books the better choice?
If you only need books and want no cost at all, Open Library's API is free and needs no key, and it is a good choice. Ours fits when the same app also scans other products, such as DVDs, games or groceries, or when you want one answer format and check-digit facts for every code.