Infinn API Documentation
Holdings and Limits

Holdings and Limits

POST/NorenWClientAPI/Holdings

Authorization token is required. Enter your access_token from GenAcsTok above.

jData fields

Values are sent as a JSON string in the jData form field.

Logged in User Id

Account id of the logged in user

Product name

Authorization Token

Required for all API calls. Use the access_token from the GenAcsTok response as a Bearer token.

Holdings

Request to be POSTed to url: /NorenWClientAPI/Holdings

Request Details:

Parameter NamePossible ValueDescription
jData*JSON objectShould send JSON object with fields in the list below
Authorization*Bearer <access_token>access_token from GenAcsTok response. Required for all API calls.

JSON Fields:

Field NamePossible ValueDescription
uid*Logged in User Id
actid*Account id of the logged in user.
prd*Product name

Response Details:

Response data will be in json format with the below fields in case of Success:

JSON Fields:

Field NamePossible ValueDescription
statOk or Not_OkHolding request success or failure indication.
exch_tsymArray of objects exch_tsym objects as defined below.
holdqtyHolding quantity
dpqtyDP Holding quantity
npoadqtyNon Poa display quantity
colqtyCollateral quantity
benqtyBeneficiary quantity
unplgdqtyUnpledged quantity
brkcolqtyBroker Collateral
btstqtyBTST quantity
btstcolqtyBTST Collateral quantity
usedqtyHolding used today
upldprcAverage price uploaded along with holdings
hair_cutHair Cut
prdProduct
s_prdt_aliProduct display name
trdqtyTrade Quantity
sell_amtSell Amount
npoadt1qtynonpoa display t1 qty
brk_hair_cutBroker HairCut
epi_done_qtyEPI done Quantity
combrkcollqtyCom Broker Collateral Quantity
eqtbrkcollqtyEqt Broker Collateral Quantity
derbrkcollqtyDerivative Broker Collateral Quantity
fxbrkcollqtyFx Broker Collateral Quantity

Notes:

  • Valuation: btstqty + holdqty + brkcolqty + unplgdqty + benqty + Max(npoadqty, dpqty) - usedqty
  • Salable: btstqty + holdqty + unplgdqty + benqty + dpqty - usedqty

exch_tsym Object:

Field NamePossible ValueDescription
exchNSE, BSE, NFO ...Exchange
tsymTrading symbol of the scrip (contract)
tokenToken of the scrip (contract)
ppPrice precision
tiTick size
lsLot size
lpLTP [#]
cnameCompany Name
dnameDisplay Name

Response data will be in json format with below fields in case of failure:

JSON Fields:

Field NamePossible ValueDescription
statNot_OkPosition book request failure indication.
request_timeResponse received time.
emsgError message

[#] - By Default disabled and Enabled on request basis.

Sample Success Response:

[
  {
    "stat": "Ok",
    "exch_tsym": [
      {
        "exch": "NSE",
        "token": "13",
        "tsym": "ABB-EQ"
      }
    ],
    "holdqty": "2000000",
    "colqty": "200",
    "btstqty": "0",
    "btstcolqty": "0",
    "usedqty": "0",
    "upldprc": "1800.00"
  },
  {
    "stat": "Ok",
    "exch_tsym": [
      {
        "exch": "NSE",
        "token": "22",
        "tsym": "ACC-EQ"
      }
    ],
    "holdqty": "2000000",
    "colqty": "200",
    "btstqty": "0",
    "btstcolqty": "0",
    "usedqty": "0",
    "upldprc": "1400.00"
  }
]

Sample Failure Response:

{
  "stat": "Not_Ok",
  "emsg": "Invalid Input : Missing uid or actid or prd."
}
curl --request POST \
  --url 'https://api.infinn.in/NorenWClientAPI/Holdings' \
  --header 'Content-Type: text/plain' \
  --data 'jData={}'
Response will appear here after sending a request