Catalog/encoding-zbase32

Encoding

z-base-32 codec API

Encodes/decodes bytes as z-base-32 (Zooko's human-oriented base32 alphabet used by Tahoe-LAFS and Mnet), case-insensitive on decode. Answers 'What is the z-base-32 of these bytes?', 'Decode this z-base-32 string.'

Price$0.01per request
MethodPOST
Route/v1/encoding/zbase32
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
z-base-32zbase32zookobase32encodedecodecodecencoding
API URLhttps://x402.hexl.dev/v1/encoding/zbase32
Integration docs
Example request
{
  "value": "hello"
}
Example response
{
  "operation": "encode",
  "result": "pb1sa5dx",
  "byteLength": 5,
  "interpretation": "Encoded 5 bytes to z-base-32 (Zooko's human-readable base32)."
}
Input schema
{
  "type": "object",
  "required": [
    "value"
  ],
  "properties": {
    "value": {
      "type": "string",
      "examples": [
        "hello"
      ]
    },
    "operation": {
      "type": "string",
      "enum": [
        "encode",
        "decode"
      ]
    },
    "inputEncoding": {
      "type": "string",
      "examples": [
        "utf8",
        "hex",
        "base64"
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}