---
title: "Count transactions matching the given filters."
method: GET
path: "/v1/search/transactions/count"
tags: ["search"]
---

# Count transactions matching the given filters.

`GET /v1/search/transactions/count`

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.

## Query parameters

- `external_identifier` string
- `internal_reference` string
- `notes` string
- `description` string
- `include_deleted` boolean

## Headers

- `X-Trace-Id` string, uuid

## Response `200`

The number of matching transactions.

- object
  - `count` integer

## Other responses

- `400` — Bad request
- `401` — Unauthenticated
- `404` — Page not found
- `500` — Internal exception

---

[API](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-develop.md) · [All operations](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-develop/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/firefly-iii/firefly-iii-api-develop/revisions/8a1f6472e04b/schema)
