map
String / MiscExtracts a field from every object in an array — identical to pluck but named for familiarity with functional programming conventions. Supports dot-notation for nested fields.
Syntax
map:fieldfieldField name to extract from each object (supports dot-notation)Use cases
| Use case | Description | URL | |
|---|---|---|---|
| Map over nested geo lat | Extract latitude values from every user to build a coordinate array. | https://httpip.es/api/pipe/fetch:https://jsonplaceholder.typicode.com/users|map:address.geo.lat | |
| Map to repo sizes | Pull the size field from every repo object. | https://httpip.es/api/pipe/fetch:https://api.github.com/users/octocat/repos|map:size|sort | |
| Map post user IDs | Extract userId from all posts then get distinct author IDs. | https://httpip.es/api/pipe/fetch:https://jsonplaceholder.typicode.com/posts|map:userId|distinct|sort | |
| Map todo titles | Get a list of all todo titles for a specific user. | https://httpip.es/api/pipe/fetch:https://jsonplaceholder.typicode.com/todos|filter:userId,eq,2|map:title |