Skip to main content

How to get available currencies

Overview​

Use Currency API to get supported fiat and cryptocurrency lists for Calypso integrations.

Use these methods when you need to validate a request currency, build a currency selector, or format crypto amounts correctly.

Integration flow​

  1. Get all supported currency tickers by using [POST] currency.
  2. If you need fiat metadata, get fiat currencies by using [POST] currency/fiat.
  3. If you need crypto display metadata, get crypto full info by using [POST] currency/crypto/full-info.

Common request fields​

Currency API methods use the standard request wrapper.

FieldTypeRequiredDescription
timestampnumberYesCurrent Unix UTC timestamp in milliseconds. The value must not be less than 3 minutes in the past or greater than 3 minutes in the future.

Get all currencies​

Use [POST] currency.

Response fields​

FieldTypeDescription
fiatCurrenciesarraySupported fiat currency tickers.
cryptoCurrenciesarraySupported cryptocurrency tickers.

Get fiat currencies​

Use [POST] currency/fiat.

Response fields​

FieldTypeDescription
resultarrayFiat currency metadata.

Get crypto full info​

Use [POST] currency/crypto/full-info.

Cryptocurrency fields​

FieldTypeDescription
currencystringCryptocurrency ticker.
baseCurrencystringBase cryptocurrency ticker.
namestringCryptocurrency name.
tokenbooleanShows whether the cryptocurrency is a token.
networkstringBlockchain network.
recommendedDisplayScalenumberRecommended number of decimal places for UI display.
blockchainScalenumberNumber of decimal places used on the blockchain.
CaseRecommendation
Building payment or payout formsUse cryptoCurrencies to validate supported cryptocurrency values.
Displaying crypto balancesUse recommendedDisplayScale from crypto full info.
Preparing blockchain amountsUse blockchainScale when converting between human-readable and blockchain units.
DocumentLink
Exchange ratesHow to get exchange rates
Account balancesHow to get balances for a specific account
Currency API referenceCurrency API