Official National Bank of Ukraine rates for 3 Nov 2026: 1 USD = 45.535 UAH, 1 EUR = 51.053 UAH. All 45 currencies published, history back to 1996. Free JSON API for tax, audits, and compliant invoicin
翻译准备中
金融JavaScriptGitHub @AllRates-Today在线运营者未确认
试用过了吗? 点一下就好,无需登录。
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证National Bank of Ukraine official daily hryvnia exchange rates in Node.js/TypeScript — powered by AllRatesToday
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗Official National Bank of Ukraine (Ukraine) daily exchange rates for Node.js and TypeScript. The published central bank rates behind tax filings, customs valuations, audits, and compliant invoicing — not market estimates, but the numbers National Bank of Ukraine itself prints, every business day.
rate_date on every responsederived: true, never mixed with official printsfetch; Node 18+, Bun, Deno, and edge runtimesrate_type, publication date, and source disclaimer on every responseOfficial rate, not mid-market: every value here is a number National Bank of Ukraine itself published, fixed once printed and carrying the central bank's own
rate_date— what filings and audits require. Need the live mid-market rate for pricing or display instead? Use the mid-market API or@allratestoday/sdk. The two can diverge by several percent.
Get a free API key at allratestoday.com/register — no credit card required. Latest rates are on every plan, including free.
The image is rendered live from the keyless endpoint, so it follows the central bank's publications on npm and on GitHub alike without a new release. The same table as text is folded below for search and copy-paste: on GitHub a daily Action refreshes it whenever the central bank publishes a new table; on npm it is as of the package's publish date.
| Base | Quote | Type | Rate |
|---|---|---|---|
| AED | UAH | reference | 12.3972 |
| AUD | UAH | reference | 31.9067 |
| AZN | UAH | reference | 26.7891 |
| BDT | UAH | reference | 0.36598 |
| CAD | UAH | reference | 32.584 |
| CHF | UAH | reference | 55.5641 |
| CNY | UAH | reference | 6.8518 |
| CZK | UAH | reference | 2.0969 |
| DKK | UAH | reference | 6.8308 |
| DZD | UAH | reference | 0.33556 |
| EGP | UAH | reference | 0.8213 |
| EUR | UAH | reference | 51.0527 |
| GBP | UAH | reference | 61.0918 |
| GEL | UAH | reference | 17.5404 |
| HKD | UAH | reference | 5.8036 |
| HUF | UAH | reference | 0.140072 |
| IDR | UAH | reference | 0.0025081 |
| ILS | UAH | reference | 14.5108 |
| INR | UAH | reference | 0.47985 |
| JPY | UAH | reference | 0.28837 |
| KRW | UAH | reference | 0.033911 |
| KZT | UAH | reference | 0.10064 |
Source: Official rates published by NBU, served by AllRatesToday. Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
npm install nbu-exchange-rate
yarn add nbu-exchange-rate
pnpm add nbu-exchange-rate
Requires Node 18+ (global fetch); also runs on Bun, Deno and edge runtimes. Also published under the org scope as @allratestoday/nbu-exchange-rate — same code, same versions.
import { getRate } from 'nbu-exchange-rate';
const pair = await getRate('USD', 'UAH', { apiKey: 'art_live_...' });
console.log(pair.rate, pair.rate_date); // the official National Bank of Ukraine rate, on the central bank's own date
Free plan and up. Pairs the central bank does not print directly are resolved from its table and flagged (see Published vs derived rates below).
const pair = await getRate('USD', 'UAH', { apiKey: 'art_live_...' });
Response:
{
bank: 'nbu',
name: 'National Bank of Ukraine',
rate_date: '2026-10-13', // National Bank of Ukraine's own publication date
source: 'USD',
target: 'UAH',
rate: 44.9567,
rate_type: 'reference',
derived: false,
method: 'published',
disclaimer: 'Official rates as published by the named central bank. On weekends/holidays the most recent published rate_date is returned.'
}
Free plan and up. The complete table for the latest publication date.
import { getLatestRates } from 'nbu-exchange-rate';
const table = await getLatestRates({ apiKey: 'art_live_...' });
console.log(table.rate_date, table.rates.length);
Response:
{
bank: 'nbu',
name: 'National Bank of Ukraine',
rate_date: '2026-10-13',
rates: [
{ "base": "USD", "quote": "UAH", "type": "reference", "value": 44.9567 },
// … the rest of the published table (45 currencies vs UAH)
],
disclaimer: '…'
}
Paid plans. The official table for any date since 1996 — weekends and holidays return the most recent published date, flagged via published_on_requested_date, which is exactly the in-force rate a filing needs.
import { getRatesForDate } from 'nbu-exchange-rate';
const day = await getRatesForDate('2026-06-30', { apiKey: 'art_live_...' });
// Optionally narrow to one pair:
const one = await getRatesForDate('2026-06-30', { apiKey: 'art_live_...', source: 'USD', target: 'UAH' });
Response:
{
bank: 'nbu',
requested_date: '2026-06-30',
rate_date: '2026-06-30', // the date actually published
published_on_requested_date: true, // false when a weekend/holiday fell back
rates: [ /* the full table for that date */ ],
disclaimer: '…'
}
Paid plans. One resolved rate per publication date — ready for charting, revaluation runs, or audit workpapers.
import { getHistory } from 'nbu-exchange-rate';
const series = await getHistory(
{ source: 'USD', target: 'UAH', from: '2026-01-01', to: '2026-10-13' },
{ apiKey: 'art_live_...' }
);
Response:
{
bank: 'nbu',
source: 'USD',
target: 'UAH',
from: '2026-01-01',
to: '2026-10-13',
count: 152,
rates: [
// one entry per publication date
{ date: '2026-10-13', rate: 44.9567, rate_type: 'reference', derived: false, method: 'published' },
// …
],
disclaimer: '…'
}
Pass { symbol: 'USD' } instead of source/target to get the raw published rows for one currency (all rate types, no pair resolution).
National Bank of Ukraine currently publishes rates covering 45 currencies against the UAH (as of the latest table):
🇦🇪 AED · 🇦🇺 AUD · 🇦🇿 AZN · 🇧🇩 BDT · 🇨🇦 CAD · 🇨🇭 CHF · 🇨🇳 CNY · 🇨🇿 CZK · 🇩🇰 DKK · 🇩🇿 DZD · 🇪🇬 EGP · 🇪🇺 EUR · 🇬🇧 GBP · 🇬🇪 GEL · 🇭🇰 HKD · 🇭🇺 HUF · 🇮🇩 IDR · 🇮🇱 ILS · 🇮🇳 INR · 🇯🇵 JPY · 🇰🇷 KRW · 🇰🇿 KZT · 🇱🇧 LBP · 🇲🇩 MDL · 🇲🇽 MXN · 🇲🇾 MYR · 🇳🇴 NOK · 🇳🇿 NZD · 🇵🇱 PLN · 🇷🇴 RON · 🇷🇸 RSD · 🇸🇦 SAR · 🇸🇪 SEK · 🇸🇬 SGD · 🇹🇭 THB · 🇹🇳 TND · 🇹🇷 TRY · 🇺🇸 USD · 🇻🇳 VND · XAG · XAU · XDR · XPD · XPT · 🇿🇦 ZAR
The National Bank of Ukraine sets the hryvnia's official exchange rates for around 45 currencies each business day — published in the afternoon for the next working day, and the legally mandated reference for Ukrainian accounting and customs.
rate_date moves; every response carries the same figure as available_by_utc — see when to pollrate_date on every row — see the methodologyvalue is always quote currency per 1 unit of base currency (base: "EUR", quote: "USD", value: 1.15 means 1 EUR = 1.15 USD).base: "USD", quote: "UAH" means UAH per one US dollar).getRate(target, source) and the API inverts or crosses for you, flagged derived: true — never divide a published rate yourself in a compliance workflow.XAU, XAG, XPT, XPD) are quoted per troy ounce.rate_type tells you which of the central bank's series a row belongs to (reference here); some publishers print buy/sell or several fixings for the same pair.Loading the official National Bank of Ukraine rate into an accounting system is a supported workflow, not a hack. Step-by-step guides with the direction each system expects:
The same keyed endpoints return ?format=csv, ?format=xml and ?format=xlsx, and accept the key as ?api_key= on the URL for importers that cannot send headers:
curl "https://allratestoday.com/api/v1/central-bank/nbu/latest?format=xml&api_key=art_live_..."
npx -y @allratestoday/central-bank-mcp (stdio) or the hosted endpoint https://allratestoday.com/api/mcp — tools for official rates, history, cross-bank comparison and publication calendars@allratestoday/sdk 1.4+ has officialRates('nbu') and @allratestoday/mcp-server 0.6+ has a get_official_rates tool — both return this source's latest table with no key, so you can add it without a second dependency/plugin marketplace add AllRates-Today/claude-code-plugin then /plugin install allratestoday@allratestoday — bundles both MCP servers plus an /official-rate nbu ... commandPOST https://allratestoday.com/api/agent/keys (send Content-Type: application/json) returns a 100-call key valid 7 days that covers the free-plan methods (latest table, pairs); dated tables and history need a paid plan. The MCP servers expose it as request_trial_keyIf National Bank of Ukraine does not print a pair directly, the API resolves it from the central bank's own table and says so — official and computed values are never confused:
method | derived | Meaning |
|---|---|---|
published | false | The central bank printed this pair directly |
inverse | true | Computed as 1 ÷ the published opposite direction |
cross | true | Computed via UAH from two published rates |
Errors are thrown as Error with status (HTTP code) and body (the API's JSON error) attached:
try {
const pair = await getRate('USD', 'XXX', { apiKey: 'art_live_...' });
} catch (err) {
console.log(err.message); // human-readable reason
console.log(err.status); // e.g. 404
}
| Status | Meaning |
|---|---|
| — | Missing apiKey (thrown before any request) |
400 | Malformed date or parameters |
401 | Invalid API key |
403 | Endpoint needs a paid plan (historical dates & series) |
404 | Pair or date range not covered by National Bank of Ukraine |
429 | Monthly quota exceeded |
Full definitions ship with the package — no @types install:
import type { LatestRates, PairRate, DatedRates, RateEntry, HistoryQuery, RequestOptions } from 'nbu-exchange-rate';
const { getRate } = require('nbu-exchange-rate');
getRate('USD', 'UAH', { apiKey: 'art_live_...' }).then((pair) => console.log(pair.rate));
| Method | Plan | Description |
|---|---|---|
getRate(source, target, { apiKey }) | Free | Latest rate for one pair, resolved from the published table |
getLatestRates({ apiKey }) | Free | The central bank's full latest published table |
getRatesForDate(date, { apiKey, source?, target? }) | Paid | The official table (or one pair) for a YYYY-MM-DD date |
getHistory({ symbol | source+target, from?, to? }, { apiKey }) | Paid | Daily series since 1996 |
Need the whole archive rather than an API call? The same published tables are mirrored daily as open data:
rates/nbu.csv)https://raw.githubusercontent.com/AllRates-Today/central-bank-exchange-rates/main/data/nbu/latest.jsonMIT
| LBP | UAH | reference | 0.000508 |
| MDL | UAH | reference | 2.5266 |
| MXN | UAH | reference | 2.4308 |
| MYR | UAH | reference | 11.1812 |
| NOK | UAH | reference | 4.9215 |
| NZD | UAH | reference | 25.6161 |
| PLN | UAH | reference | 11.5544 |
| RON | UAH | reference | 9.56 |
| RSD | UAH | reference | 0.43419 |
| SAR | UAH | reference | 12.1327 |
| SEK | UAH | reference | 4.665 |
| SGD | UAH | reference | 35.5977 |
| THB | UAH | reference | 1.34893 |
| TND | UAH | reference | 15.1761 |
| TRY | UAH | reference | 0.9113 |
| USD | UAH | reference | 45.5348 |
| VND | UAH | reference | 0.0017661 |
| XAG | UAH | reference | 2280.64 |
| XAU | UAH | reference | 177632.58 |
| XDR | UAH | reference | 61.7599 |
| XPD | UAH | reference | 44238.42 |
| XPT | UAH | reference | 65201.33 |
| ZAR | UAH | reference | 2.7356 |