How to retrieve API in Binance

Nowadays, Retrieval data from the website to develop. It’s very attention for programmer or developer. So, I’would like tell you how to retrieve data from Application programming interface (API) in python

  1. I got data from

2. They’ll give the base endpoint

3. If you’d like to retrieve Kline/Candlestick, you just put the link behide the base endpoint

Result of ticker

4. In some case, Retrieval data need to add condition behide the link such as

  • If you put /api/v1/klines behide the base endpoint following. it’ll show error message
Error message

In this case, You need to put “Symbol and interval” following :

Result of Kline/Candlestick