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/base45-api

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

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

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

{
    "data": {
        "name": "Base45 API",
        "notes": "Base45 packs two bytes into three characters (or one byte into two), so it fits QR alphanumeric mode densely. It is not base64 — for base64/base32/hex/URL/HTML encodings use a general encoding API. Nothing is stored.",
        "version": "v1",
        "endpoints": [
            {
                "path": "/v1/encode",
                "params": {
                    "hex": "or raw bytes as hex (alternative to text)",
                    "text": "text to encode (UTF-8)"
                },
                "returns": "the Base45 string"
            },
            {
                "path": "/v1/decode",
                "params": {
                    "base45": "the Base45 string (required)"
                },
                "returns": "the decoded bytes as hex, and as text when valid UTF-8"
            },
            {
                "path": "/v1/meta",
                "params": [],
                "returns": "this document"
            }
        ],
        "description": "Encode and decode Base45 (RFC 9285) — the compact binary-to-text encoding designed to pack efficiently into alphanumeric QR codes, best known from the EU Digital COVID Certificate. The encode endpoint turns text (UTF-8) or raw hex bytes into a Base45 string; the decode endpoint turns a Base45 string back into bytes, returned as hex and, when the bytes are valid UTF-8, as text. It uses the 45-character alphabet (0-9, A-Z and a few symbols) and validates length and value ranges strictly. Pure local, no key."
    },
    "meta": {
        "timestamp": "2026-06-03T17:42:18.415Z",
        "request_id": "177054e7-cc03-4b00-b267-126b02b158da"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}