How to create HMAC-SHA256 requests to KuCoin using Python

Ayman Negm
6 min readJun 4, 2022
Photo by Towfiqu barbhuiya on Unsplash

In this article, I am going to show you how to create HMAC-sha256 encrypted requests to fetch data from KuCoin. This is the hashing algorithm that must be used when we need to submit authenticated requests that contain or is sued to fetch personal information. This took me a while to figure out the right way to do it. In addition, the documentation does not show clearly usage examples. So, I…

--

--

Ayman Negm

Electrical and Computer Engineering, PhD student, Programmer, Optimizer, Researcher. I write about web scraping and data analysis. Over 6.8K views.