binance-api-postman icon indicating copy to clipboard operation
binance-api-postman copied to clipboard

"api/v3/avgPrice" how can i get 60 days avg price?

Open yaoliangjun opened this issue 1 year ago • 1 comments

"api/v3/avgPrice" how can i get 60 days avg price? thanks! default is mins : 5 1718768473263

yaoliangjun avatar Jun 19 '24 03:06 yaoliangjun

Unfortunately, this API only returns the current average price for a symbol: https://developers.binance.com/docs/binance-spot-api-docs/rest-api#current-average-price.

If you're looking for historical price data on a symbol, I would recommend using the endpoints for klines or aggregate trades.

You can also explore historical data at: https://data.binance.vision/

alplabin avatar Oct 07 '24 02:10 alplabin