/Get official rates

Request Endpoint

https://test-api.tbcbank.ge/v1/exchange-rates/nbg
https://api.tbcbank.ge/v1/exchange-rates/nbg

Authorization

Authorization TypeDescription
None

Request Parameters

Header

ParameterTypeDescription
apikeystringdeveloper app API key

Query Parameters

ParameterTypeDescription
currencystringlist of comma-separated 3-letter currency codes for limiting results to specific currencies. e.g. USD,EUR,JPY
datestringparameter for getting official rates for specific date. date should be passed in YYYY-MM-DD format

Request Sample

curl --location --request GET   'https://test-api.tbcbank.ge/v1/exchange-rates/nbg?currency=USD%2CEUR%2CJPY&date=31%2F05%2F2021' \
--header 'apikey: I3Rz8QXBVPofKtucsenkW7g2n7aDwqBg'

Response Parameters

Response contains array of couples of currency code with corresponding exchange rate value.

ParameterTypeDescription
currencystring3-digit Currency code
valuenumberofficial exchange rate value

Response Sample

[
    {
        "currency": "EUR",
        "value": 3.2515
    },
    {
        "currency": "USD",
        "value": 2.9770
    }
]

Error Response

In case of error, standard response in problem json will be returned.

Details can be found at Error Code Description