Skip to main content
Trade API (64)

How do I get started?

  1. Log in to web.SAHI.com and open the API dashboard from the profile section (bottom left).

  2. Create an API key and save the secret right away. It's shown only once.

  3. If you'll place orders, register the static IP your code runs from.

  4. Approve your key every trading day. A new key is already approved on the day you create it.

  5. Use the key to get an access token, and send the token with every request.

  6. Download the scrip master (static.SAHI.com/external/instruments.csv) each morning to look up instruments. It's a public file, no login needed.