{
  "x402Version": 2,
  "id": 52557,
  "slug": "52557",
  "resource": "https://encoding.openverbs.com/v1/transcode",
  "description": "Decode a base64 byte buffer from one character set and re-encode it into another (utf-8, utf-16le, utf-16be, latin1, ascii). Characters that the target set cannot represent, or bytes invalid for the source set, are clean 400s.",
  "type": "http",
  "serviceName": "Transcode between character sets",
  "resourceType": "Developer Tool",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 300
    }
  ],
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "bytes": "SGVsbG8=",
            "from": "utf-8",
            "to": "utf-16le"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "bytes": {
                    "description": "Base64-encoded source bytes.",
                    "type": "string"
                  },
                  "from": {
                    "description": "Source character set.",
                    "enum": [
                      "utf-8",
                      "utf-16le",
                      "utf-16be",
                      "latin1",
                      "ascii",
                      "utf8",
                      "utf16le",
                      "utf16be",
                      "iso-8859-1",
                      "windows-1252",
                      "us-ascii"
                    ],
                    "type": "string"
                  },
                  "to": {
                    "description": "Target character set.",
                    "enum": [
                      "utf-8",
                      "utf-16le",
                      "utf-16be",
                      "latin1",
                      "ascii",
                      "utf8",
                      "utf16le",
                      "utf16be",
                      "iso-8859-1",
                      "windows-1252",
                      "us-ascii"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "bytes",
                  "from",
                  "to"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "transcode charset",
    "convert text encoding",
    "utf-8 to utf-16",
    "latin1 to utf8",
    "decode base64 bytes",
    "bazaar"
  ],
  "sourceHost": "encoding.openverbs.com",
  "lastUpdated": "2026-10-08T06:12:22.598Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-08T06:12:22.335Z"
  },
  "metadata": {
    "serviceName": "Transcode between character sets",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "bytes": "SGVsbG8=",
              "from": "utf-8",
              "to": "utf-16le"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "bytes": {
                      "description": "Base64-encoded source bytes.",
                      "type": "string"
                    },
                    "from": {
                      "description": "Source character set.",
                      "enum": [
                        "utf-8",
                        "utf-16le",
                        "utf-16be",
                        "latin1",
                        "ascii",
                        "utf8",
                        "utf16le",
                        "utf16be",
                        "iso-8859-1",
                        "windows-1252",
                        "us-ascii"
                      ],
                      "type": "string"
                    },
                    "to": {
                      "description": "Target character set.",
                      "enum": [
                        "utf-8",
                        "utf-16le",
                        "utf-16be",
                        "latin1",
                        "ascii",
                        "utf8",
                        "utf16le",
                        "utf16be",
                        "iso-8859-1",
                        "windows-1252",
                        "us-ascii"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "bytes",
                    "from",
                    "to"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "encoding.openverbs.com",
    "manifest_name": "encoding.openverbs.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  }
}