National Bank of Poland

Official NBP currency exchange rates in JSON or XML

📈 FinanceUNMONITORED
AUTH NONECORS ✓AGENT ?HTTPS ✓COMMERCIAL ?

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.

—HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: — · unmonitored
ON PROBE SCHEDULE

We probe a documented GET and expect 2xx JSON — full uptime and health score. Open provider docs ↗

Uptime historystarts after first probe

On our probe schedule. Uptime charts appear after the first check lands.

Example responsefrom provider docs — not verified by us
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
    }
  ]
}
Call itcurl · fetch · python
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())
Endpoints · 6On scheduleFULL DOCS ↗
On schedule — GET /api/exchangerates/rates/a/usd/?format=json awaits first probe
GET/api/exchangerates/rates/a/usd/?format=jsonPROBED

Official NBP currency exchange rates in JSON or XML

GET/api

Api — documented GET route.

GET/api/1

Api details by ID (example: 1).

GET/api?limit=10

Api — documented GET route.

GET/api/search?q=test

Search by query parameters.

GET/api/exchangerates/rates/a/usd/?limit=5

Exchange or interest rates.

Machine-readable spec

We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.

Response-shape history

Not tracked yet. Shape-change history starts once this API joins our probe schedule.

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?

National Bank of Poland is catalogued but not yet on our probe schedule, so we don't publish a live status for it. Check the provider's own status page or docs for its current state.