Vai al contenuto
GET /v1/meta

Spec

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/barcodecheck-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "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
}