Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    [Urgent] Unable to generate api key for Market api type and historic api type

    Bugs
    2
    3
    14
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      vijaykumar8518 last edited by vijaykumar8518

      Hi All,

      Till few days back, my algo was working fine and was creating session properly for Market smart connect, trading smart connect and history smart connect using there respective api keys.

      But from today, it is giving error for market smart connect and history smart connect. While trading smart connect is working fine.

      When I login via https://smartapi.angelone.in/publisher-login/v2/login/
      I see the website allows to create Trading api type (api key) only. There is no option to create History and Market api Type. Also old website https://smartapi.angelbroking.com/ also redirect to new login

      Impact: Due to this Algo is not working
      Code usage:
      User user = smartConnect.generateSession("<ClientId>", configs.getPassword(), totp);
      user is coming null for mentioned api types (Market and history)

      Pls tell how can i create api key for History and Market api Type

      Adding SS for reference
      77de4771-222c-40cf-a897-dfba53c26fee-image.png

      1 Reply Last reply Reply Quote 0
      • A
        admin last edited by

        @vijaykumar8518 you can create a trading API key to get the market data. Please use the same key.

        V 1 Reply Last reply Reply Quote 0
        • V
          vijaykumar8518 @admin last edited by

          @admin It works with trading API key. Trading api keys allows history and market data also now

          1 Reply Last reply Reply Quote 0
          • First post
            Last post