# create Hotbit Keys/Cookies

## How to create your Cookies for Hotbit

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.

![access Hotbit without API Keys ](https://753607342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhogE6fBOvMLDd92Qub%2Fuploads%2Fo6qVLgvUEeVERKp0O7C0%2Fhotbit_stuff.JPG?alt=media\&token=a24c9bca-3921-40a5-a69e-30d5fe21b427)

{% hint style="warning" %}
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"&#x20;
{% endhint %}

![](https://753607342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhogE6fBOvMLDd92Qub%2Fuploads%2FS2emtQTVtdEhtacxV8Qw%2Fhotbitcookies.png?alt=media\&token=8a366777-fa6b-4b6e-b7af-2912bcea1368)

The Steps to get those are the following:&#x20;

1. Go to hotbit.io and login to your account&#x20;
2. Right click -> inspect OR F12 - to open the developer window in your Browser (see picture)&#x20;
3. on the top click on "Network" (between Source and performance)
4. Go to any Coin and Refresh the Browser. The Developer Window will show you the requests the Browser does on the Exchange.
5. on the left in the "Name" column click on "product.all?platform=web" or something similar that ends with "...?platform=web".
6. on the right click on "Headers" next to Payload.
7. Scroll down to "cookie" and click the whole string (yes, it is multiple lines long) and paste it into the keysHotbit.json
8. Scroll down more and copy the "browser" or "user-agent" and paste it into the keysHotbit.json&#x20;
9. DONE! (use the above example of my keyHotbit.json)

{% hint style="warning" %}
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.
{% endhint %}
