---
title: "GET /user/{userID}/insights"
method: GET
path: "/user/{userID}/insights"
tags: ["insights"]
---

# GET /user/{userID}/insights

`GET /user/{userID}/insights`

Used to get insights about transactions between given time range.

## Path parameters

- `userID` integer, required

## Headers

- `Cache-Control` string
- `User-Agent` string, required
- `X-Bunq-Language` string
- `X-Bunq-Region` string
- `X-Bunq-Client-Request-Id` string
- `X-Bunq-Geolocation` string
- `X-Bunq-Client-Authentication` string, required

## Response `200`

Used to get insights about transactions between given time range.

- InsightListing[]
  - `category` string — The category.
  - `category_translated` string — The translated category.
  - `category_color` string — The color of the category.
  - `category_icon` string — The icon of the category.
  - `amount_total` Amount
    - `value` string — The amount formatted to two decimal places.
    - `currency` string — The currency of the amount. It is an ISO 4217 formatted currency code.
  - `number_of_transactions` integer — The number of the transactions in the category.

## Other responses

- `400` — This is how the error response looks like for 4XX response codes

---

[API](https://skmtc.net/bunq/apis/bunq-api.md) · [All operations](https://skmtc.net/bunq/apis/bunq-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bunq/bunq-api/revisions/369477c7bd26/schema)
