Authorization Token for RESTful API Call


  • Hi, I'm new to AngelBroking.
    I have come across with Smart API, and tried to get historical data to back test my strategies, but i do not have any clue about where do i find Authorization Token (JWT). I have signed up for smart api, got API Key and Secret Key. I haven't created Demat account yet.

    Thank for the help.


  • @ASR you can download your python library from git hub

    https://github.com/angelbroking-github/smartapi-python

    complete sample code is there. where you get all the things and code you want that how to get JWT Token and how your historical data will get in response.


  • @Mr-Depp thanks for response.
    I'm good at MATLAB, hence using MATLAB to understand the SmartAPI, but i will switch to Python once i get familiar with SmartAPI. My confusion is, do i need to have Demat account with AngelBroking to get Authorization Token? I haven't created Demat with AngelBroking. I have seen their API Docs, authorization token is required for making requests.

    Thank You


  • @ASR Which language are you using for the code?