Data Transform
Encoding converter API
Convert payloads between UTF-8, hex, Base64, binary byte strings, and decimal byte lists.
Price$0.01per request
MethodPOST
Route/v1/data-transform/convert
StatusLive
MIME typeapplication/json
Rate limit240/minute
CacheNo cache
data-transformconverthexbase64binary
API URL
Integration docshttps://x402.hexl.dev/v1/data-transform/convertExample request
{
"input": "hello",
"from": "utf8",
"to": "hex"
}Example response
{
"from": "utf8",
"to": "hex",
"output": "68656c6c6f",
"provider": "node-buffer"
}Input schema
{
"type": "object",
"required": [
"input",
"from",
"to"
],
"properties": {
"input": {
"type": "string"
},
"from": {
"type": "string",
"enum": [
"utf8",
"hex",
"base64",
"binary",
"decimal"
]
},
"to": {
"type": "string",
"enum": [
"utf8",
"hex",
"base64",
"binary",
"decimal"
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}