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

Changes

Changed in 2 of the 25 revisions of this API.15

    • added the optional property / to the response with the status

      response-optional-property-added

    • added the optional property / to the response with the status

      response-optional-property-added

    • added the optional property / to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added