/Get Commercial Rates

/Get Commercial Rates



Request Endpoint

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

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

Request Sample

curl --location --request GET 'https://test-api.tbcbank.ge/v1/exchange-rates/commercial?currency=usd, eur' \
--header 'apikey: I3Rz8QXBVPofKtucsenkW7g2n7aDwqBg'

Response Parameters

ParameterTypeDescription
basestringbase currency (GEL)
commercialRates { }objectlist of currency exchange rate pairs

Complex Types Description

commercialRates

ParameterTypeDescription
currencystring3-digit currency code
buynumberrate value at which bank is buying target currency
sellnumberrate value at which bank is selling target currency

Response Sample

{
    "base": "GEL",
    "commercialRatesList": [
        {
            "currency": "EUR",
            "buy": 3.6180,
            "sell": 3.7460
        },
        {
            "currency": "USD",
            "buy": 3.0800,
            "sell": 3.1560
        }
    ]
}

Error Response

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

Details can be found at Error Code Description.

Recipe