How to get API Key

How to get API Key and also provide a solution to execute order in premarket ( 9:00 to 9:15 )

To obtain an API key, you must first create an API app. Please refer to How to create Upstox API app.

Order execution from exchanges begins at 9:15 AM. You can place AMO orders in the pre-market session, which will be placed at the exchange at 9:00 AM for equity and at 9:15 AM for F&O.