/v1/checkdigit
Compute check digit
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/isbn-api/v1/checkdigit" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/isbn-api/v1/checkdigit", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/isbn-api/v1/checkdigit");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/isbn-api/v1/checkdigit",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"note": "ISBN-10 check digit (X means 10).",
"type": "ISBN-10",
"inputs": {
"stem": "030640615"
},
"full_isbn": "0306406152",
"check_digit": "2"
},
"meta": {
"timestamp": "2026-06-05T19:50:13.991Z",
"request_id": "29bf195d-e8c8-48e5-8d34-acba0b52b6d6"
},
"status": "ok",
"message": "Compute check digit",
"success": true
}