# merchants.get

Read one merchant by its key: the profile, monthly spend per currency, the five latest transactions, the web pages the profile was read from, and any category suggestion waiting for review. Finance access required.

`GET | POST /api/v1/accounting/merchants.get`

Permissions: `accounting:read` · Roles: admin, finance

MCP tool: `accounting_merchants_get`

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `key` | string | Yes | 1–120 characters. |
| `from` | string |  | The first date to include, as YYYY-MM-DD. Date as YYYY-MM-DD. |
| `to` | string |  | The last date to include, as YYYY-MM-DD. Date as YYYY-MM-DD. |

## Example request

```bash
curl -G https://app.getoatmilk.com/api/v1/accounting/merchants.get \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  --data-urlencode 'key=example'
```

Reference page: https://app.getoatmilk.com/docs/api/merchants.get
