About this API
The NBP API is one of the longest-running and most widely used Polish public APIs — it returns the National Bank of Poland's official reference exchange rates (tables A, B, and C) and gold price quotes, both current and for any date in the past.
Frequently asked questions
Do I need an API key?
No, the API is fully public and free — no registration, no limit noticeable for ordinary use.
What data does this API return?
Mid rates (table A), buy/sell rates (table C), and separately gold prices — current and historical, for any of the supported currencies.
Can this API be called directly from a browser?
Yes — the API returns a CORS header allowing calls from any domain, so it works straight from frontend code (hence the live "Try it" button above).
Who runs this API?
The National Bank of Poland (NBP). Full documentation is available at api.nbp.pl.