---
title: "Get the primary currency of the current administration."
method: GET
path: "/v1/currencies/primary"
tags: ["currencies"]
---

# Get the primary currency of the current administration.

`GET /v1/currencies/primary`

## Request

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

Get the primary currency of the current administration. This replaces what was called "the user's default currency" although they are essentially the same.

## Headers

- `X-Trace-Id` string, uuid

## Response `200`

The primary currency

- CurrencySingle
  - `data` CurrencyRead, required
    - `type` string, string, required: Immutable value
    - `id` string, string, required
    - `attributes` CurrencyProperties, required
      - `created_at` string, date-time
      - `updated_at` string, date-time
      - `enabled` boolean: Defaults to true
      - `primary` boolean: Is the primary currency?
      - `code` string, string, required
      - `name` string, string, required
      - `symbol` string, string, required
      - `decimal_places` integer: Supports 0-16 decimals.

## Other responses

- `400`: Bad request
- `401`: Unauthenticated
- `404`: Page not found
- `500`: Internal exception

---

[API](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-v6-4-16.md) - [All operations](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-v6-4-16/llms.txt) - [OpenAPI document](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-v6-4-16/revisions/9935effbe852?raw)
