create Hotbit Keys/Cookies
How to create your cookies to connect to the hotbit exchange
Last updated
How to create your cookies to connect to the hotbit exchange
Last updated
Hotbit has no official API, hence you cant create API Keys. So we have to use a workaround. We mimic to be the Browser so we can access your Account. So we need access, this is done via the "cookie" and the "browser" or "user agent". It looks like below.
Check that the marked is not selected! Or Hotbit thinks you are using a mobile device! For example: "browser" : "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/535.36 (KHTML, like Gecko) Chrome/101.0.4941.52 Safari/542.43"
The Steps to get those are the following:
Go to hotbit.io and login to your account
Right click -> inspect OR F12 - to open the developer window in your Browser (see picture)
on the top click on "Network" (between Source and performance)
Go to any Coin and Refresh the Browser. The Developer Window will show you the requests the Browser does on the Exchange.
on the left in the "Name" column click on "product.all?platform=web" or something similar that ends with "...?platform=web".
on the right click on "Headers" next to Payload.
Scroll down to "cookie" and click the whole string (yes, it is multiple lines long) and paste it into the keysHotbit.json
Scroll down more and copy the "browser" or "user-agent" and paste it into the keysHotbit.json
DONE! (use the above example of my keyHotbit.json)
ALWAYS BE LOGGED IN TO HOTBIT and not longer than 10 minutes. The Keys could change and you can't trade.
If you encounter problems you might change from Google Chrome to Firefox.