---
title: "Get a single currency."
method: GET
path: "/v1/currencies/{code}"
tags: ["currencies"]
---

# Get a single currency.

`GET /v1/currencies/{code}`

## Request

- Base URL: `https://demo.firefly-iii.org/api`
- URL: `https://demo.firefly-iii.org/api/v1/currencies/{code}`
- 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 a single currency.

## Path parameters

- `code` string, string, required

## Headers

- `X-Trace-Id` string, uuid

## Response `200`

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