Search
Search via DB
Filter ledgers, balances, transactions, and identities with the TypeScript SDK.
POST
Search via DB
Use
blnk.Search.filter to filter records in a collection.
blnk.Search.filter
| Field | Description |
|---|---|
filters | Array of filter conditions, each with a field, operator, and a value or values. |
logical_operator | Combine filters with and or or. Defaults to and. |
sort_by | Field to sort by. Defaults to created_at. |
sort_order | Sort direction, asc or desc. Defaults to desc. |
include_count | Return total_count in the response. Defaults to false. |
limit | Maximum records to return. Defaults to 20, max 100. |
offset | Records to skip for pagination. Defaults to 0. |
collection | Collection to filter: ledgers, transactions, balances, or identities. |
Response shape
200 OK
| Field | Description |
|---|---|
data | Array of matching records. Shape varies by collection. |
total_count | Total matching records. Only present when include_count is true. |
Related docs
How DB filtering works
Supported operators and field reference.
Search via DB
HTTP request and response schema.