National Bank of Poland

Official NBP currency exchange rates in JSON or XML

📈 FinanceHEALTHYchecked 2h ago
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.

88HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: 88 · healthy
Uptime history
100%90 days
100%30 days
899P50 · ms
2087P95 · ms
operationalpartialdownno data
Response time · last 48 checks
Fastest 109 ms, slowest 1826 ms, most recent 109 ms.
Live response samplecaptured by our last successful check
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 · 6HealthyFULL DOCS ↗
Monitored path responding — GET /api/exchangerates/rates/a/usd/?format=json899 mschecked 2h ago
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

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 healthy with 100% uptime over 90 days and a 899 ms median response. We re-probe it every sweep — the status badge and uptime chart above always show the latest.