Aller au contenu
GET /v1/meta

Spec

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/barcodecheck-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/barcodecheck-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/barcodecheck-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/barcodecheck-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/barcodecheck-api/v1/meta",
    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": {
        "auth": "none upstream; this gateway requires x-api-key",
        "name": "Barcode & Standard-Code Validator API",
        "note": "Validate the check digit of EAN-8, UPC-A, EAN-13, GTIN-14, ISBN-10, ISBN-13 and ISSN codes (/v1/validate?code=), compute the check digit for a partial code (/v1/checkdigit?code=&type=), and validate + convert ISBN-10 <-> ISBN-13 (/v1/isbn?code=). Hyphens and spaces are ignored. Instant, nothing stored. Distinct from barcode image generation, card-Luhn and IBAN checks.",
        "source": "Local check-digit validation — no key, no upstream",
        "endpoints": 4
    },
    "meta": {
        "timestamp": "2026-06-02T16:51:59.534Z",
        "request_id": "8a0f7e57-b4e8-447e-9f30-6ecb462a042b"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}