---
title: "Suggest classes for feed rows"
method: GET
path: "/bank-transactions/class-suggestions"
tags: ["Banking"]
---

# Suggest classes for feed rows

`GET /bank-transactions/class-suggestions`

## Request

- Base URL: `https://ledgerhq.pro/api/v1`
- URL: `https://ledgerhq.pro/api/v1/bank-transactions/class-suggestions`
- Auth: one of:
  - HTTP bearer and API key in header `x-organization-id`
  - HTTP bearer and API key in header `x-organization-id`

Read-only. For each row, suggests the class used on at least two posted rows from the same vendor and on at least half of that vendor's posts, with the supporting counts.

## Query parameters

- `ids` string, required

## Response `200`

{ data: [{ bankTransactionId, classId, matches, total }] }

## Other responses

- `default`: Error response

---

[API](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api.md) · [All operations](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/revisions/9a8269f0a586?raw)
