binance / binance-api-postman

Postman collection for Binance Public API, including spot, margin, futures, etc.
MIT License
1.34k stars 893 forks source link

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

Open yaoliangjun opened 4 months ago

yaoliangjun commented 4 months ago

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

alplabin commented 1 week ago

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/