v2

latestOpenAPI 3.0.4Commercial License2026-07-31191050.4 KB
Currencies

Get historical prices for requested currency pairs

Historical OHLC data for the specified period and interval size

The combination of the interval parameter and start and end dates can result in results being truncated to conform to result size limits. See comments on interval parameter for details on valid interval values.

get/api/v1/Currencies/history

Query parameters

pairsstring required

comma separated list of currency pairs. For example: USD/CAD,USD/EUR,USD/AUD

startstring date-time required

start date of time period. format is <i>yyyy-mm-dd</i>

endstring date-time

end date of time period. format is <i>yyyy-mm-dd</i>. Default is current date.

intervalstring

aggregation interval. Composed of an optional integer value (which defaults to 1 when not specified), followed by a type string which must be one of the following values: y=year, m=month, w=week, d=day, h=hour, mi=minute

For example, a yearly interval can be specified as "y" and 6 month interval as "6m".

If not specified the interval parameter default is 1 Day.

format'json' | 'xml'

to override content negotiation specify a value of json or xml

Response

OK

requestedSymbolstring nullable
requestedCurrencystring nullable
requestedUnitOfMeasurestring nullable
successboolean
errorstring nullable