Catalog/data-transform-map-values

Data Transform

Map object values API

Applies a deterministic transform (upper/lower/trim/number/string/boolean/round) to every value of an object. Answers 'How do I transform all values of an object at once?', 'How do I coerce or normalize every field?'.

Price$0.01per request
MethodPOST
Route/v1/data-transform/map-values
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
data-transformmap-valuestransformobjectnormalizewrangle
API URLhttps://x402.hexl.dev/v1/data-transform/map-values
Integration docs
Example request
{
  "object": {
    "a": " Hi ",
    "b": "lo"
  },
  "transform": "trim"
}
Example response
{
  "result": {
    "a": "Hi",
    "b": "lo"
  }
}
Input schema
{
  "type": "object",
  "required": [
    "object",
    "transform"
  ],
  "properties": {
    "object": {
      "type": "object",
      "examples": [
        {
          "a": " Hi ",
          "b": "lo"
        }
      ]
    },
    "transform": {
      "type": "string",
      "examples": [
        "trim"
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}