Central Banks & Monetary

NBP single-currency historical rates

Changed on

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

Request

  • Base URL: https://sugra.ai
  • URL: https://sugra.ai/api/v1/nbp/fx/history
  • Auth: API key in header x-api-key

Query parameters

tablestring required

Table code (A, B, or C).

codestring required

Currency code (3-letter ISO 4217).

fromstring required

Start date (YYYY-MM-DD).

tostring required

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",
    "data_age_days": 8.532,
    "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"
    ],
    "stale_since": "2026-09-08T12:00:00Z",
    "period": "2026-Q1",
    "notes": "the UKMTO report behind these counts is dated 2026-08-21 and is 11 days old"
  }
}

Changes