---
title: "Search Recurring Merchants"
method: GET
path: "/api/bills/recurring-preferences/merchants"
tags: ["Bills"]
---

# Search Recurring Merchants

`GET /api/bills/recurring-preferences/merchants`

## Request

- Base URL: `https://api.earmarkiq.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.earmarkiq.app/api/bills/recurring-preferences/merchants`
- Auth: HTTP bearer

Merchant search over the caller's own debit transactions, for "add a
bill the detector missed": distinct merchants (display-normalised)
matching ``q``, with how often they appear, the median amount and a
cadence guess from the median gap.

## Query parameters

- `q` string
- `limit` integer

## Response `200`

Successful Response

- RecurringMerchantMatch[]
  - `merchant` string, required
  - `count` integer, required
  - `median_amount` number, required
  - `last_date` string, nullable, required
  - `suggested_frequency` string, nullable, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/earmarkiq/apis/earmark-api.md) · [All operations](https://skmtc.dev/earmarkiq/apis/earmark-api/llms.txt) · [OpenAPI document](https://skmtc.dev/earmarkiq/apis/earmark-api/revisions/4a2c41907105?raw)
