diff --git a/src/api.js b/src/api.js index 3ae159d52..3e19bac6c 100644 --- a/src/api.js +++ b/src/api.js @@ -315,7 +315,7 @@ API.prototype.incrementBtcEthUsageStats = function (btcBalance, ethBalance) { }; API.prototype.getPriceChartData = function (params) { - return this.requestApi(`historicalprices?base=${params.base}"e=${params.quote}&start=${params.start}&scale=${params.scale}`); + return this.requestApi(`price/index-series?base=${params.base}"e=${params.quote}&start=${params.start}&scale=${params.scale}`); }; API.prototype.incrementBuyLimitCounter = function (amount) {