Currency API

We are offering free to use API for accessing Croatian currency data in a format that’s easier to use then the one provided by HNB.

Documentation

Requests can be made to https://currency.0x7f.dev/v1/rates with the following query params:

  • currency is required and should be sent as string (see supported values bellow)
  • date should be sent as string in ISO8601

If the date is before 2023-01-01 the rates will be returned with the base_currency as HRK.

Example response for https://currency.0x7f.dev/v1/rates?currency=USD

{
}

Supported currencies

  • AUD
  • CAD
  • CZK
  • DKK
  • HUF
  • JPY
  • NOK
  • SEK
  • CHF
  • GBP
  • USD
  • BAM
  • PLN
  • EUR (only for when date is before 2023-01-01)