Convert with Oanda FX Rates
What is this endpoint for?
This add-on endpoint extends Fair Market Value Pricing by providing enhanced currency conversions for over 70 currency pairs. While Fair Market Value Pricing includes fiat conversions, this endpoint ensures IFRS-compliant, auditable conversions for non-USD fiat currencies.
HTTP Request
Parameters
quote
Yes
The quote fiat currency. Automatically included in continuation tokens.
base
Yes
The base fiat currency. Automatically included in continuation tokens.
continuation_token
No
end_time
No
Ending time in ISO 8601 (exclusive). Automatically included in continuation tokens.
interval
No
The interval parameter is suffixed with m
, h
or d
to specify seconds, minutes, hours or days, respectively.
Any arbitrary value between one minute and one day can be used, as long as it sums up to a maximum of 1 day. The suffixes are m
(minute), h
(hour) and d
(day).
Default 1h
.
For each interval, the resulting FX rate is an average of all available FX rates over that period.
Automatically included in continuation tokens.
page_size
No
Default: 100
Automatically included in continuation tokens.
start_time
No
Starting time in ISO 8601 (inclusive). Automatically included in continuation tokens.
sort
No
Return the data in ascending (asc
) or descending (desc
) order. Default is desc
.
Automatically included in continuation tokens.
Fields
timestamp
Timestamp at which the interval ends.
fx_rate
Average fx rate over the interval.
Request examples
Response example
Last updated
Was this helpful?