Generate Your API Keys

Once logged in, users can generate their API key and secret by clicking the ⚙️ gear icon at the top right-hand side of the page. You will be asked to sign a message to generate your API keys. We recommend setting IP restrictions as a security best practice.

Once the API key is created, you can export it into a json file and save it for your trading programme to be used.

You can renew the API keys, which will extend the expiry date by 30 days each time.

How to create an API key and secret

To create an API key and secret, go to the app and click on the ⚙️ icon.

You will then be prompted to sign a message "Welcome to Rabbit DEX" with your wallet to authenticate yourself. This message is safe to sign.

You will then be prompted to create a new API key by specifying the length of expiration of the API key, along with any IP restrictions that you would like to set.

Once your API key is created, you will be able to copy the API Key, Secret, Public and Private JWT tokens.

  • You will need the API Key and Secret to place orders and retrieve private data through REST.

  • You will need the Private JWT token for websocket private account data.

  • Refresh Token is used to renew your keys.

Note: You can renew your tokens for 30 days by clicking on the "Renew Now" button.

Last updated