/v1/meta
Spec
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/checkdigit-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/checkdigit-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/checkdigit-api/v1/meta");
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/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"name": "Check Digit API",
"notes": "Luhn, Verhoeff and Damm produce one check digit; mod 97-10 produces two. Spaces and hyphens in the input are ignored. Nothing is stored.",
"version": "v1",
"endpoints": [
{
"path": "/v1/generate",
"params": {
"number": "the base number (required)",
"algorithm": "luhn|verhoeff|damm|mod97 (default luhn)"
},
"returns": "the check digit(s) and the full number"
},
{
"path": "/v1/validate",
"params": {
"number": "the number including its check digit (required)",
"algorithm": "default luhn"
},
"returns": "whether the check digit is correct"
},
{
"path": "/v1/algorithms",
"params": [],
"returns": "the supported algorithms"
},
{
"path": "/v1/meta",
"params": [],
"returns": "this document"
}
],
"description": "Generate and validate check digits with the standard algorithms — Luhn (mod 10), Verhoeff, Damm and ISO 7064 mod 97-10 — on any number. Use it to add or verify a check digit on IDs, references, account and membership numbers. Pure local, no key."
},
"meta": {
"timestamp": "2026-06-03T01:09:43.390Z",
"request_id": "8822d220-dfba-4814-b544-432cfefabfbb"
},
"status": "ok",
"message": "Meta",
"success": true
}