Skip to content
GET /v1/algorithms

Supported algorithms

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/checkdigit-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/checkdigit-api/v1/algorithms" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/checkdigit-api/v1/algorithms", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/checkdigit-api/v1/algorithms");
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/checkdigit-api/v1/algorithms",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "algorithms": [
            {
                "name": "luhn",
                "description": "Mod 10 — credit cards, IMEI, many ID numbers.",
                "check_length": 1
            },
            {
                "name": "verhoeff",
                "description": "Catches all single-digit and most transposition errors.",
                "check_length": 1
            },
            {
                "name": "damm",
                "description": "Single-digit, detects all single and adjacent transposition errors.",
                "check_length": 1
            },
            {
                "name": "mod97",
                "description": "ISO 7064 mod 97-10 — two check digits, as used by IBAN.",
                "check_length": 2
            }
        ]
    },
    "meta": {
        "timestamp": "2026-06-03T01:09:43.298Z",
        "request_id": "fae0e1cf-e045-451c-bc4d-0f3bcbf98b6f"
    },
    "status": "ok",
    "message": "Supported algorithms",
    "success": true
}