Filtering, Sorting & Fields
List endpoints accept query parameters to filter, sort, shape, and expand the data they return. Aggregation endpoints accept a full pipeline.
Filtering and sorting
The filter and sort parameters take a JSON object expressed in MongoDB Query Language (MQL), passed as a URL-encoded string.
Parameter | Type | Description |
|---|---|---|
|
| JSON object of MQL filter criteria, e.g. |
|
| JSON object of MQL sort criteria, e.g. |
Selecting fields
Parameter | Type | Description |
|---|---|---|
|
| Comma-separated list of fields to include. If provided, |
|
| Comma-separated list of fields to exclude. Defaults to all fields. |
|
| JSON object describing related data to include (populate) in the results. |
Aggregation pipelines
The Transactions and Deposits aggregated endpoints (POST /v1/transactions/aggregated, POST /v1/deposits/aggregated) accept a read-only MongoDB-style pipeline in the request body. Supported stages include $match, $group, $project, $sort, $limit, $skip, $lookup, $unwind, and $count.