National Bank of Poland API
A collection of currency exchange rates (data in XML and JSON)
- Our call
- HTTP 200
- Latency
- 1,920 ms
- From a browser
- Allowed
- Key
- No key
- Docs link
- Answered
https://api.nbp.pl/api/exchangerates/rates/A/USD/?format=jsonPress Run: the request leaves from your browser, and you see what it gets back.
const res = await fetch("https://api.nbp.pl/api/exchangerates/rates/A/USD/?format=json");
if (!res.ok) throw new Error(`HTTP ${res.status}`);
const data = await res.json();
console.log(data);curl -sS 'https://api.nbp.pl/api/exchangerates/rates/A/USD/?format=json'import requests
r = requests.get("https://api.nbp.pl/api/exchangerates/rates/A/USD/?format=json", timeout=10)
r.raise_for_status()
print(r.json())National Bank of Poland docsMore Currency Exchange APIs
Come back to see anything that changed: answers, keys, browser access, rate limits.
Our test call Measured by us
- Request
GET https://api.nbp.pl/api/exchangerates/rates/A/USD/?format=json- Result
- HTTP 200 in 1,920 ms (1,932 ms with the body)
- From a browser
- Browser OK Access-Control-Allow-Origin: *
- HTTPS
- Yes
- Response
- application/json, 134 bytes, a JSON object
- Fields
tablecurrencycoderates- Rate-limit headers
- none sent (that doesn't mean unlimited)
Change log Measured by us
No changes seen since we started tracking on 2026-11-06. Each check compares the answer, the key requirement, the browser (CORS) header and the rate limit with the run before.
What the list says From the public-apis list
- Category
- Currency Exchange
- Auth
- No key
- CORS
- Yes
- Docs link
- api.nbp.pl answered 200 in 6502 ms on 2026-11-06 Measured
National Bank of Poland is listed in Currency Exchange. National Bank of Poland needs no key: you can call it without signing up. The list says it sends CORS headers, so JavaScript on a web page can call it straight from the browser.
The list has 29 Currency Exchange APIs: 11 need no key and 18 need an API key, and 20 of them are marked as allowing browser calls. 6 others have the same setup, such as Cambio Uruguay, Canjean and Crystal Ball Markets.
National Bank of Poland and other Currency Exchange APIs
| Fact | National Bank of Poland (this page) | Currency-api | Frankfurter | VATComply.com | Bank of Russia |
|---|---|---|---|---|---|
| Key needed From the public-apis list | No key | No key | No key | No key | No key |
| CORS, as listed From the public-apis list | Yes | Yes | Yes | Yes | Not recorded |
| Our test call Measured by us | 1,920 ms | 480 ms | 3,652 ms | 709 ms | Not tested |
| Browser call Measured by us | Allowed | Allowed | Allowed | Allowed | — |
| Docs link Measured by us | Answered | Answered | Answered | gone | Answered |
Questions
Does National Bank of Poland need an API key?
National Bank of Poland needs no key: you can call it without signing up.
Can I call National Bank of Poland from JavaScript in the browser?
Yes. When we called it it sent Access-Control-Allow-Origin: *, so a web page can call it directly.
Where are the National Bank of Poland docs?
At https://api.nbp.pl/en.html. When we checked, the link answered 200 in 6502 ms.
What are some alternatives to National Bank of Poland?
Other Currency Exchange APIs in the list include Cambio Uruguay, Canjean, Crystal Ball Markets and Currency-api.
Listing from public-apis (github.com/marcelscruz/public-apis), MIT. Measurements are ours: how we check.