NBP Exchange Rate API: Official PLN (Table A) Rates as JSON

Reviewed by Madhushan, Fintech Developer — August 2026

Narodowy Bank Polski publishes an official table of exchange rates once per business day — the Table A average rates — covering ~35 currencies against the PLN. These are the published central bank rates used for tax filings, customs valuations, audits, and compliant invoicing in Poland — not moving market prices. This guide shows how to pull them as JSON: via a REST endpoint or the zero-dependency nbp-exchange-rate npm package, with history back to 2016.

USD → PLN — official Narodowy Bank Polski table A mid rate
Weekly observations, Aug '25 – Aug '26 · Polish zlotys per 1 US dollar
3.6003.7003.800Aug '25Nov '25Jan '26May '26Aug '263.7472025-08-01: 3.754 PLN2025-08-08: 3.658 PLN2025-08-14: 3.654 PLN2025-08-22: 3.679 PLN2025-08-29: 3.656 PLN2025-09-05: 3.636 PLN2025-09-12: 3.635 PLN2025-09-19: 3.628 PLN2025-09-26: 3.653 PLN2025-10-03: 3.625 PLN2025-10-10: 3.678 PLN2025-10-17: 3.639 PLN2025-10-24: 3.648 PLN2025-10-31: 3.675 PLN2025-11-07: 3.682 PLN2025-11-14: 3.638 PLN2025-11-21: 3.687 PLN2025-11-28: 3.662 PLN2025-12-05: 3.631 PLN2025-12-12: 3.603 PLN2025-12-19: 3.594 PLN2025-12-23: 3.585 PLN2025-12-31: 3.602 PLN2026-01-02: 3.596 PLN2026-01-09: 3.618 PLN2026-01-16: 3.635 PLN2026-01-23: 3.583 PLN2026-01-30: 3.538 PLN2026-02-06: 3.575 PLN2026-02-13: 3.553 PLN2026-02-20: 3.590 PLN2026-02-27: 3.580 PLN2026-03-06: 3.696 PLN2026-03-13: 3.728 PLN2026-03-20: 3.703 PLN2026-03-27: 3.721 PLN2026-04-03: 3.706 PLN2026-04-10: 3.640 PLN2026-04-17: 3.591 PLN2026-04-24: 3.629 PLN2026-04-30: 3.646 PLN2026-05-08: 3.595 PLN2026-05-15: 3.652 PLN2026-05-22: 3.657 PLN2026-05-29: 3.639 PLN2026-06-05: 3.639 PLN2026-06-12: 3.670 PLN2026-06-19: 3.716 PLN2026-06-26: 3.760 PLN2026-07-03: 3.742 PLN2026-07-10: 3.803 PLN2026-07-17: 3.795 PLN2026-07-24: 3.800 PLN2026-07-31: 3.743 PLN2026-08-04: 3.747 PLN
Source: Narodowy Bank Polski published rates · chart data from the AllRatesToday API (/api/v1/central-bank/nbp/history?source=USD&target=PLN).

What NBP publishes

Why official rates, not market rates

A live mid-market feed answers "what is EUR/PLN trading at right now?" — the right tool for checkouts and dashboards. But accountants, auditors, and tax authorities ask a different question: "which rate were you required to use for this date?" That answer comes from the central bank's published table, and it never changes after publication.

Polish VAT and CIT rules are tied to the NBP average rate: foreign-currency invoices are converted at the published NBP rate from the preceding business day, so pulling the right day's Table A is a hard requirement, not a nice-to-have.

Get the latest table (REST)

curl "https://allratestoday.com/api/v1/central-bank/nbp/latest" \
  -H "Authorization: Bearer YOUR_API_KEY"

The response is the bank's most recent published table — every currency, the PLN value, and the publication date:

{
  "bank": "nbp",
  "rate_date": "2026-08-01",
  "base": "PLN",
  "rates": [ { "currency": "EUR", "rate": 1.2345, "official": true }, ... ]
}

The latest table is available on every plan, including the free tier (300 requests/month, no credit card). Since the table changes once per business day, caching it locally makes even a small quota go a long way.

The npm SDK

npm install nbp-exchange-rate
import { getRate, getLatestRates } from 'nbp-exchange-rate';

// One pair at the official Narodowy Bank Polski rate
const pair = await getRate('EUR', 'PLN', { apiKey: 'art_live_...' });
console.log(pair.rate, pair.rate_date);

// The bank's full published table
const table = await getLatestRates({ apiKey: 'art_live_...' });
console.log(table.rate_date, table.rates.length);

Zero dependencies, TypeScript types included, and it runs anywhere fetch exists — Node 18+, Bun, Deno, and edge runtimes.

Historical rates for an invoice date

The most common compliance job: an invoice dated months ago needs the official rate for that date.

import { getRatesForDate, getHistory } from 'nbp-exchange-rate';

// The official table for an invoice date — weekends/holidays return
// the most recent published date, flagged via published_on_requested_date.
const day = await getRatesForDate('2026-06-30', { apiKey: 'art_live_...' });

// Daily series for one pair
const series = await getHistory(
  { source: 'EUR', target: 'PLN', from: '2026-01-01' },
  { apiKey: 'art_live_...' }
);

Historical dates and time series need a paid plan; the latest table stays free.

Published vs derived pairs

If NBP does not print a pair directly, the API resolves it from the bank's table — an inverse, or a cross rate via PLN — and flags it derived: true with the method used. Official and computed values are never silently mixed, which is exactly the distinction an auditor will ask about.

FAQ

Does Narodowy Bank Polski have an official exchange rate API?

Narodowy Bank Polski publishes its official rates on its website, but not always in a developer-friendly form. AllRatesToday serves the bank's published table as clean JSON — ~35 currencies against the PLN, with history back to 2016 — via REST or the nbp-exchange-rate npm package. The latest table is free.

How often do Narodowy Bank Polski rates update?

Once per business day. These are published reference rates, not moving market prices — the table changes when NBP publishes a new one, and every API response carries the bank's own publication date so you can cite it.

Can I get the Narodowy Bank Polski rate for a past date, like an invoice date?

Yes. The /central-bank/nbp/rates-for-date endpoint returns the official table for any date back to 2016. Weekends and holidays resolve to the most recent published table and are flagged, so your audit trail stays honest. Historical dates require a paid plan; latest rates are free.

Official Narodowy Bank Polski rates, as JSON

The latest table is free — 300 requests/month, no credit card.

Get your free API key

Related Articles