Skip to Main Content

Exchange Segment Codes

Exchange segment codes used across request and response payloads for order placement, market data, and symbol lookups.

Overview

Every API call that references an instrument — Place Order, Market Quotes, Search Scrip, and others — requires an exch field identifying the exchange segment. Use the exact code from the table below; values are case-sensitive.

Segment codes

CodeExchange / SegmentDescription
NSENSE CashNational Stock Exchange, equity segment.
BSEBSE CashBombay Stock Exchange, equity segment.
NFONSE F&ONSE Futures & Options — index and stock derivatives.
BFOBSE F&OBSE Futures & Options — index and stock derivatives. Note: prd: "I" (MIS) is not accepted on this segment — use prd: "M" (NRML) instead. See Product Type Codes.
CDSNSE CurrencyNSE currency derivatives segment.
BCDBSE CurrencyBSE currency derivatives segment.
MCXMCX CommodityMulti Commodity Exchange — commodity futures & options.

Not every segment is enabled for every account by default — commodity and currency segments in particular often require separate activation. Check the prarr array in your Funds & Limits or Client Details response to confirm which segments and product types are enabled for a given user ID.

Usage example

The exch field appears identically across order, data, and lookup APIs:

json
{
  "exch": "NFO",
  "tsym": "NIFTY28AUG26F",
  "buy_or_sell": "B",
  "qty": "50"
}

See Product Type Codes and Order Type Codes for the other coded fields commonly paired with exch in a request payload.