# NBU Data Ukraine – Official UAH Exchange Rates

> NBU Data Ukraine – Official UAH Exchange Rates is a paid API for AI agents from nbu.navistri.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-14).

Returns the official National Bank of Ukraine (NBU) hryvnia exchange rates for 40+ currencies, gold, silver, and SDR on a given date, with English names.

## Facts

- Endpoint: GET https://nbu.navistri.com/v1/rates?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nbu-data-ukraine-official-uah-exchange-rates-92831d40
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FkqeF0fHqpndBxRFTDhIq

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability nbu-data-ukraine-official-uah-exchange-rates-92831d40
```

Example prompt: What is the official NBU hryvnia exchange rate for USD and EUR today? I need the legally official rates for a Ukrainian invoice.

## When to prefer this

Choose this endpoint when you need the legally official UAH exchange rate as published by the National Bank of Ukraine — required for Ukrainian accounting, tax filings, customs declarations, and official invoicing. It provides historical rates back to 1996, covers 40+ currencies plus gold, silver, and SDR, and returns English names alongside Ukrainian names. Prefer this over generic FX APIs when Ukrainian legal compliance is required.

## Known failure modes

- Date out of range (before 1996-09-02 or beyond tomorrow Kyiv time) returns an error
- Invalid or unsupported currency ISO code returns an empty rates array or error
- Malformed date format (not YYYY-MM-DD) returns a validation error
- Network or upstream NBU API unavailability may return a 5xx error
- Currency code not published by NBU returns no rate entry

## How this service works

Official National Bank of Ukraine (NBU) exchange rates of the hryvnia (UAH) on a date: 40+ currencies, gold, silver and SDR, with English names. Call it when you need the legally official UAH rate for Ukrainian accounting, tax, invoices or customs, or to convert to/from UAH on a given date. Params: date (YYYY-MM-DD, default today in Kyiv), currency (ISO code, optional; omit for all).

## Output

Returns a JSON object with the date, base currency (UAH), and an array of currency rate objects each containing: ISO code, English name, Ukrainian name, numeric code, units, UAH rate per units, UAH rate per single unit, the date the rate was set, and a special-conditions flag for USD. Also includes metadata such as source URL, retrieval timestamp, caching status, and terms.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "date": {
       "type": "string",
       "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
       "description": "Date the rate applies to, YYYY-MM-DD, from 1996-09-02 to tomorrow (Kyiv). Default: today."
      },
      "currency": {
       "type": "string",
       "pattern": "^[A-Za-z]{3}$",
       "description": "ISO 4217 code such as USD, EUR, PLN, XAU. Omit to get every published currency."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "data",
      "meta"
     ],
     "properties": {
      "data": {
       "type": "object",
       "required": [
        "date",
        "base",
        "count",
        "rates"
       ],
       "properties": {
        "base": {
         "const": "UAH"
        },
        "date": {
         "type": "string",
         "format": "date"
        },
        "count": {
         "type": "number"
        },
        "rates": {
         "type": "array",
         "items": {
          "type": "object",
          "required": [
           "currency",
           "rate",
           "units",
           "ratePerUnit"
          ],
          "properties": {
           "name": {
            "type": [
             "string",
             "null"
            ],
            "description": "English name"
           },
           "rate": {
            "type": "number",
            "description": "UAH per `units` units of the currency"
           },
           "setOn": {
            "type": [
             "string",
             "null"
            ],
            "description": "Date the NBU set the rate"
           },
           "units": {
            "type": "number"
           },
           "nameUk": {
            "type": [
             "string",
             "null"
            ],
            "description": "Ukrainian name"
           },
           "currency":
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nbu-data-ukraine-official-uah-exchange-rates-92831d40/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nbu.navistri.com](https://www.zero.xyz/host/nbu.navistri.com/llms.txt)
