search

Count transactions matching the given filters.

Returns the number of transactions that match the given meta-field filters. This is useful to check for existing transactions (for example to avoid duplicates) before storing new data.

get/v1/search/transactions/count

Query parameters

external_identifierstring
Example:abcd-1234

Count transactions with this exact external identifier.

internal_referencestring
Example:INV-998

Count transactions with this exact internal reference.

notesstring
Example:groceries

Count transactions whose notes contain this string.

descriptionstring
Example:Monthly rent

Count transactions with this exact description.

include_deletedboolean

Whether to include soft-deleted transactions in the count.

Headers

X-Trace-Idstring uuid
Example:40c71bbb-c676-4f24-83cf-cc725d7d7a00

Unique identifier associated with this request.

Response

The number of matching transactions.

countinteger

Example response

{
  "count": 42
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.