/Get official rates
/Get official rates
Request Endpoint
https://test-api.tbcbank.ge/v1/exchange-rates/nbg
https://api.tbcbank.ge/v1/exchange-rates/nbg
Authorization
Authorization Type | Description |
---|---|
None |
Request Parameters
Header
Parameter | Type | Description |
---|---|---|
apikey | string | developer app API key |
Query Parameters
Parameter | Type | Description |
---|---|---|
currency | string | list of comma-separated 3-letter currency codes for limiting results to specific currencies. e.g. USD,EUR,JPY |
date | string | parameter 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.
Parameter | Type | Description |
---|---|---|
currency | string | 3-digit Currency code |
value | number | official 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
Updated about 3 years ago