action nfusionsolutions_metals_benchmark_history_get { label: "Get historical benchmark prices for requested metals" description: "Historical OHLC data for the specified period and interval size \n \nThe combination of the interval parameter and start and end dates can result in results \nbeing truncated to conform to result size limits. See comments on interval parameter for details on valid interval values. \n \nThe 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." provider: nfusionsolutions method: GET path: "/api/v1/Metals/benchmark/history" encoding: json input: { type: "object" properties: { currency: { type: "string" } end: { type: "string" format: "date-time" } format: { type: "string" enum: ["json", "xml"] } historicalfx: { type: "boolean" } interval: { type: "string" } metals: { type: "string" } start: { type: "string" format: "date-time" } unitofmeasure: { type: "string" enum: ["mg", "g", "kg", "gr", "oz", "toz", "ct", "dwt"] } } required: ["metals", "start"] additionalProperties: false } output: { type: "array" items: { type: "object" properties: { data: { type: "object" properties: { baseCurrency: { type: "string" } intervals: { type: "array" items: { type: "object" properties: { change: { type: "number" format: "double" } changePercent: { type: "number" format: "double" } end: { type: "string" format: "date-time" } high: { type: "number" format: "double" } last: { type: "number" format: "double" } low: { type: "number" format: "double" } open: { type: "number" format: "double" } start: { type: "string" format: "date-time" } } additionalProperties: false } } name: { type: "string" } symbol: { type: "string" } } additionalProperties: false } error: { type: "string" } requestedCurrency: { type: "string" } requestedSymbol: { type: "string" } requestedUnitOfMeasure: { type: "string" } success: { type: "boolean" } } additionalProperties: false } } }