Skip to main content

Currencies

list-currencies (GET /v1/currencies) returns every currency Budget Thing supports (66 ISO 4217 currencies) with what you need to format an amount the way the app does. It is one of the few public operations: it needs no access token and returns the same list to everyone.

curl -s "https://api.budgetthing.com/api/v1/currencies"

The response is a JSON object keyed by currency code, not an array:

{
"USD": {
"code": "USD",
"name": "US Dollar",
"nameTranslationKey": "currencies.USD.name",
"regions": ["US", "AS", "BQ", "EC", "FM", "GU", "IO", "MH", "MP", "PA", "PR", "PW", "SV", "TC", "TL", "UM", "VG", "VI"],
"symbol": "$",
"precision": 2,
"decimalSeparator": ".",
"thousandsSeparator": ",",
"symbolPosition": "before"
},
"SEK": {
"code": "SEK",
"name": "Swedish Krona",
"nameTranslationKey": "currencies.SEK.name",
"regions": ["SE"],
"symbol": "kr",
"precision": 2,
"decimalSeparator": ",",
"thousandsSeparator": " ",
"symbolPosition": "after"
}
}
FieldMeaning
codeThe ISO 4217 code, the same as the key.
nameThe English name.
nameTranslationKeyAlways currencies.<code>.name, the key the Budget Thing apps translate the name with.
regionsISO 3166-1 alpha-2 codes of the countries and territories where the currency is normally used.
symbolThe symbol, for example $, € or kr. Several currencies share a symbol (¥ is both JPY and CNY), so show the code where that matters.
precisionThe currency's usual number of decimal places: 0 (JPY, ISK), 2 (most) or 3 (BHD, JOD, OMR).
decimalSeparator, thousandsSeparatorThe usual separators. The thousands separator can be a space or '.
symbolPositionbefore or after the number.

These are the currency's defaults. A workspace's own money format can differ: amounts in the API are integers in the workspace's minor unit, so read the workspace's currencyPrecision before converting an amount, rather than this list's precision. See Amounts and dates.

The list changes only with a Budget Thing release, so you can cache it.