---
title: "Returns all accounts of the user returned in a basic auto-complete array."
method: GET
path: "/v1/autocomplete/accounts"
tags: ["autocomplete"]
---

# Returns all accounts of the user returned in a basic auto-complete array.

`GET /v1/autocomplete/accounts`

## Request

- Base URL: `https://demo.firefly-iii.org/api`
- URL: `https://demo.firefly-iii.org/api/v1/autocomplete/accounts`
- 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

## Query parameters

- `query` string, string
- `limit` integer
- `date` string, string
- `types` AccountTypeFilter[]

## Headers

- `X-Trace-Id` string, uuid

## Response `200`

A list of accounts with very basic information.

- AutocompleteAccount[]
  - `id` string, string, required
  - `name` string, string, required: Name of the account found by an auto-complete search.
  - `name_with_balance` string, string, required: Asset accounts and liabilities have a second field with the given date's account balance in the account currency or primary currency.
  - `active` boolean: Is the bill active or not?
  - `type` string, string, required: Account type of the account found by the auto-complete search.
  - `currency_id` string, string, required: ID for the currency used by this account. If the user prefers amounts converted to their primary currency, this primary currency is used instead.
  - `currency_name` string, string, required: Currency name for the currency used by this account. If the user prefers amounts converted to their primary currency, this primary currency is used instead.
  - `currency_code` string, string, required: Currency code for the currency used by this account. If the user prefers amounts converted to their primary currency, this primary currency is used instead.
  - `currency_symbol` string, string, required: Currency symbol for the currency used by this account. If the user prefers amounts converted to their primary currency, this primary currency is used instead.
  - `currency_decimal_places` integer, required: Number of decimal places for the currency used by this account. If the user prefers amounts converted to their primary currency, this primary currency is used instead.
  - `account_currency_id` string, string: ID for the currency used by this account. Even if "convertToPrimary" is on, the account currency ID is displayed here.
  - `account_currency_name` string, string: Name for the currency used by this account. Even if "convertToPrimary" is on, the account currency name is displayed here.
  - `account_currency_code` string, string: Code for the currency used by this account. Even if "convertToPrimary" is on, the account currency code is displayed here.
  - `account_currency_symbol` string, string: Code for the currency used by this account. Even if "convertToPrimary" is on, the account currency code is displayed here.
  - `account_currency_decimal_places` integer: Number of decimal places for the currency used by this account. Even if "convertToPrimary" is on, the account currency code is displayed here.

## 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-4-8.md) - [All operations](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-v6-4-8/llms.txt) - [OpenAPI document](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-v6-4-8/revisions/bf6c71da53e3?raw)
