NBU Exchange Rates API — Official UAH Rates & FX Differences avatar

NBU Exchange Rates API — Official UAH Rates & FX Differences

Pricing

from $0.64 / 1,000 exchange rates

Go to Apify Store
NBU Exchange Rates API — Official UAH Rates & FX Differences

NBU Exchange Rates API — Official UAH Rates & FX Differences

NBU exchange rates API: official UAH rates for any date or range, all currencies, invoice conversion to hryvnia and exchange gain or loss (курсові різниці) for accountants and ERP. Rate-move alerts. Pay per rate, no key.

Pricing

from $0.64 / 1,000 exchange rates

Rating

0.0

(0)

Developer

Andrew Boiko

Andrew Boiko

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Categories

Share

NBU Exchange Rates API — official hryvnia rates, history and invoice conversion

NBU Exchange Rates API returns the official National Bank of Ukraine exchange rates as flat JSON: any date, any range, any currency. Convert invoices to UAH on the invoice and payment dates and get the exchange difference (курсові різниці) ready for accounting.

What it does

  • Rates - all currencies or a selected list for one date, many dates, or a long range (one currency = one request for the whole range).
  • Convert - invoices with amount, currency, invoice date and payment date -> UAH on each date and exchange gain or loss.
  • Monitor - get an alert when USD, EUR or any currency moves by a chosen percentage since the previous run.
  • Official source only: bank.gov.ua, no scraping, no API key.

Who it's for

  • Ukrainian sole proprietors (ФОП) and accountants
  • ERP, billing and marketplace integrations
  • Fintech and treasury dashboards
  • Importers and exporters booking foreign currency invoices

Input

FieldTypeDefaultDescription
modestringratesWhat to do. rates - official rates for dates, ranges and currencies convert - convert invoices to UAH and compute exchange differences monitor - alert when a rate moves by a threshold selftest - health check (for schedules)
currenciesarray["USD", "EUR"]3-letter ISO codes, e.g. USD, EUR, PLN. Empty = all currencies (rates mode).
datesarraySpecific dates YYYY-MM-DD. Empty = latest published rates.
dateFromstringStart of a date range (YYYY-MM-DD). With exactly one currency the whole range is one request.
dateTostringEnd of the date range (YYYY-MM-DD).
invoicesarray[{"id": "INV-1", "amount": 1000, "currency": "USD", "invoiceDate": "2026-09-01", "paymentDate": "2026-10-01"}]Convert mode: objects with amount, currency, invoiceDate and optional paymentDate and id.
thresholdPercentnumber0.5Monitor mode: alert when the rate moved at least this many percent since the previous run.
maxItemsinteger200Stop after this many billable results (a spending cap per run).

Modes: rates, convert, monitor, selftest.

Example input

{
"mode": "rates",
"currencies": [
"USD",
"EUR"
],
"dates": [
"2026-10-23"
]
}

Output example

Every row is flat JSON with status (ok, not_found, invalid_input, source_error), source, sourceUrl, fetchedAt and dataAsOf.

{
"status": "ok",
"source": "National Bank of Ukraine - official exchange rates (bank.gov.ua)",
"sourceUrl": "https://bank.gov.ua/en/markets/exchangerates",
"fetchedAt": "2026-10-25T08:00:00Z",
"dataAsOf": "2026-10-23",
"date": "2026-10-23",
"cc": "USD",
"name": "Долар США",
"units": 1,
"rate": 45.051,
"uahPerUnit": 45.051
}

Pricing

Pay per event — you pay only for results, never for empty or failed lookups (not_found, invalid_input and source_error rows are free).

EventWhat is chargedPricePer 1,000
rateExchange rate$0.0008$0.8
conversionInvoice conversion$0.0015$1.5
change-eventRate move alert$0.02$20

Apify platform usage (compute, storage) is included in the event prices. Set Maximum cost per run in the run options to cap spending; the Actor stops cleanly when the limit is reached. Apify subscribers on Bronze, Silver and Gold plans get automatic discounts on the event prices.

Use with MCP, n8n, Make and Zapier

  • Apify MCP server — add https://mcp.apify.com?tools=tiger19935/nbu-exchange-rates to Claude, Cursor or any MCP client so an AI agent can call this Actor as a tool.
  • n8n / Make / Zapier — use the Apify integration, pick Run Actor, select tiger19935/nbu-exchange-rates and map the dataset items. Saved Tasks + a schedule turn it into a monitor with webhooks.
  • API — POST https://api.apify.com/v2/acts/tiger19935~nbu-exchange-rates/runs or the official Apify clients for JavaScript and Python.

FAQ

Is it legal to use this data? The Actor only reads official open data from the National Bank of Ukraine (bank.gov.ua). NBU rates are public official data. Every row carries source and sourceUrl so you can attribute it. No captcha, login or personal data of private individuals is bypassed or collected.

How fresh is the data? Each row has dataAsOf - the publication date of the source file or API. If the publisher stops updating, dataAsOf stops moving and the daily self-test run fails, so you can tell stale data from a broken Actor.

What happens when nothing is found or the source is down? You get a not_found or source_error row and you are not charged. The Actor never fails silently with an empty dataset.

How do I get alerts? Create a Task with mode: monitor, schedule it (hourly or daily) and add a webhook, or connect the Apify integration in n8n, Make or Zapier. Only new, changed and removed records are returned and charged.

Why is there no rate for some dates? The NBU publishes rates for working days and announces rates for the following day; for dates it has not published yet you get a free not_found row.