ISBN Validation

Check an ISBN-10 or ISBN-13 and its checksum, and convert ISBN-10 to ISBN-13.

Pay by wallet (x402) isbn-validate

Example

Input
{
  "isbn": "978-0-13-468599-1"
}
Answer
{
  "type": "ISBN-13",
  "valid": true,
  "isbn13": "9780134685991",
  "ean_prefix": "978",
  "isbn_input": "978-0-13-468599-1",
  "isbn_cleaned": "9780134685991"
}

Inputs

FieldTypeRequiredWhat it is
isbnstringYesISBN-10 or ISBN-13 (e.g. 978-3-16-148410-0)

Output fields

How reliably each field appears in a successful answer.

FieldTypeAppears
typestringAlways (present in every successful answer)
validbooleanAlways (present in every successful answer)
isbn13stringAlways (present in every successful answer)

How to call it

The same tool through each route. MCP clients reach it through Strale’s server at https://api.strale.io/mcp; the call below is what the agent sends.

# Needs an API key. max_price_cents caps what this call may cost.
curl -X POST https://api.strale.io/v1/do \
  -H "Authorization: Bearer $STRALE_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "capability_slug": "isbn-validate",
    "inputs": {
      "isbn": "978-0-13-468599-1"
    },
    "max_price_cents": 2
  }'

Limitations

  • A valid ISBN does not confirm a publication exists

    Validates ISBN-10 and ISBN-13 format and check digits — does not verify the ISBN is assigned to an actual publication

    What to do instead: Check the ISBN against the publisher’s catalogue to confirm the publication.