Infinn API Documentation
Holdings and Limits

Get Sub Limits

POST/NorenWClientAPI/GetSubLimits

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

"Use proxy" sends this request through this website's server, which never logs request or response bodies. Infinn sees the docs server's IP, not yours. Turn it off to send directly from your browser instead.

jData fields

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

Logged in User Id

  • Example: YOUR_USER_ID
  • Where to get it: The ID you log in with at trade.infinn.in (User ID = Client ID). Also returned as uid by GenAcsTok.

Account id of the logged in user

  • Example: YOUR_USER_ID
  • Where to get it: Same as User ID for individual accounts. Returned by GenAcsTok / UserDetails.

Authorization Token

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

⚠ When "Use proxy" is on, this token is sent through this website's server on its way to Infinn. It is never logged here, but if you would rather it never leave your browser, turn off "Use proxy" above or use the ready code with your own client instead.

Request to be POSTed to url: /NorenWClientAPI/GetSubLimits

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
actidAccount id of the logged in user

Response Details:

Response data will be in JSON array of objects with the fields below in case of success:

JSON Fields:

Field NamePossible ValueDescription
statOk or Not_OkRequest success or failure indication
actidAccount id
prdProduct name
s_prdt_aliProduct display name
segEQT/DER/FX/COMSegment
exchExchange
cashCash Margin available
payinTotal Amount transferred using Payins today
payoutTotal amount requested for withdrawal today
brkcollamtPrevalued Collateral Amount
unclearedcashUncleared Cash (Payin through cheques)
daycashAdditional leverage amount / Amount added to handle system errors - by broker.
marginusedTotal margin / fund used today
mtomcurperMtom current percentage
cbuCAC Buy used
cscCAC Sell Credits
rpnlCurrent realized PNL
unmtomCurrent unrealized mtom
marprtCovered Product margins
spanSpan used
expoExposure margin
premiumPremium used
varelmVar Elm Margin
grexpoGross Exposure
greexpo_dGross Exposure derivative
scripbskmarScrip basket margin
addscripbskmrgAdditional scrip basket margin
brokerageBrokerage amount
collateralCollateral calculated based on uploaded holdings
grcollValuation of uploaded holding pre haircut

Sample Success Response:

[
  {
    "request_time": "17:03:37 04-07-2022",
    "stat": "Ok",
    "prfname": "KAMBALA",
    "cash": "50000000.00",
    "daycash": "0.00",
    "blk_amt": "0.00",
    "unclearedcash": "0.00",
    "brkcollamt": "0.00",
    "payin": "320.00",
    "payout": "-24.00"
  },
  {
    "request_time": "17:03:37 04-07-2022",
    "stat": "Ok",
    "prfname": "DEFAULT",
    "cash": "213145.00",
    "daycash": "0.00",
    "blk_amt": "0.00",
    "unclearedcash": "0.00",
    "brkcollamt": "0.00",
    "payin": "320.00",
    "payout": "-24.00"
  },
  {
    "request_time": "17:03:37 04-07-2022",
    "stat": "Ok",
    "prfname": "DEFAULT",
    "cash": "12345.00",
    "daycash": "0.00",
    "blk_amt": "0.00",
    "unclearedcash": "0.00",
    "brkcollamt": "0.00",
    "payin": "320.00",
    "payout": "-24.00"
  }
]

Sample Failure Response:

{
  "stat": "Not_Ok",
  "emsg": "Server Timeout"
}
curl --request POST \
  --url 'https://api.infinn.in/NorenWClientAPI/GetSubLimits' \
  --header 'Authorization: Bearer PASTE_ACCESS_TOKEN_HERE' \
  --header 'Content-Type: text/plain' \
  --data 'jData={"uid":"YOUR_USER_ID"}'
Response will appear here after sending a request