Catalog/data-transform-html

Data Transform

HTML entity transform API

Encode or decode common HTML entities without invoking a browser or parser.

Price$0.01per request
MethodPOST
Route/v1/data-transform/html
StatusLive
MIME typeapplication/json
Rate limit180/minute
CacheNo cache
data-transformhtmlentitiesencodedecode
API URLhttps://x402.hexl.dev/v1/data-transform/html
Integration docs
Example request
{
  "operation": "encode",
  "input": "<b>Hello & goodbye</b>"
}
Example response
{
  "operation": "encode",
  "output": "&lt;b&gt;Hello &amp; goodbye&lt;/b&gt;",
  "provider": "local-entities"
}
Input schema
{
  "type": "object",
  "required": [
    "operation",
    "input"
  ],
  "properties": {
    "operation": {
      "type": "string",
      "enum": [
        "encode",
        "decode"
      ]
    },
    "input": {
      "type": "string"
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}