Catalog/encoding-multibase-parse

Encoding

Parse multibase prefix API

Identifies the leading multibase prefix of a string (IPFS/libp2p self-describing encoding) and returns the resolved encoding name, numeric base, and payload. Answers 'What encoding is this multibase string?', 'Split a multibase value into prefix and payload.'

Price$0.01per request
MethodPOST
Route/v1/encoding/multibase-parse
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
multibaseipfslibp2pself-describingparseprefixbase58btcencoding
API URLhttps://x402.hexl.dev/v1/encoding/multibase-parse
Integration docs
Example request
{
  "value": "zQmYwAPJzv5CZsnA625s3Xf2nemtYgPpHdWEz79ojWnPbdG"
}
Example response
{
  "prefix": "z",
  "encoding": "base58btc",
  "base": 58,
  "payload": "QmYwAPJzv5CZsnA625s3Xf2nemtYgPpHdWEz79ojWnPbdG",
  "payloadLength": 46,
  "interpretation": "Multibase prefix 'z' => base58btc; 46-char payload follows."
}
Input schema
{
  "type": "object",
  "required": [
    "value"
  ],
  "properties": {
    "value": {
      "type": "string",
      "examples": [
        "zQmYwAPJzv5CZsnA625s3Xf2nemtYgPpHdWEz79ojWnPbdG"
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}