NBU Data API

Official National Bank of Ukraine data as clean JSON: hryvnia exchange rates and their history, the key policy rate, inflation and government bond auctions. AI agents pay for each call in USDC through x402. No sign-up, no API key.

live USDC on Base, from $0.001 a call

Five endpoints, paid per call

Open one in a browser to see the 402 page an agent gets. A call that fails (bad parameters, no data, the NBU down) is never charged.

How an agent pays

  1. Call. The endpoint answers 402 Payment Required with a PAYMENT-REQUIRED header: the price, the network and the address.
  2. Sign. The agent's x402 client signs a USDC transfer on Base to 0x44e5eBeB366Ab69A0a3C1c05080a01FE0d8013ef.
  3. Retry. The same request with a PAYMENT-SIGNATURE header returns the data and a PAYMENT-RESPONSE receipt. The payment settles only when the call succeeds.

Try it

from a terminal

curl -i "https://nbu.navistri.com/v1/rates?currency=USD"

Without payment it answers 402 with the price, $0.001. An x402 client pays and retries.

Agents read llms.txt and openapi.json. health shows the payment setup.

Data: National Bank of Ukraine open data (bank.gov.ua). Ukrainian public open data: free reuse including commercial use, with mandatory attribution to the source (Law of Ukraine 'On Access to Public Information', art. 10-1; https://bank.gov.ua/ua/open-data). Values are passed through unchanged. Not affiliated with or endorsed by the NBU. Built by Maksym Sushchuk for NAVISTRI. Type cd ~ for the other experiments.