Data Transform
Deep pick paths API
Builds a new object containing only the listed dot-paths, reconstructing the nesting for each kept value. Answers 'How do I keep only specific nested fields?', 'How do I project a subset of deep JSON?'.
Price$0.01per request
MethodPOST
Route/v1/data-transform/deep-pick
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
data-transformpickjsonpathprojectsubsetwrangle
API URL
Integration docshttps://x402.hexl.dev/v1/data-transform/deep-pickExample request
{
"object": {
"a": {
"b": 1,
"c": 2
},
"d": 3
},
"paths": [
"a.b",
"d"
]
}Example response
{
"result": {
"a": {
"b": 1
},
"d": 3
}
}Input schema
{
"type": "object",
"required": [
"object",
"paths"
],
"properties": {
"object": {
"type": "object",
"examples": [
{
"a": {
"b": 1,
"c": 2
},
"d": 3
}
]
},
"paths": {
"type": "array",
"examples": [
[
"a.b",
"d"
]
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}