Official exchange rates of the NBG
rates_get_official_ratesReturns the official exchange rates of the lari that the National Bank of Georgia (NBG) sets, for one date. Use it for the rate of a currency today or on a past date, for a contract, an invoice, or a tax form. Each rate is the price in GEL of quantity units; rate_per_unit is the price of one unit. The NBG publishes the rates of each business day at about 17:00 Tbilisi time, in force from the next day until the next set. A weekend or a holiday returns the set in force on it. The official rate is indicative. It is not the price of a bank.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | The date in YYYY-MM-DD, in Tbilisi. Empty means today. At most the valid date of the newest set: tomorrow after about 17:00. | |
| language | No | The language of the currency names: en or ka. Empty means en. | |
| currencies | No | ISO 4217 codes, for example USD and EUR. Empty returns every currency. At most 50. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | Yes | The publication instant of the set, RFC 3339. The read instant when the set is empty. | |
| rates | Yes | The official rates, sorted by currency. | |
| stale | Yes | True when the NBG did not answer and the server returns a set it read before. | |
| source | Yes | National Bank of Georgia. | |
| missing | No | The requested codes with no official rate on the date. | |
| read_at | Yes | The instant the server read the set from the NBG, RFC 3339. | |
| valid_from | No | The date from which the set is in force, YYYY-MM-DD. |