currency_rate

Pack: nbp-pl · Endpoint: https://gateway.pipeworx.io/nbp-pl/mcp

PLN exchange rate for one currency over time. Specify the table (A/B for mid-rate, C for bid/ask) and a 3-letter ISO 4217 code (e.g. USD, EUR, GBP, CHF, JPY). Defaults to the latest rate; optionally pass a single date, last_n recent points, or a start_date/end_date window (max ~93 days, working days only). Use this for one currency; use exchange_rate_table for the whole list.

Parameters

NameTypeRequiredDescription
tablestringnoTable letter: “A” or “B” (mid-rate) or “C” (bid/ask). Default “A”.
codestringyesISO 4217 currency code, e.g. “USD”, “EUR”, “GBP”.
datestringnoSingle date, YYYY-MM-DD. Must be a working day or it 404s.
last_nintegernoReturn the N most recent rates. Ignored if date or start_date is given.
start_datestringnoWindow start, YYYY-MM-DD. Pair with end_date. Max range ~93 days.
end_datestringnoWindow end, YYYY-MM-DD. Used with start_date.

Example call

Arguments

{
  "code": "USD"
}

curl

curl -X POST https://gateway.pipeworx.io/nbp-pl/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"currency_rate","arguments":{"code":"USD"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('currency_rate', {
  "code": "USD"
});

More examples

{
  "code": "EUR",
  "table": "A",
  "start_date": "2026-05-20",
  "end_date": "2026-05-29"
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "nbp-pl": {
      "url": "https://gateway.pipeworx.io/nbp-pl/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build August 31, 2026