Search
Search via DB
Filter ledgers, balances, transactions, and identities using Blnk’s Filter API with direct database queries.
POST
The Filter API lets you retrieve records from any collection using server-side filters with a clean JSON interface. Use it when you need precise, composable queries without the overhead of Typesense.Documentation Index
Fetch the complete documentation index at: https://docs.blnkfinance.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorization
If set, the API uses an API key for authentication. Include the following header in your requests:X-blnk-key: <api-key>.
Replace <api-key> with your secret API key. Ensure the key is kept secure and not exposed in public repositories or client-side code.
See also: Secure your Blnk server
Path Parameters
The collection to filter. Supported values:
ledgers- Filter ledgers by name or metadatabalances- Filter balance records across all ledgerstransactions- Filter transaction recordsidentities- Filter customer identity records
Body
Array of filter objects. Each object has
field, operator, and optionally value or values. Learn more: Search via DB docsExamples:[{"field": "status", "operator": "eq", "value": "APPLIED"}]- Exact match[{"field": "currency", "operator": "in", "values": ["USD", "EUR"]}]- Multiple values
Combines multiple filters with
and or or. Default: and.Field to sort by. Only indexed fields are sortable. Default:
created_at. Learn more: Performance TuningSort direction:
asc or desc. Default: desc.Include total count in response. May impact performance on large datasets. Default:
false.Max records to return. Default: 20, max: 100.
Records to skip for pagination. Default: 0.
Response
Array of matching records. Structure varies by collection type (ledger, balance, transaction, or identity).
Total number of matching records. Only present when
include_count is true.