Catalog/encoding-base45

Encoding

Base45 RFC9285 codec API

Encodes/decodes bytes as RFC9285 base45 — the alphanumeric encoding used by EU Digital COVID Certificates and QR payloads — with strict triple/pair validation. Answers 'What is the base45 of this data?', 'Decode this base45 QR string.'

Price$0.01per request
MethodPOST
Route/v1/encoding/base45
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
base45rfc9285qrcovid-certificateencodedecodecodecencoding
API URLhttps://x402.hexl.dev/v1/encoding/base45
Integration docs
Example request
{
  "value": "AB"
}
Example response
{
  "operation": "encode",
  "result": "BB8",
  "byteLength": 2,
  "interpretation": "Encoded 2 bytes to base45 (RFC9285)."
}
Input schema
{
  "type": "object",
  "required": [
    "value"
  ],
  "properties": {
    "value": {
      "type": "string",
      "examples": [
        "AB"
      ]
    },
    "operation": {
      "type": "string",
      "enum": [
        "encode",
        "decode"
      ]
    },
    "inputEncoding": {
      "type": "string",
      "examples": [
        "utf8",
        "hex",
        "base64"
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}