Currencies

Get a single currency.

GET
https://firefly.example.com/api/v1/currencies/{code}

Get a single currency.

Parameters

X-Trace-Idstring<uuid>header

Unique identifier associated with this request.

codestringrequiredpath

The currency code.

Response

The requested currency

Response fields application/vnd.api+json
dataCurrencyReadrequired
Show child attributes
typestringrequired

Immutable value

Example
currencies
idstringrequired
Example
2
attributesCurrencyPropertiesrequired
Show child attributes
created_atstring<date-time>read only
Example
2026-10-01T00:00:00+00:00
updated_atstring<date-time>read only
Example
2026-10-01T00:00:00+00:00
enabledbooleantrue

Defaults to true

Example
true
primaryboolean

Is the primary currency?

Example
false
codestringrequired
Example
AMS
namestringrequired
Example
Ankh-Morpork dollar
symbolstringrequired
Example
AM$
decimal_placesinteger<int32>

Supports 0-16 decimals.

Example
2
400Bad RequestBadRequestResponse

Bad request

Response fields application/json
messagestring
Example
Bad Request
exceptionstring
Example
BadRequestHttpException

Unauthenticated

Response fields application/json
messagestring
Example
Unauthenticated
exceptionstring
Example
AuthenticationException
404Not FoundNotFoundResponse

Page not found

Response fields application/json
messagestring
Example
Resource not found
exceptionstring
Example
NotFoundHttpException
500Internal Server ErrorInternalExceptionResponse

Internal exception

Response fields application/json
messagestring
Example
Internal Exception
exceptionstring
Example
InternalException

Authorization

firefly_iii_authoauth2

OAuth2 authorization code flow. Create a client on your installation's /profile page; it authorizes at /oauth/authorize and issues tokens at /oauth/token there. The URLs below are the demo site's. How to use the API walks through it.

local_bearer_authhttp (bearer)

A Personal Access Token, sent as a bearer token. Create one on your installation under Options > Profile > OAuth > Personal Access Tokens.