Navigation

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

    How to use this Smart API

    General Discussion
    4
    5
    192
    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.
    • N
      niravhathi last edited by

      How to use Smart API for coding and creating app

      K 1 Reply Last reply Reply Quote 0
      • K
        krunal96 @niravhathi last edited by

        Hi @RANALA78,

        You can refer to API Docs. You will get pretty much idea.
        https://smartapi.angelbroking.com/docs

        A fopeez 2 Replies Last reply Reply Quote 0
        • A
          ayeshariyaz @krunal96 last edited by

          @vishant I am trying to use this API - https://apiconnect.angelbroking.com/order-service/rest/secure/angelbroking/order/v1/getLtpData

          But I keep getting error as Invalid Token.
          Kindly assist.

          K 1 Reply Last reply Reply Quote 0
          • K
            krunal96 @ayeshariyaz last edited by

            Hi @sahisavings ,

            Please find below the documentation URL for the API which you are trying.
            https://smartapi.angelbroking.com/docs/Orders

            As mentioned in the Docs, You need to pass the below data in the header field to get a successful result.

            'Authorization': 'Bearer AUTHORIZATION_TOKEN', 
            'Content-Type': 'application/json', 
            'Accept': 'application/json', 
            'X-UserType': 'USER', 
            'X-SourceID': 'WEB', 
            'X-ClientLocalIP': 'CLIENT_LOCAL_IP', 
            'X-ClientPublicIP': 'CLIENT_PUBLIC_IP', 
            'X-MACAddress': 'MAC_ADDRESS', 
            'X-PrivateKey': 'API_KEY'
            
            1 Reply Last reply Reply Quote 0
            • fopeez
              fopeez @krunal96 last edited by

              @vishant Thanks

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