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

# Insight into total income.

`GET /v1/insight/income/total`

## Request

- Base URL: `https://demo.firefly-iii.org/api`
- URL: `https://demo.firefly-iii.org/api/v1/insight/income/total`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://demo.firefly-iii.org/oauth/authorize`
    - Token URL: `https://demo.firefly-iii.org/oauth/token`
  - HTTP bearer

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-v6-3-0-beta-2.md) - [All operations](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-v6-3-0-beta-2/llms.txt) - [OpenAPI document](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-v6-3-0-beta-2/revisions/a5f6f8195556?raw)
