National Bank of Poland
Official NBP currency exchange rates in JSON or XML
The National Bank of Poland's public API publishes official currency exchange rate tables, gold prices and historical archives, available as JSON or XML. This sample returns the current USD mid-rate from table A. No key required.
GET https://api.nbp.pl/api/exchangerates/rates/a/usd/?format=json
{
"table": "A",
"currency": "dolar amerykański",
"code": "USD",
"rates": [
{
"no": "127/A/NBP/2026",
"effectiveDate": "2026-07-03",
"mid": 3.742
}
]
}curl "https://api.nbp.pl/api/exchangerates/rates/a/usd/?format=json"const res = await fetch("https://api.nbp.pl/api/exchangerates/rates/a/usd/?format=json");
const data = await res.json();
console.log(data);import requests
res = requests.get("https://api.nbp.pl/api/exchangerates/rates/a/usd/?format=json")
print(res.json())/api/exchangerates/rates/a/usd/?format=jsonPROBEDOfficial NBP currency exchange rates in JSON or XML
/apiApi — documented GET route.
/api/1Api details by ID (example: 1).
/api?limit=10Api — documented GET route.
/api/search?q=testSearch by query parameters.
/api/exchangerates/rates/a/usd/?limit=5Exchange or interest rates.
We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.
Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.
National Bank of Poland: common questions
Is National Bank of Poland free to use?
Yes — National Bank of Poland is a free finance API. Free tier: Free — limits not published. Whether the free tier allows commercial use is unclear — check the provider docs.
Does National Bank of Poland need an API key?
No — National Bank of Poland needs no API key or signup. You can call it straight away; rate limits still apply (Unpublished).
Can I call National Bank of Poland from the browser?
Yes — National Bank of Poland returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.
Is National Bank of Poland up right now?
As of our last scheduled check, National Bank of Poland is new. We re-probe it every sweep — the status badge and uptime chart above always show the latest.