GET api/v1/Metals/benchmark/history

nfusionsolutions.biz

Summary: Get historical benchmark prices for requested metals
Operation ID: Metals_BenchmarkHistory_GET
Auth: unknown
Description

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. The historicalfx flag is used to determine whether to apply today's fx rates to a historical period, or to apply the historical rates from that same time frame.

Parameters (8)

currency (string, query, optional)

comma separated list of conversion currencies, defaults to USD

end (string, query, optional)

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

format (string, query, optional)

to override content negotiation specify a value of json or xml

Constraints: {'enum': ['json', 'xml']}

historicalfx (boolean, query, optional)

if true use historical currency rates otherwise current currency rates. Defaults to true.

interval (string, query, optional)

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.

metals (string, query, required)

comma separated list of metals

start (string, query, required)

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

unitofmeasure (string, query, optional)

unit of meaure, defaults to troy ounces. allowed values are: mg=milligram g=gram kg=kilogram gr=grain oz=ounce toz=troy ounce ct=carat dwt=pennyweight

Constraints: {'enum': ['mg', 'g', 'kg', 'gr', 'oz', 'toz', 'ct', 'dwt']}

No probe data for this endpoint yet.