An intro to working with the TimeX API

January 11, 2021

Getting started

  1. Log in to your account
  2. Make sure to have 2FA enabled in Security Settings.
  3. Go to Trading Setup (API) and follow the instructions to set up a new API key.
  4. Download a Python programming language interpreter (Program used to write and run python code) such as Pycharm.
  5. Create a new .py, Python file.
  6. Copy the code from this link into that new python file.
  7. Add your own inputs and API keys that you created in step 3.
  8. Execute the file (right-click on the file name and ‘Run’)


Now, this file will do two things:

  1. It gives out the last 24h statistics for a specific market; volume, ask, bid, high, open, etc.
  2. It creates a buy order on a specific market using custom inputs such as price and size.

Note that 2) only executes once you remove the # in line 36.



TimeX REST API documentation

TimeX Websocket API documentation

    Comments : 0