/Convert with official rates
/Convert with official rates
Request Endpoint
https://test-api.tbcbank.ge/v1/exchange-rates/nbg/convert
https://api.tbcbank.ge/v1/exchange-rates/nbg/convert
Authorization
Authorization Type | Description |
---|---|
None |
Request Parameters
Header
Parameter | Type | Description |
---|---|---|
apikey | string | developer app API key |
Query Parameters
Parameter | Type | Description |
---|---|---|
amount (required) | number | value to be converted |
from (required) | string | base currency from which given amount should be converted |
to (required) | string | target currency to which amount should be converted |
Request Sample
curl \
'https://test-api.tbcbank.ge/v1/exchange-rates/nbg/convert?amount=10&from=usd&to=gel' \
--header 'apikey: I3Rz8QXBVPofKtucsenkW7g2n7aDwqBg' \
--header 'Accept: application/json' \
--compressed
Response Parameters
Parameter | Type | Description |
---|---|---|
from | string | base currency from which given amount was converted |
to | string | target currency to which given amount was converted |
amount | number | amount that was converted |
value | number | conversion result |
Response Sample
{
"from": "USD",
"to": "GEL",
"amount": 1,
"value": 3.265
}
Error Response
In case of error, standard response in problem json will be returned.
Details can be found at Error Code Description.
Recipe
💸
Exchange Rates Convert with Official Rates
Open Recipe
Updated over 2 years ago