Infinn API Documentation
Order and Trades

Single Order Status

POST/NorenWClientAPI/SingleOrdStatus

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.

Should send json object with fields in below list

Key Obtained on login success.

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.

Noren Order Number

  • Example: 24010100000001
  • Where to get it: norenordno returned by PlaceOrder, or listed in the OrderBook.

Account id for which order was placed.

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

Exchange on which order was placed.

  • Example: NSE
  • Where to get it: 'exarr' array in the UserDetails response.
  • Allowed: NSE, NFO, BSE, MCX, CDS, NCX, BFO, BCD

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.

We have Required to add the One API Documentation Page after Single Order History In Order & Trades Section with the Name of Single Order Status.

Single Order Status

Request to be POSTed to url : /NorenWClientAPI/SingleOrdStatus

Request Details
Parameter NamePossible valueDescription
jData*Should send json object with fields in below list
Authorization*Bearer <access_token>access_token from GenAcsTok response. Required for all API calls.
Parameter NamePossible valueDescription
uid*Logged in User Id
norenordno*Noren Order Number
actid*Account id for which order was placed.
exch*Exchange on which order was placed.
Response Details

Response data will be in json Array of objects with below fields in case of success (but only 1 object will be there in json array, unlike single order history, this is kept to help easy migration from single order history to single order status, where user is only interested in the status).

Json FieldsPossible valueDescription
statOk or Not_OkOrder book success or failure indication.
exchExchange Segment
tsymTrading symbol / contract on which order is placed.
norenordnoNoren Order Number
prcOrder Price
qtyOrder Quantity
prdDisplay product alias name, using prarr returned in user details.
s_prdt_aliProduct display name
statusOrder status
rptReport Type (fill/complete etc)
trantypeB / STransaction type of the order
prctypLMT / MKTPrice type
fillsharesTotal Traded Quantity of this order
avgprcAverage trade price of total traded quantity
rejreasonIf order is rejected, reason in text form
exchordidExchange Order Number.
cancelqtyCanceled quantity for order which is in status cancelled.
remarksAny message Entered during order entry.
dscqtyOrder disclosed quantity.
trgprcOrder trigger price
retDAY / IOC / EOSOrder validity
uidBook Profit Price applicable only if product is selected as B (Bracket order)
actidBook loss Price applicable only if product is selected as H and B (High Leverage and Bracket order)
bpprcBook Profit Price applicable only if product is selected as B (Bracket order)
blprcBook loss Price applicable only if product is selected as H and B (High Leverage and Bracket order)
trailprcTrailing Price applicable only if product is selected as H and B (High Leverage and Bracket order)
amoYes / No
ppPrice precision
tiTick size
lsLot size
tokenContract Token
norentm-
ordenttm-
exch_tmFormat: dd-mm-YYYY hh:MM:SS

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

Json FieldsPossible valueDescription
statNot_OkOrder book failure indication.
request_time-Response received time.
emsg-Error message
Example
curl https://api.infinn.in/NorenWClientAPI/SingleOrdStatus \
    -d "jData={\"uid\":\"VIDYA\"}" \
    -d "jKey=GHUDWU53H32MTHPA536Q32WR"
Sample Success Output
[
    {
        "stat": "Ok",
        "norenordno": "23072300000001",
        "kidid": "1",
        "uid": "TESTINV",
        "src_uid": "",
        "actid": "TESTINV",
        "exch": "NSE",
        "tsym": "ACC-EQ",
        "qty": "250",
        "trantype": "S",
        "prctyp": "LMT",
        "ret": "DAY",
        "rejby": "RED",
        "pan": "AAAAA1234A",
        "ordersource": "WEB",
        "token": "22",
        "pp": "2",
        "ls": "1",
        "ti": "0.05",
        "prc": "2400.00",
        "dscqty": "0",
        "s_prdt_ali": "Regular",
        "prd": "M",
        "status": "REJECTED",
        "st_intrn": "REJECTED",
        "rpt": "Rejected",
        "ordenttm": "1690107153",
        "norentm": "15:42:33 23-07-2023",
        "remarks": "WC TEST Order",
        "rejreason": "RED:RULE:{Check circuit limit including square off order}Current:INR 2,400.00 LowerCircuit:INR 1,590.05 UpperCircuit:INR 1,943.35:NSE.ACC-EQ for C-TESTINV [DEFAULT]",
        "introp_exch": "EQT"
    }
]
curl --request POST \
  --url 'https://api.infinn.in/NorenWClientAPI/SingleOrdStatus' \
  --header 'Authorization: Bearer PASTE_ACCESS_TOKEN_HERE' \
  --header 'Content-Type: text/plain' \
  --data 'jData={"jData":"","jKey":"","uid":"YOUR_USER_ID","norenordno":"24010100000001","actid":"YOUR_USER_ID","exch":"NSE"}'
Response will appear here after sending a request