Create Currency Exchange Rate

Creates an exchange rate by splitting the series at from (defaulting to today). The period covering that date is truncated; the new rate becomes the remainder through unbounded end (or the next period).

Currency exchange rates define the FX rate from a currency to the default currency over time. Rates for a currency form a contiguous series with no gaps: creating a rate splits the covering period, updating from moves the boundary with the predecessor, and deleting a rate expands a neighbor to fill the gap. The sole rate for a currency cannot be deleted.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

The id of the currency this exchange rate is for

number
required

Exchange-rate multiplier to convert an amount in this currency to the default currency, e.g. if 1 EUR = 10.63 SEK and the default is EUR, the rate for SEK is 1 / 10.63.

string

The start date of the new effective period in YYYY-MM-DD format. Defaults to today when omitted. Splits the period covering this date so the series stays contiguous.

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json