Skip to main content
Trade API (64)

How do I create an API key?

Log in to web.SAHI.com, open the API dashboard and click Create new key. Give the key a name and choose what it's allowed to do. These permissions are called scopes: orders.write, orders.read, positions.read, holdings.read, funds.read, profile.read and marketdata.read.

You'll get a key ID that starts with pk_ and a secret that starts with sahi_sk_. The secret is shown only once and can't be retrieved later, so store it somewhere safe.

Scopes can't be changed after the key is created. If you need different permissions, create a new key.