Skip to Main Content

Postman Collection

Import the full NorenRESTAPI OAuth Postman collection — every endpoint pre-built as a ready-to-run request.

Overview

The NorenRESTAPI_oAuth Postman collection covers every documented endpoint as a pre-configured request, using collection variables for your domain and credentials so you're not retyping URLs and payloads for each test call.

Download

NorenRESTAPI_oAuth.postman_collection.json
Postman Collection v2.1 — 40 endpoints

Import

  1. Click Download above to save the collection JSON.
  2. In Postman: File → Import, then select the downloaded file.
  3. Set up the collection variables (below) before running any request.

Collection variables

Set these under the collection's Variables tab so every endpoint picks them up automatically:

VariableDescription
Domain_NameAPI host — defaults to api.shoonya.com, used as {{Domain_Name}} in every request URL.
USER_IDYour Shoonya user ID, used as uid in most request bodies.
ACCT_IDYour account ID, used as actid where required (orders, holdings, reports).
PANUsed only by the Forgot Password requests.
access_tokenYour susertoken from GenAcsTok — every authenticated request reads this variable for its Bearer token, so set it once after logging in rather than editing 40 requests individually.

Authentication

Every request except GenAccessToken uses Postman's per-request Bearer Token auth, sourced from the {{access_token}} collection variable. Get that token first by running GenAccessToken — see Manual Login (OAuth) for how to obtain code and compute the checksum it needs — then paste the returned susertoken into the access_token variable.

Auth & account

RequestEndpoint
GenAccessTokenPOST GenAcsTok
Forgot PasswordPOST ForgotPassword
Forgot Password OTPPOST FgtPwdOTP
Change PasswordPOST Changepwd
User DetailPOST UserDetails
ClientDetailsPOST ClientDetails

Watchlist

RequestEndpoint
Get Watchlist NamesPOST MWList
Get Watchlist ScripsPOST MarketWatch
Search ScripPOST SearchScrip
Add Scrip To WatchlistPOST AddMultiScripsToMW
ReorderMWScripsPOST ReorderMWScrips
Delete Scrip to Watch ListPOST DeleteMultiMWScrips
PreDefinedMWPOST PreDefinedMW
PreDefinedMWListPOST PreDefinedMWList
RenameMWPOST RenameMW

Orders & trades

RequestEndpoint
Place OrderPOST PlaceOrder
Modify OrderPOST ModifyOrder
Cancel OrderPOST CancelOrder
ExitSNOOrderPOST ExitSNOOrder
GetOrderMarginPOST GetOrderMargin
GetBasketMarginPOST GetBasketMargin
OrderBookPOST OrderBook
MultiLegOrderBookPOST MultiLegOrderBook
Single order HistPOST SingleOrdHist
single ord statusPOST SingleOrdStatus
TradeBookPOST TradeBook
Product ConversionPOST ProductConversion
SpanCalcPOST SpanCalc

Positions, holdings & funds

RequestEndpoint
PositionBookPOST PositionBook
InteropPosition bookPOST InteropPositionBook
HoldingsPOST Holdings
Holdings ConversionPOST HoldingsConv
LimitsPOST Limits
GetSubLimitsPOST GetSubLimits
GetMaxPayoutAmountPOST GetMaxPayoutAmount

Reports

RequestEndpoint
GetOrderReportPOST GetOrderReport
GetTradeReportPOST GetTradeReport

Market data & reference

RequestEndpoint
Get SecurityInfoPOST GetSecurityInfo
GetQuotesPOST GetQuotes
EODChartDataPOST EODChartData
GetIndexListPOST GetIndexList
GetOptionChainPOST GetOptionChain
GetOptionGreekPOST GetOptionGreek
GetLinkedScripsPOST GetLinkedScrips
GetUnderlyingExchTokenPOST GetUnderlyingExchToken
ExchMsgPOST ExchMsg
GetBrokerMsgPOST GetBrokerMsg
ExchStatusPOST ExchStatus
AMOStatusFlagPOST AMOStatusFlag
TPSeriesPOST TPSeries

Notes

  • All request bodies use jData=<JSON> as raw text, per API Structure — every request's body tab is set to raw / text; don't switch it to JSON mode or the jData= prefix will be dropped from the send.
  • GetOptionGreek's sample body uses placeholder values (<expiry>, <strike_price>, etc.) — fill these in before sending, it won't return anything meaningful as-is.
  • Order-referencing requests (Modify/Cancel/ExitSNOOrder/order history/status) use a <order_number> placeholder for norenordno — replace with a real order number from Order Book before testing.