Norges Bank exchange rate
get_exchange_rateFetch Norges Bank exchange rates for any currency against NOK, the official benchmark for Norwegian tax and accounting obligations. Returns the rate and valid date, with fallback to prior business day.
Instructions
Fetch the most recent Norges Bank exchange-rate reference for a currency against NOK — the canonical conversion benchmark Norwegian tax + accounting authorities accept for obligations in foreign currency (Årsregnskap, cross-border MVA, dividend reporting). The currency-of-record lookup; takes no Norwegian-company input. Returns the rate, the date it is valid for (weekday rates only; weekends / holidays return the prior business day's rate), and source attribution. Input: { base, quote, date? } — ISO 4217 codes, NOK-ANCHORED: exactly one side MUST be 'NOK'. A pair without a NOK side is rejected client-side as UNSUPPORTED_CURRENCY_PAIR — fetch both NOK legs and derive the cross rate yourself. Failure modes: VALIDATION_FAILED, UNSUPPORTED_CURRENCY_PAIR, INVALID_DATE, UPSTREAM_TIMEOUT, NO_RATE_AVAILABLE, SCOPE_INSUFFICIENT (needs read:norgesbank). For compliance obligations or filing deadlines rather than a currency rate, use get_company_summary instead. Docs: https://www.apier.no/docs/mcp
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | Base currency — ISO 4217 three-letter code (case-insensitive). Exactly one of base/quote must be 'NOK'. | |
| date | No | Optional ISO 8601 date (YYYY-MM-DD); omit for the latest published rate. Non-business days fall back to the prior business day. | |
| quote | Yes | Quote currency — ISO 4217 three-letter code (case-insensitive). Exactly one of base/quote must be 'NOK'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _meta | No | ||
| result | Yes | The Norges Bank NOK reference rate, the date it is valid for, and the source attribution. | |
| metadata | Yes | ||
| justification | Yes |