NBP interest rates
get_interest_ratesUse for NBP policy rates. For bank offers, use get_bank_rates. Current NBP policy rates (reference, lombard, deposit, rediscount, discount) with the date of the last change, or the history of one rate. WIBOR and POLSTR are not available (GPW Benchmark license).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_interest_rates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | History window in days, default 365. | |
| rate | No | Rate id for history, e.g. "stopa-referencyjna". Omit for all current rates. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| asOf | No | ||
| data | No | ||
| title | Yes | ||
| source | Yes | ||
| docsUrl | Yes | ||
| license | Yes | ||
| summary | Yes | ||
| citation | Yes | ||
| datasetId | Yes | ||
| sourceUrl | No | ||
| truncated | No | ||
| serverDate | Yes |