API reference/Currency & FX/NBP Rate History

NBP Rate History

starter Poland

Daily NBP table A mid rate for one currency against PLN.

GET/api/v1/fx/nbp/history

Data source

Query parameters

ParameterDescriptionTry value
currency
string required
3-letter code
last
number
Last N observations (1-255, default 30)
from
date
Start date (max 367 days per request)
to
date
End date, default today
apikey
string required
Your API key. Can also be sent as the X-API-Key header.demo key used here

Response envelope

Success: { data, meta: { sources, fetchedAt, cached } }. Errors: { error: { code, message } } with HTTP 400, 401, 404, 502, 503 or 504.