Data Transform
Dedupe objects deeply API
Removes duplicate objects from an array by deep value equality (key-order independent), keeping first occurrences. Answers 'How do I dedupe an array of objects ignoring key order?', 'How do I remove structurally identical records?'.
Price$0.01per request
MethodPOST
Route/v1/data-transform/dedupe-objects
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
data-transformdedupeuniquedistinctdeep-equalarraywrangle
API URL
Integration docshttps://x402.hexl.dev/v1/data-transform/dedupe-objectsExample request
{
"data": [
{
"a": 1,
"b": 2
},
{
"b": 2,
"a": 1
},
{
"a": 3
}
]
}Example response
{
"result": [
{
"a": 1,
"b": 2
},
{
"a": 3
}
],
"removed": 1
}Input schema
{
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "array",
"examples": [
[
{
"a": 1,
"b": 2
},
{
"b": 2,
"a": 1
},
{
"a": 3
}
]
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}