v5

latestOpenAPI 3.1.0Proprietary2026-08-031,5423,1505.5 MB
Central Banks & Monetary

NBP single-currency historical rates

NBP fixings for a single currency across a date range. Weekends and Polish banking holidays are skipped silently. NBP caps each upstream query at 93 days; Sugra auto-chunks longer ranges server-side and merges the responses.

get/api/v1/nbp/fx/history

Query parameters

tablestring required

Table code (A, B, or C).

Table code (A, B, or C).

codestring required

Currency code (3-letter ISO 4217).

Currency code (3-letter ISO 4217).

fromstring required

Start date (YYYY-MM-DD).

Start date (YYYY-MM-DD).

tostring required

End date (YYYY-MM-DD).

End date (YYYY-MM-DD).

Response

Sorted rate series for the requested currency across the requested window.

Example response

{
  "meta": {
    "endpoint": "/api/v1/fred/us/cpi",
    "data_time": "2026-04-16T14:30:00Z",
    "response_time": "2026-04-16T14:30:12Z",
    "provider": "Sugra API v1.0.1",
    "source": "sugra_crypto",
    "attribution": "Short interest and Reg SHO daily short volume data is owned by and sourced from FINRA (Financial Industry Regulatory Authority).",
    "fallback_chain": [
      "sugra_crypto",
      "sugra_finance"
    ]
  }
}