ISBN Lookup API
Validate ISBN-10 / ISBN-13, convert between them, hyphenate with the official ranges, find the registration group and get book details from Open Library.
isbn (with or without hyphens, ISBN-13: prefix, X check digit) is checked (check digit, 978 / 979 prefix), converted (ISBN-10 ↔ ISBN-13; 979 ISBNs have no ISBN-10) and hyphenated using the ranges published by the International ISBN Agency: prefix, registration group with its agency (language area or country, e.g. 604 = Vietnam), registrant (publisher) element, publication element and check digit. ranges_valid: false means the number has a correct check digit but falls in a range that is not assigned yet. The range file is refreshed weekly.
With metadata (default on) the book is looked up in Open Library: title, subtitle, authors, publishers, publication date and place, pages, subjects, cover image URLs and the Open Library link (cached 7 days). Coverage of Vietnamese books is limited; metadata.found: false when unknown.
isbns checks up to 200 numbers at once (no metadata).
Markdown · OpenAPI · Postman · llms.txt
Parameters
| Name | In | Type | Required | Default | |
|---|---|---|---|---|---|
isbn | query|path | string | yes | ISBN-10 or ISBN-13 (also /v1/isbn-lookup/{isbn}). | |
metadata | query | boolean | no | true | Look the book up in Open Library. |
isbns | body|query | string | no | Batch: up to 200 ISBNs (array or comma / newline separated). |
Example
curl "https://apibox.io.vn/v1/isbn-lookup?isbn=0140328726" \
-H "Authorization: Bearer YOUR_API_KEY"const res = await fetch('https://apibox.io.vn/v1/isbn-lookup?isbn=0140328726', {
method: 'GET',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
},
});
const data = await res.json();
console.log(data);import requests
res = requests.get(
"https://apibox.io.vn/v1/isbn-lookup?isbn=0140328726",
headers={"Authorization": "Bearer YOUR_API_KEY"},
timeout=30,
)
print(res.json())<?php
$ch = curl_init('https://apibox.io.vn/v1/isbn-lookup?isbn=0140328726');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer YOUR_API_KEY'],
]);
$response = curl_exec($ch);
print_r(json_decode($response, true));Response
{
"input": "0140328726",
"valid": true,
"format": "isbn10",
"isbn13": "9780140328721",
"isbn10": "0140328726",
"prefix": "978",
"group": {
"code": "0",
"agency": "English language"
},
"registrant": "14",
"publication": "032872",
"check_digit": "1",
"hyphenated": {
"isbn13": "978-0-14-032872-1",
"isbn10": "0-14-032872-6"
},
"ranges_valid": true,
"metadata": {
"found": true,
"title": "Fantastic Mr. Fox",
"authors": [
"Roald Dahl"
],
"publishers": [
"Puffin"
],
"publish_date": "October 1, 1988",
"publish_places": [],
"pages": 96,
"subjects": [
"Animals",
"Hunger",
"Juvenile fiction",
"Foxes",
"…"
],
"cover": {
"small": "https://covers.openlibrary.org/b/id/15152634-S.jpg",
"medium": "https://covers.openlibrary.org/b/id/15152634-M.jpg",
"large": "https://covers.openlibrary.org/b/id/15152634-L.jpg"
},
"url": "http://openlibrary.org/books/OL7353617M/Fantastic_Mr._Fox",
"identifiers": {
"openlibrary": [
"OL7353617M"
]
},
"source": "Open Library (openlibrary.org)"
},
"ranges": {
"serial": "893e5b3e-dfd8-4518-9cfa-917bdf4c3623",
"date": "Wed, 11 Nov 2026 10:31:07 UTC"
}
}
Use cases
- Validate ISBNs typed by staff in a library or bookshop system
- Print correctly hyphenated ISBN-13 on covers and catalogues
- Fill title, author and cover for a book from its barcode
- Convert old ISBN-10 lists to ISBN-13
FAQ
Where do book details come from?
From the Open Library API (Internet Archive), shown with attribution. Not every book is there, especially Vietnamese titles.
What is the registration group?
The part after 978 / 979 that identifies a language area or country, e.g. 0 / 1 English, 3 German, 604 Vietnam.
Does it check the barcode?
Yes: an ISBN-13 is also an EAN-13 barcode number; the check digit is the same.
Related APIs
JSON Validator
Check JSON syntax with exact line and column of errors, and validate data against a JSON Schema (draft 4, 7, 2019-09 or 2020-12).
{ }JSON Formatter
Pretty print JSON with 0-8 spaces or tabs, minify it, or sort object keys recursively. Syntax errors are reported with line and column.
CSVCSV to JSON
Convert CSV into an array of JSON objects using the header row, with delimiter auto-detection, number and boolean typing, and row-level errors.