National Bank’s currency exchange rate history
This method allows retrieving an exchange rate by National Bank for a requested currency to a Georgian Lari by a period. A method returns a currency exchange rate for each date within a requested period.
Query params
currencyrequiredstring
A currency code in the ISO 4217 format (e.g.: USD, GEL).
startDaterequireddate
A start date for a period.
endDaterequireddate
An end date for a period.
- REQUEST
GET api/rates/nbg/{currency}/{startDate}/{endDate}
Response
Datedate
A date.
Ratedecimal number
An exchange rate by a National Bank for a given currency.
Currencystring
A currency code in the ISO 4217 format (e.g: USD, GEL).
- JSON
- XML
[
{
"Date": "2021-06-21T11:46:16.4280359+04:00",
"Rate": 2.0,
"Currency": "sample string 3"
},
{
"Date": "2021-06-21T11:46:16.4280359+04:00",
"Rate": 2.0,
"Currency": "sample string 3"
}
]
<ArrayOfNbgCurrencyHistory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CIBApi.Models">
<NbgCurrencyHistory>
<Currency>sample string 3</Currency>
<Date>2021-06-21T11:46:16.4280359+04:00</Date>
<Rate>2</Rate>
</NbgCurrencyHistory>
<NbgCurrencyHistory>
<Currency>sample string 3</Currency>
<Date>2021-06-21T11:46:16.4280359+04:00</Date>
<Rate>2</Rate>
</NbgCurrencyHistory>
</ArrayOfNbgCurrencyHistory>