currency_exchange_rates

Store new currency exchange rates under this from/to pair.

Stores a new set of exchange rates for this pair. The date is variable, and the data required can be submitted as a JSON body.

post/v1/exchange-rates/by-currencies/{from}/{to}

Request

  • Base URL: https://demo.firefly-iii.org/api
  • URL: https://demo.firefly-iii.org/api/v1/exchange-rates/by-currencies/{from}/{to}
  • Auth: one of:
    • OAuth 2 (authorization code, authorization URL https://demo.firefly-iii.org/oauth/authorize, token URL https://demo.firefly-iii.org/oauth/token)
    • HTTP bearer

Path parameters

fromstring required
Example:EUR

The currency code of the 'from' currency.

tostring required
Example:USD

The currency code of the 'to' currency.

Headers

X-Trace-Idstring uuid
Example:40c71bbb-c676-4f24-83cf-cc725d7d7a00

Unique identifier associated with this request.

Request body

CurrencyExchangeRateStoreByPair required

The actual entries for this data set. They 'key' value is the date in YYYY-MM-DD. The value is the exchange rate.

Example request

{
  "2025-08-01": "1.2345",
  "2025-08-02": "6.3456"
}

Response

New exchange rates stored, result in response. If a rate already existed for any submitted entry, it will be updated.

Changes

No recorded changes to this endpoint across all 1 revision of this API.