# ISBN Validator API

> ISBN Validator checks ISBN-10 and ISBN-13 numbers for valid checksums, parses their registration group, publisher, and title parts, and converts a valid number to its ISBN-10 and ISBN-13 forms. Pass any raw book identifier with or without hyphens to inspect normalized digits, format type, and specific rejection reasons.

**Endpoint:** `GET https://api.apiverve.com/v1/isbnvalidator`  
**Category:** Text Processing  
**Cost:** 2 credits per call  
**Canonical page:** https://apiverve.com/marketplace/isbnvalidator

## Overview

ISBN Validator works by analyzing ISBN-10 and ISBN-13 numbers, validating their checksum algorithms, and extracting information about the group, publisher, and title identifiers. A valid number is also converted between the two formats with a freshly computed check digit; 979-prefixed ISBN-13s have no ISBN-10 form. Handles both formats with or without separators.

## Authentication

Every call carries your key in an `x-api-key` header. The same key works across the whole
APIVerve catalog — there are no per-API subscriptions. Responses always use the same three
top-level keys: `status`, `error`, and `data`.

## Example request

```bash
curl "https://api.apiverve.com/v1/isbnvalidator?isbn=978-0-306-40615-7" \
  -H "x-api-key: YOUR_API_KEY"
```

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `isbn` | string | Yes | The ISBN number to validate (ISBN-10 or ISBN-13, with or without separators) |

## Response fields

- `valid` — boolean · Whether the ISBN is valid
- `isbn` — string · Normalized ISBN number
- `type` — string · ISBN format (ISBN-10 or ISBN-13)
- `normalized` — string · The ISBN with any leading ISBN label, hyphens and spaces removed
- `formatted` — string · ISBN with proper hyphenation · (premium)
- `checksum_valid` — boolean · Whether the check digit matches the rest of the number
- `prefix` — string · GS1 prefix, 978 or 979 for a 13-digit ISBN
- `group` — string · Registration group, identifying the country or language area
- `publisher` — string · Publisher element of the ISBN
- `title` — string · Title element, identifying the edition within the publisher
- `check_digit` — string · Check digit value · (premium)
- `error` — object · Why the ISBN was rejected; null when it is valid
- `isbn10` — string · The ISBN in 10-digit form; null for a 979 ISBN-13 or an invalid input · (premium)
- `isbn13` — string · The ISBN in 13-digit form with a 978 or 979 prefix; null for an invalid input · (premium)

## Sample response

```json
{
  "status": "ok",
  "error": null,
  "data": {
    "valid": true,
    "isbn": "978-0-306-40615-7",
    "type": "ISBN-13",
    "normalized": "9780306406157",
    "formatted": "978-0-306-40615-7",
    "checksum_valid": true,
    "prefix": "978",
    "group": "0",
    "publisher": "306",
    "title": "40615",
    "check_digit": "7",
    "error": null,
    "isbn10": "0306406152",
    "isbn13": "9780306406157"
  }
}
```

## Use cases

- **Book Cataloging** — Validate ISBNs when adding books to library catalogs or inventory management systems
- **E-commerce** — Verify ISBN accuracy in book listings on e-commerce platforms to prevent listing errors
- **Publishing** — Validate ISBNs during book registration and publishing workflows to ensure correct formatting
- **Data Quality** — Check ISBN validity in book databases during data cleaning and migration projects

## SDKs

- **npm** — `npm install @apiverve/isbnvalidator` (https://www.npmjs.com/package/@apiverve/isbnvalidator)
- **NuGet** — `dotnet add package APIVerve.API.ISBNValidator` (https://www.nuget.org/packages/APIVerve.API.ISBNValidator)
- **Source** — https://github.com/apiverve/isbnvalidator-api

## More

- Full reference: https://docs.apiverve.com/ref/isbnvalidator
- Get an API key: https://dashboard.apiverve.com
- Full catalog: https://apiverve.com/marketplace
