Loading...

Free Python

How To Download Kucoin OHLCV API Data with Python

How To Download Kucoin OHLCV API Data with Python

This is a brief tutorial with working example code to how to download market data from the Kucoin exchange via their public REST API using Python. The script will connect to the Kucoin API, download historical Open, High, Low, Close and Volume data for BTCUSD and save the results to a CSV. Every line is commented, feel free to modify to your purpose!



Live codebase Python