NBG rate history
nbg_rate_historyOfficial NBG rate of one currency (GEL per one unit) in force on every calendar day of an inclusive range of at most 366 days. Dates are calendar days in Tbilisi. Days without a rate of their own (Sundays, Mondays and days after a public holiday; before September 2021 NBG set a rate for every calendar day) carry the earlier rate. Days whose own rate is in force contain only date and rate; a carried-over day adds effectiveDate and carriedOver: true. Quote effectiveDate when carriedOver is true. A range reaching a date NBG has not published yet returns an error. summary holds the first, last, change, lowest and highest rate with their dates, and the average over the calendar days, computed by the server: report those rather than deriving them. One NBG request per call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Last calendar day, inclusive. At most 366 days including "from". | |
| from | Yes | First calendar day, inclusive. | |
| currency | Yes | ISO 4217 code, for example USD. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| days | Yes | ||
| from | Yes | ||
| summary | Yes | Computed by the server; report these instead of deriving them from days. change and average are exact, rounded half up to the decimals NBG's quantity gives the currency, 4 + log10(nbgQuantity), the largest over the days (4 for USD, 7 for AMD). | |
| currency | Yes |