Exchange rates against NOK
get_exchange_ratesOfficial Norges Bank exchange rates against the Norwegian krone: the latest business day, one day (a weekend or holiday gives the prior business day) or a daily series up to 366 days, for chosen currencies or all of them. Costs 0.005 USDC per successful call (x402, Base). Errors are free.
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_exchange_rates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End of a period (YYYY-MM-DD), inclusive. | |
| date | No | One day (YYYY-MM-DD). Default: the latest business day. Not together with from and to. | |
| from | No | Start of a period (YYYY-MM-DD). Needs to; the period is at most 366 days. | |
| currencies | No | Comma-separated ISO 4217 codes, e.g. USD,EUR. Default: every currency Norges Bank publishes. |