---
title: "Count transactions"
method: GET
path: "/v1/transactions/count"
tags: ["Transactions"]
---

# Count transactions

`GET /v1/transactions/count`

## Request

- Base URL: `https://api.triqai.com`
- URL: `https://api.triqai.com/v1/transactions/count`
- Auth: API key in header `X-API-Key`

Returns the total number of transactions for the authenticated organization.
Optionally filter by `afterDate` to count only transactions created on or after a given date.

## Query parameters

- `afterDate` string, date-time

## Response `200`

Transaction count

- TransactionCountResponse
  - `success` true, required
  - `data` object, required
    - `count` integer, required
  - `meta` ResponseMeta, required
    - `generatedAt` string, date-time, required
    - `requestId` string, required
    - `version` string, required

## Other responses

- `401`: Authentication failed or missing credentials
- `403`: Authenticated but not authorized
- `422`: Request validation failed
- `429`: Rate limit exceeded
- `500`: Internal server error

---

[API](https://skmtc.dev/triqai/apis/triqai-transaction-enrichment-api.md) - [All operations](https://skmtc.dev/triqai/apis/triqai-transaction-enrichment-api/llms.txt) - [OpenAPI document](https://skmtc.dev/triqai/apis/triqai-transaction-enrichment-api/revisions/da1b24723e53?raw)
