How to Authorize AliceBlue Oauth App First Time

If you’re running our python wrapper library (GitHub - krishnavelu/alice_blue: Official Python library for Alice Blue API trading) for the first time, You need to authorize your account with the Oauth app manually once!

Goto:
https://ant.aliceblueonline.com/oauth2/auth?response_type=code&state=test_state&client_id=put_your_username_here&redirect_uri=https://ant.aliceblueonline.com/plugin/callback

And log in to your account and Authorize the access.

Make sure to put your username to put_your_username_here

*Generally Aliceblue username and App name is the same. If it is not the same for you, You should put the App name instead.

Is their any aliceblue library for commercial use?
Like place order in multiple account at one go etc.

You can use it commercially.

Yes, it is there and You can use alicebot.in facilities. But all accounts should be under unofficed’s sub brokership for that.
Other, You need to contact Aliceblue support. They will help.

1 Like

How to calculate margin required for intraday trade using alice blue API,so that order placement should not get rejected.

Apart from Zerodha no one provides margin API.

Hi Dexter ,

I’m facing blow error even though my login credential is correct,

Error Screenshot

So i have tried Manual Authorization as you mentioned in above thread

Post clicked “Authorize” Redirect URL is looping as shown below and not getting through

Do you have any solution for this ., ? I tried to aliceblue support but no response

Thanks In advance
Sudhagar

My support is limited towards my clients only. If you are under Unofficed (signed up using https://www.unofficed.com/alice-blue or https://unofficed.com/go/aliceblue) Tell me your User ID.

I will activate your API.