---
title: "Insight into total income."
method: GET
path: "/v1/insight/income/total"
tags: ["insight"]
---

# Insight into total income.

`GET /v1/insight/income/total`

This endpoint gives a sum of the total income received by the user.

## Query parameters

- `start` string, date, required
- `end` string, date, required
- `accounts[]` integer[]

## Headers

- `X-Trace-Id` string, uuid

## Response `200`

A list of sums in different currencies.

- InsightTotalEntry[]
  - `difference` string, string — The amount spent between start date and end date, defined as a string, for this expense account and all asset accounts.
  - `difference_float` number, double — The amount spent between start date and end date, defined as a string, for this expense account and all asset accounts. This number is a float (double) and may have rounding errors.
  - `currency_id` string, string — The currency ID of the expenses listed for this expense account.
  - `currency_code` string, string — The currency code of the expenses listed for this expense account.

## Other responses

- `400` — Bad request
- `401` — Unauthenticated
- `404` — Page not found
- `422` — Validation error. The body will have the exact details.
- `500` — Internal exception

---

[API](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-develop.md) · [All operations](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-develop/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/firefly-iii/firefly-iii-api-develop/revisions/8a1f6472e04b/schema)
