API For SMC Global Traders

The Title

Welcome to Global Datafeeds !
We are pleased to partner with SMC Global Securities Ltd., a leading brokerage firm in India. If you are a trader with active trading account with SMC Global, we will be pleased to offer our API to you as detailed below.

The Title

You may contact Mr. Swapnil Bhavsar for all pre-sales queries on +91-8928922002 or email us on developer@globaldatafeeds.in during working hours
Working Hours (GMT+5:30)
8:30am – 6:00pm, M-F
9:30am – 2:30pm Sat
Closed on Sunday and all Stock Exchange Holidays

The Title

New Accordion Tab

Type of API : WebSockets API. Alternatively, we can offer COM or DotNet API as well (any 1 of the 3).
Exchanges included : NSE CM (Stocks & Indices), NFO (NSE Futures & Options), CDS (NSE Currency Derivatives), MCX (Multi Commodities Exchange)
Total no. of symbols across all above exchanges : 100 (additional symbols available as paid add-on)
What is available ?
– Realtime Data updating every second (L1 data with single best bid / ask details)
– Historical intraday data (1,2,5,10,15,30 minutes & hourly) for 60 days
– Historical End-of-day data (full history for contractwise, few years history for Stocks & Continuous Futures)

New Accordion Tab

Option 1 :
Realtime API : Rs.1995/- + GST
 – it will include only realtime data updating every second (realtime L1 data with single best bid / ask details).
Fields available are : AverageTradedPrice, BuyPrice (Bid), BuyQty (Bid Size), Close (Previous Close), Exchange, High (Day High), InstrumentIdentifier (Symbol), LastTradePrice, LastTradeQty, LastTradeTime, Low (Day Low), Open (Day Open), OpenInterest, PreOpen (true/false), QuotationLot (Lot Size), SellPrice (Ask), SellQty (Sell Size), ServerTime, TotalQtyTraded, Value (Traded Value)
Option 2 :
Historical API : Rs.1995/- + GST
 – it will include only historical data
– 1/2/5/10/15/30/60 minute – 60 calendar days & EOD – 10 years / as per contract
– Available Periodicity : Minute, Day, Week, Month
Fields available are : LastTradeTime, Open, High, Low, LastTradePrice / Close, TradedQty, OpenInterest, QuotationLot (Lot Size)
Option 3 :
Realtime+Historical API : Rs.3595/- + GST
Will include realtime and historical data as explained above

New Accordion Tab

This API is available only for individual users for personal use. It is NOT available for commercial use.
You will need to have an active trading account with SMC Global.

New Accordion Tab

Text Title
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
Text Title
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
Text Title
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
Text Title
Lorem Ipsum is simply dummy text of the printing and typesetting industry.

New Accordion Tab

Given below is documentation of WebSockets API. For documentation of COM / DotNet API, Please email us on developer@globaldatafeeds.in
Important : Only endpoint and API Key is required to use our REST and WebSockets API. Apart from this, no deployment is required at user's end. To get your APIKey, please email us on developer@globaldatafeeds.in

New Accordion Tab

Functions Supported by WebSockets API

New Accordion Tab

Function Name
Authenticate
Authenticates the user
What is returned
Nothing. This function authenticates the user
Supported Parameters
Optional / Required
Description
Details
accessKey
Required parameter
Access key according to your subscription

Sample Request (JavaScript)
 function Authenticate()  {     writeToScreen(\"Authenticate\");    var message =     {       MessageType: \"Authenticate\",       Password: accessKey     };    doSend(message);  }
Sample Response
JSON Response
{\"Complete\":true,\"Message\":\"Welcome!\",\"MessageType\":\"AuthenticateResult\"}\"

New Accordion Tab

Function Name
GetExchanges
Returns information about available Exchanges as per your subscription
What is returned
Array of Exchanges available as per your subscription
Supported Parameters
Optional / Required
Description
Details
Sample Request (JavaScript)
 var request ={MessageType: \"GetExchanges\",};var message = JSON.stringify(request);websocket.send(message);
Sample Response
JSON Response
 {\"Result\":[{\"Value\":\"MCX\"},{\"Value\":\"NFO\"},{\"Value\":\"NSE\"}],\"MessageType\":\"ExchangesResult\"}

New Accordion Tab

Function Name
GetInstrumentsOnSearch
Returns array of max. 20 instruments (properties) by selected exchange and 'search word'
What is returned
List of 20 Instruments (max) matching the search string. Each Instrument row contains following fields :
Exchange, Expiry, Identifier (Symbol), Name (InstrumentType), OptionType
Supported Parameters
Optional / Required
Description
Details
Exchange
Required parameter
Name of supported exchange. To get list of supported exchanges, please use GetExchanges function as above

Search
Required parameter
String value like NIFTY
Search word value (pattern for search)
InstrumentType
Optional parameter
String value like FUTIDX
Name of Supported InstrumentType. To get list of supported values, please see GetInstrumentTypes Function.
Product
Optional parameter
String value like BANKNIFTY
Name of Supported Product. To get list of supported values, please see GetProducts Function.
Expiry
Optional parameter
String value like 30Jul2015
Name of Supported Expiry. To get list of supported values, please see GetExpiryDates Function.
OptionType
Optional parameter
String value like CE or PE
Name of Supported optionType. To get list of supported values, please see GetOptionTypes Function.
StrikePrice
Optional parameter
String value like 0, 10500, etc.
Name of Supported strikePrice. To get list of supported values, please see GetStrikePrices Function.
Sample Request
 var request ={MessageType: \"GetInstrumentsOnSearch\",Exchange: \"NFO\",Search: \"NIF\",};var message = JSON.stringify(request);websocket.send(message);
Sample Response
JSON Response
{\"Request\":{\"Exchange\":\"NFO\",\"Search\":\"NIF\",\"MessageType\":\"GetInstrumentsOnSearch\"},\"Result\":[{\"Identifier\":\"OPTIDX_NIFTY_28DEC2017_CE_10000\",\"Name\":\"OPTIDX\",\"Expiry\":\"28Dec2017\",\"StrikePrice\":10000.0,\"Product\":\"NIFTY\",\"PriceQuotationUnit\":\"\",\"OptionType\":\"CE\",\"ProductMonth\":\"28Dec2017\",\"UnderlyingAsset\":\"\",\"UnderlyingAssetExpiry\":\"\",\"IndexName\":\"\"}{\"Identifier\":\"OPTIDX_NIFTY_28DEC2017_PE_8500\",\"Name\":\"OPTIDX\",\"Expiry\":\"28Dec2017\",\"StrikePrice\":8500.0,\"Product\":\"NIFTY\",\"PriceQuotationUnit\":\"\",\"OptionType\":\"PE\",\"ProductMonth\":\"28Dec2017\",\"UnderlyingAsset\":\"\",\"UnderlyingAssetExpiry\":\"\",\"IndexName\":\"\"}],\"MessageType\":\"InstrumentsOnSearchResult\"}

New Accordion Tab

Function Name
GetInstruments
Returns array of instruments (properties) by selected exchange
What is returned
Array of Instruments. Each Instrument row contains following fields :
Exchange, Expiry, Identifier (Symbol), Name (InstrumentType), OptionType
Supported Parameters
Optional / Required
Description
Details
Exchange
Required parameter
Name of supported exchange. To get list of supported exchanges, please use GetExchanges function as above

InstrumentType
Optional parameter
String value like FUTIDX
Name of Supported InstrumentType. To get list of supported values, please see GetInstrumentTypes Function.
Product
Optional parameter
String value like BANKNIFTY
Name of Supported Product. To get list of supported values, please see GetProducts Function.
Expiry
Optional parameter
String value like 30Jul2015
Name of Supported Expiry. To get list of supported values, please see GetExpiryDates Function.
OptionType
Optional parameter
String value like CE or PE
Name of Supported optionType. To get list of supported values, please see GetOptionTypes Function.
StrikePrice
Optional parameter
String value like 0, 10500, etc.
Name of Supported strikePrice. To get list of supported values, please see GetStrikePrices Function.
Sample Request (in JavaScript)
var request ={MessageType: \"GetInstruments\",Exchange: \"NFO\",};var message = JSON.stringify(request);websocket.send(message);
Sample Response
JSON Response
{\"Request\":{\"Exchange\":\"NFO\",\"MessageType\":\"GetInstruments\"},\"Result\":[{\"Identifier\":\"OPTIDX_NIFTY_28DEC2017_CE_10000\",\"Name\":\"OPTIDX\",\"Expiry\":\"28Dec2017\",\"StrikePrice\":10000.0,\"Product\":\"NIFTY\",\"PriceQuotationUnit\":\"\",\"OptionType\":\"CE\",\"ProductMonth\":\"28Dec2017\",\"UnderlyingAsset\":\"\",\"UnderlyingAssetExpiry\":\"\",\"IndexName\":\"\"}{\"Identifier\":\"OPTIDX_NIFTY_28DEC2017_PE_8500\",\"Name\":\"OPTIDX\",\"Expiry\":\"28Dec2017\",\"StrikePrice\":8500.0,\"Product\":\"NIFTY\",\"PriceQuotationUnit\":\"\",\"OptionType\":\"PE\",\"ProductMonth\":\"28Dec2017\",\"UnderlyingAsset\":\"\",\"UnderlyingAssetExpiry\":\"\",\"IndexName\":\"\"}],\"MessageType\":\"InstrumentsResult\"}

New Accordion Tab

Function Name
GetLastQuote
Returns detailed information about Last Trade Price (LTP)
What is returned
AverageTradedPrice, BuyPrice (Bid), BuyQty (Bid Size), Close (Previous Close), Exchange, High (Day High), InstrumentIdentifier (Symbol), LastTradePrice, LastTradeQty, LastTradeTime, Low (Day Low), Open (Day Open), OpenInterest, PreOpen (true/false), QuotationLot (Lot Size), SellPrice (Ask), SellQty (Sell Size), ServerTime, TotalQtyTraded, Value (Traded Value)
Supported Parameters
Optional / Required
Description
Details
Exchange
Required parameter
String Value like MCX
Name of supported exchange. To get list of supported exchanges, please use GetExchanges function
InstrumentIdentifier
Required parameter
Value of instrument identifier
Name of supported InstrumentIdentifier. To get list of supported values, please use GetInstruments function
isShortIdentifier
Optional parameter
[true]/[false], default = [false]
Optional parameter. When requesting data using shortIdentifier (for example NIFTY19FEBFUT, CRUDEOIL19FEBFUT, etc.), this should be set to [true], otherwise [false]. shortIdentifier is returned in field \”TradeSymbol\” in response to GetInstruments or GetInstrumentsOnSearch function call.
When requesting data using long format identifiers (like FUTIDX_NIFTY_28FEB2019_XX_0, FUTCOM_CRUDEOILM_18APR2019__0, etc.), this should be set to [false]. Also while using backadjusted (continuous) format like NIFTY-I, RELIANCE-I, CRUDEOIL-I, etc., this should be set to [false].
Sample Request (in JavaScript)
var request ={MessageType: \"GetLastQuote\",Exchange: \"NFO\",InstrumentIdentifier: \"FUTSTK_RPOWER_18OCT2017_XX_0\",};var message = JSON.stringify(request);websocket.send(message);
Sample Response
JSON Response
{\"Exchange\":\"NFO\",\"InstrumentIdentifier\":\"FUTSTK_RPOWER_18OCT2017_XX_0\",\"LastTradeTime\":1508320899,\"ServerTime\":1508320899,\"AverageTradedPrice\":43.81,\"BuyPrice\":43.2,\"BuyQty\":36000,\"Close\":44.75,\"High\":44.6,\"Low\":43.0,\"LastTradePrice\":43.2,\"LastTradeQty\":0,\"Open\":44.35,\"OpenInterest\":50052000,\"SellPrice\":43.3,\"SellQty\":24000,\"TotalQtyTraded\":12864000,\"Value\":563571840.0,\"PreOpen\":false,\"MessageType\":\"LastQuoteResult\"}

New Accordion Tab

Function Name
GetLastQuoteArray
Returns detailed information about Last Trade Price (LTP) of Multiple Symbols (max 25 in single call)
What is returned
AverageTradedPrice, BuyPrice (Bid), BuyQty (Bid Size), Close (Previous Close), Exchange, High (Day High), InstrumentIdentifier (Symbol), LastTradePrice, LastTradeQty, LastTradeTime, Low (Day Low), Open (Day Open), OpenInterest, PreOpen (true/false), QuotationLot (Lot Size), SellPrice (Ask), SellQty (Sell Size), ServerTime, TotalQtyTraded, Value (Traded Value)
Supported Parameters
Optional / Required
Description
Details
Exchange
Required parameter
String Value like MCX
Name of supported exchange. To get list of supported exchanges, please use GetExchanges function
InstrumentIdentifiers
Required parameter
Values of instrument identifiers, maximum limit is 25 instruments per single request
Name of supported InstrumentIdentifier. To get list of supported values, please use GetInstruments function
isShortIdentifiers
Optional parameter
[true]/[false], default = [false]
Optional parameter. When requesting data using shortIdentifier (for example NIFTY19FEBFUT, CRUDEOIL19FEBFUT, etc.), this should be set to [true], otherwise [false]. shortIdentifier is returned in field \”TradeSymbol\” in response to GetInstruments or GetInstrumentsOnSearch function call.
When requesting data using long format identifiers (like FUTIDX_NIFTY_28FEB2019_XX_0, FUTCOM_CRUDEOILM_18APR2019__0, etc.), this should be set to [false]. Also while using backadjusted (continuous) format like NIFTY-I, RELIANCE-I, CRUDEOIL-I, etc., this should be set to [false].
Sample Request (in JavaScript)
var request ={MessageType: \"GetLastQuoteArray\",Exchange: \"NFO\",InstrumentIdentifiers:[{\"Value\":\"XXX_MCX0_25Jun2015_XX_X\"},{\"Value\":\"XXX_MCX1_25Jun2015_XX_X\"}],};var message = JSON.stringify(request);websocket.send(message);
Sample Response
JSON Response
{\"Result\":[{\"Exchange\":\"NFO\",\"InstrumentIdentifier\":\"XXX_MCX0_25Jun2015_XX_X\",\"LastTradeTime\":1508320899,\"ServerTime\":1508320899,\"AverageTradedPrice\":43.81,\"BuyPrice\":43.2,\"BuyQty\":36000,\"Close\":44.75,\"High\":44.6,\"Low\":43.0,\"LastTradePrice\":43.2,\"LastTradeQty\":0,\"Open\":44.35,\"OpenInterest\":50052000,\"QuotationLot\":1.0,\"SellPrice\":43.3,\"SellQty\":24000,\"TotalQtyTraded\":12864000,\"Value\":563571840.0,\"PreOpen\":false,\"MessageType\":\"LastQuoteResult\"},{\"Exchange\":\"NFO\",\"InstrumentIdentifier\":\"XXX_MCX1_25Jun2015_XX_X\",\"LastTradeTime\":1508320899,\"ServerTime\":1508320899,\"AverageTradedPrice\":43.81,\"BuyPrice\":43.2,\"BuyQty\":36000,\"Close\":44.75,\"High\":44.6,\"Low\":43.0,\"LastTradePrice\":43.2,\"LastTradeQty\":0,\"Open\":44.35,\"OpenInterest\":50052000,\"QuotationLot\":1.0,\"SellPrice\":43.3,\"SellQty\":24000,\"TotalQtyTraded\":12864000,\"Value\":563571840.0,\"PreOpen\":false,\"MessageType\":\"LastQuoteResult\"}],\"MessageType\":\"LastQuoteArrayResult\"}

New Accordion Tab

Function Name
GetSnapshot
Returns last snapshot of Multiple Symbols (max 25 instruments in single call)
What is returned
Exchange, InstrumentIdentifier (Symbol), Open, High, Low, Close, OpenInterest, TradedQty, LastTradeTime
Supported Parameters
Optional / Required
Description
Details
Exchange
Required parameter
String Value like MCX
Name of supported exchange. To get list of supported exchanges, please use GetExchanges function
Periodicity
Optional parameter
[MINUTE]/[HOUR], default = [MINUTE]
String value of required periodicity
Period
Optional parameter
Numerical value 1, 2, 3… default = 1
Optional parameter of required period for historical data. Can be applied for [MINUTE]/[HOUR] periodicity types
InstrumentIdentifiers
Required parameter
Values of instrument identifiers, maximum limit is 25 instruments per single request
Name of supported InstrumentIdentifier. To get list of supported values, please use GetInstruments function
isShortIdentifiers
Optional parameter
[true]/[false], default = [false]
Optional parameter. When requesting data using shortIdentifier (for example NIFTY19FEBFUT, CRUDEOIL19FEBFUT, etc.), this should be set to [true], otherwise [false]. shortIdentifier is returned in field \”TradeSymbol\” in response to GetInstruments or GetInstrumentsOnSearch function call.
When requesting data using long format identifiers (like FUTIDX_NIFTY_28FEB2019_XX_0, FUTCOM_CRUDEOILM_18APR2019__0, etc.), this should be set to [false]. Also while using backadjusted (continuous) format like NIFTY-I, RELIANCE-I, CRUDEOIL-I, etc., this should be set to [false].
Sample Request (in JavaScript)
var request ={MessageType: \"GetSnapshot\",Exchange: \"NFO\",Periodicity: \"MINUTE\",Period: 1,InstrumentIdentifiers:[{\"Value\":\"XXX_MCX0_25Jun2015_XX_X\"},{\"Value\":\"XXX_MCX1_25Jun2015_XX_X\"}],};var message = JSON.stringify(request);websocket.send(message);
Sample Response
JSON Response
{\"Result\":[{\"InstrumentIdentifier\":\"XXX_MCX0_25Jun2015_XX_X\",\"Exchange\":\"NFO\",\"LastTradeTime\":1508320800,\"TradedQty\":0,\"OpenInterest\":0,\"Open\":0.0,\"High\":0.0,\"Low\":0.0,\"Close\":0.0},{\"InstrumentIdentifier\":\"XXX_MCX1_25Jun2015_XX_X\",\"Exchange\":\"NFO\",\"LastTradeTime\":1508320800,\"TradedQty\":0,\"OpenInterest\":0,\"Open\":0.0,\"High\":0.0,\"Low\":0.0,\"Close\":0.0}],\"MessageType\":\"SnapshotResult\"}

New Accordion Tab

Function Name
GetHistory
Returns array with historical data (array of Ticks or OHLC)
What is returned
LastTradeTime, Open, High, Low, LastTradePrice / Close, BuyPrice (Bid), BuyQty (Bid Size), SellPrice (Ask), SellQty (Sell Size), TradedQty, OpenInterest, QuotationLot
Supported Parameters
Optional / Required
Description
Details
Exchange
Required parameter
String Value like MCX
Name of supported exchange. To get list of supported exchanges, please use GetExchanges function
Periodicity
Optional parameter
[TICK]/[MINUTE]/[HOUR]/[DAY]/[WEEK]/[MONTH], default = [TICK]
String value of required periodicity
Period
Optional parameter
Numerical value 1, 2, 3… default = 1
Optional parameter of required period for historical data. Can be applied for [MINUTE]/[HOUR]/[DAY] periodicity types
From
Optional parameter
Numerical value of UNIX Timestamp like '1388534400' (01-01-2014 0:0:0)
It means starting timestamp for requested historical data
To
Optional parameter
Numerical value of UNIX Timestamp like '1388534400' (01-01-2014 0:0:0)
It means ending timestamp for requested historical data
Max
Optional parameter
Numerical value of maximum records that should be returned. Default = 0 (means all available data)
It will limit returned data. For example, when max=10 is sent, only 10 records will be returned
InstrumentIdentifier
Required parameter
Values of instrument identifier
Name of supported InstrumentIdentifier. To get list of supported values, please use GetInstruments function
isShortIdentifier
Optional parameter
[true]/[false], default = [false]
Optional parameter. When requesting data using shortIdentifier (for example NIFTY19FEBFUT, CRUDEOIL19FEBFUT, etc.), this should be set to [true], otherwise [false]. shortIdentifier is returned in field \”TradeSymbol\” in response to GetInstruments or GetInstrumentsOnSearch function call.
When requesting data using long format identifiers (like FUTIDX_NIFTY_28FEB2019_XX_0, FUTCOM_CRUDEOILM_18APR2019__0, etc.), this should be set to [false]. Also while using backadjusted (continuous) format like NIFTY-I, RELIANCE-I, CRUDEOIL-I, etc., this should be set to [false].
Sample Request (in JavaScript)
var request ={MessageType: \"GetHistory\",Exchange: \"NFO\",InstrumentIdentifier: \"FUTSTK_RPOWER_18OСT2017_XX_0\",Periodicity: \"TICK\",Period: 1,From: 1508319960,To: 1508320140,Max: 0};var message = JSON.stringify(request);websocket.send(message);
Sample Response (Tick)
JSON Response (Tick)
{\"Request\":{\"Exchange\":\"NFO\",\"InstrumentIdentifier\":\"FUTSTK_RPOWER_18OСT2017_XX_0\",\"From\":1508319960,\"To\":1508320140,\"Periodicity\":\"TICK\",\"Period\":1,\"Max\":0,\"MessageType\":\"GetHistory\"},\"Result\":[{\"LastTradeTime\":1508320107,\"LastTradePrice\":43.0,\"QuotationLot\":3,\"TradedQty\":1,\"OpenInterest\":0,\"BuyPrice\":49992000.0,\"BuyQty\":43,\"SellPrice\":3.0,\"SellQty\":12000},{\"LastTradeTime\":1508320102,\"LastTradePrice\":43.0,\"QuotationLot\":3,\"TradedQty\":1,\"OpenInterest\":0,\"BuyPrice\":49992000.0,\"BuyQty\":43,\"SellPrice\":25.0,\"SellQty\":96000},{\"LastTradeTime\":1508320094,\"LastTradePrice\":43.0,\"QuotationLot\":3,\"TradedQty\":1,\"OpenInterest\":12000,\"BuyPrice\":49992000.0,\"BuyQty\":43,\"SellPrice\":25.0,\"SellQty\":84000},{\"LastTradeTime\":1508320089,\"LastTradePrice\":43.0,\"QuotationLot\":3,\"TradedQty\":1,\"OpenInterest\":0,\"BuyPrice\":50004000.0,\"BuyQty\":43,\"SellPrice\":25.0,\"SellQty\":72000}],\"MessageType\":\"HistoryTickResult\"}
Sample Response (OHLC)
JSON Response (OHLC)
{\"Request\":{\"Exchange\":\"NFO\",\"InstrumentIdentifier\":\"FUTSTK_RPOWER_18OСT2017_XX_0\",\"From\":1388534400,\"To\":1412121600,\"Periodicity\":\"MINUTE\",\"Period\":1,\"Max\":0,\"MessageType\":\"GetHistory\"},\"Result\":[{\"LastTradeTime\":1506074460,\"QuotationLot\":15,\"TradedQty\":43,\"OpenInterest\":43,\"Open\":43.0,\"High\":15.0,\"Low\":43.0,\"Close\":2.0},{\"LastTradeTime\":1506074340,\"QuotationLot\":15,\"TradedQty\":43,\"OpenInterest\":43,\"Open\":43.0,\"High\":15.0,\"Low\":43.0,\"Close\":15.0},{\"LastTradeTime\":1506074280,\"QuotationLot\":1,\"TradedQty\":43,\"OpenInterest\":43,\"Open\":43.0,\"High\":1.0,\"Low\":43.0,\"Close\":1.0},{\"LastTradeTime\":1506074220,\"QuotationLot\":5,\"TradedQty\":43,\"OpenInterest\":43,\"Open\":43.0,\"High\":15.0,\"Low\":43.0,\"Close\":15.0}],\"MessageType\":\"HistoryOHLCResult\"}

New Accordion Tab

Function Name
GetInstrumentTypes
Returns array of Instrument Types by selected exchange
What is returned
Array of Instrument Types
Supported Parameters
Optional / Required
Description
Details
Exchange
Required parameter
Name of supported exchange. To get list of supported exchanges, please use GetExchanges function as above

Sample Request (in JavaScript)
var request ={MessageType: \"GetInstrumentTypes\",Exchange: \"NFO\",};var message = JSON.stringify(request);websocket.send(message);
Sample Response
JSON Response
{\"Request\":{\"Exchange\":\"NFO\",\"MessageType\":\"GetInstrumentTypes\"},\"Result\":[{\"Value\":\"OPTIDX\"},{\"Value\":\"OPTSTK\"}],\"MessageType\":\"InstrumentTypesResult\"}

New Accordion Tab

Function Name
GetProducts
Returns array of Products by selected exchange
What is returned
Array of Products
Supported Parameters
Optional / Required
Description
Details
Exchange
Required parameter
Name of supported exchange. To get list of supported exchanges, please use GetExchanges function as above

InstrumentType
Optional parameter
String value like FUTIDX
Name of Supported InstrumentType. To get list of supported values, please see GetInstrumentTypes Function.
Sample Request (in JavaScript)
var request ={MessageType: \"GetProducts\",Exchange: \"NFO\",};var message = JSON.stringify(request);websocket.send(message);
Sample Response
JSON Response
{\"Request\":{\"Exchange\":\"NFO\",\"MessageType\":\"GetProducts\"},\"Result\":[{\"Value\":\"NIFTY\"},{\"Value\":\"GAIL\"}],\"MessageType\":\"ProductsResult\"}

New Accordion Tab

Function Name
GetExpiryDates
Returns array of Expiry Dates by selected exchange
What is returned
Array of Expiry Dates.
Supported Parameters
Optional / Required
Description
Details
Exchange
Required parameter
Name of supported exchange. To get list of supported exchanges, please use GetExchanges function as above

InstrumentType
Optional parameter
String value like FUTIDX
Name of Supported InstrumentType. To get list of supported values, please see GetInstrumentTypes Function.
Product
Optional parameter
String value like BANKNIFTY
Name of Supported Product. To get list of supported values, please see GetProducts Function.
Sample Request (in JavaScript)
var request ={MessageType: \"GetExpiryDates\",Exchange: \"NFO\"};var message = JSON.stringify(request);websocket.send(message);
Sample Response
JSON Response
{\"Request\":{\"Exchange\":\"NFO\",\"MessageType\":\"GetExpiryDates\"},\"Result\":[{\"Value\":\"25JUN2020\"},{\"Value\":\"28DEC2017\"},{\"Value\":\"31DEC2020\"}],\"MessageType\":\"ExpiryDatesResult\"}

New Accordion Tab

Empty section. Edit page to add content here.

New Accordion Tab

Empty section. Edit page to add content here.

New Accordion Tab

Empty section. Edit page to add content here.

New Accordion Tab

Empty section. Edit page to add content here.

New Accordion Tab

Empty section. Edit page to add content here.

New Accordion Tab

Empty section. Edit page to add content here.

New Accordion Tab

Empty section. Edit page to add content here.

New Accordion Tab

Empty section. Edit page to add content here.

New Accordion Tab

At times, server sends diagnostic responses instead of requested data. Please find below list of possible informational messages (returns as text/plain) by our server. Most of these responses are self-explanatory. Your application should be designed to handle these responses which are returned as text/plain (instead of JSON).
  • Data unavailable.
  • Welcome!
  • Authentication request received. Try request data in next moment.
  • Access Denied. Key not found.
  • Access Denied. Key blocked.
  • Access Denied. Key unknown or empty.
  • Key Expired.
  • IP address not allowed.
  • Data for requested exchange is disabled.
  • Reached instrument limitation.
  • Function not enabled.
  • RealtimeSubscription disabled for delayed data.
  • Bandwidth per hour is limited.
  • Calls per hour are limited.
  • Calls limitation is reached.
  • Bandwidth limitation is reached.
  • Access Denied. Key Invalid.
  • Access Denied. Key already in use by other session.
  • Selected periodicity or period disabled.

New Accordion Tab

The Title

For NSE Stocks :
Use instrumentIdentifier as returned by GetInstruments or GetInstrumentsOnSearch call. Use \”NSE\” as value of field \”Exchange\”. Use Optional parameters (as appropriate) to restrict the no. of records returned. Plain call to GetInstruments can return huge data (15-20MB) containing all instruments of NSE Exchange. Make sure your client is configured correctly (especially buffer parameters) to accept such huge data.
For NSE Indices :
Use instrumentIdentifier as returned by GetInstruments or GetInstrumentsOnSearch call. Use \”NSE_IDX\” as value of field \”Exchange\”.
For CDS (NSE Currency Derivatives) :
Use instrumentIdentifier as returned by GetInstruments or GetInstrumentsOnSearch call. Use \”CDS\” as value of field \”Exchange\”. Use Optional parameters (as appropriate) to restrict the no. of records returned. Plain call to GetInstruments can return large data (3-4MB) containing all instruments of CDS Exchange. Make sure your client is configured correctly (especially buffer parameters) to accept such huge data.
For MCX (Multi Commodities Exchange) :
You have 3 options here :
1. Use instrumentIdentifier as returned by GetInstruments or GetInstrumentsOnSearch call. Use \”MCX\” as value of field \”Exchange\”. Use Optional parameters (as appropriate) to restrict the no. of records returned. Plain call to GetInstruments can return large data (3-4MB) containing all instruments of MCX Exchange. Make sure your client is configured correctly (especially buffer parameters) to accept such huge data.
2. Use \”TradeSymbol\” value as returned in GetInstruments call. These are informally called as short identifiers. Typical examples are : CRUDEOIL19FEBFUT, NATURALGAS19MARFUT, etc.. Make sure that you pass value of \”isShortIdentifier\” field as \”true\” when using this method.
3. Use continuous (backadjusted) format. Typical examples are : CRUDEOIL-I, NATURALGAS-II, etc..
For NFO (NSE Future & Options) :
You have 3 options here :
1. Use instrumentIdentifier as returned by GetInstruments or GetInstrumentsOnSearch call. Use \”NFO\” as value of field \”Exchange\”. Use Optional parameters (as appropriate and highly recommended) to restrict the no. of records returned. Plain call to GetInstruments can return large data (35-40MB) containing all instruments of NFO Exchange. Make sure your client is configured correctly (especially buffer parameters) to accept such huge data.
2. Use \”TradeSymbol\” value as returned in GetInstruments call. These are informally called as short identifiers. Typical examples are : NIFTY19FEBFUT, RELIANCE19MARFUT, etc.. Make sure that you pass value of \”isShortIdentifier\” field as \”true\” when using this method.
3. Use continuous (backadjusted) format. Typical examples are : NIFTY-I, RELIANCE-II, etc..

New Accordion Tab

Following samples are available to kick start your development immediately. Please Submit This Form to get access
Type of API Samples Available In
WebSockets HTML + JavaScript, Python, Node JS, Java
DotNet C#
COM C++
REST HTML + JavaScript

New Accordion Tab

We do not provide any API Client but following API Clients are available from 3rd Party Vendor.
3rd Party Clients / Solutions
Vendor Type of Client Links
KNC Solutions Private Limited.
For any queries, email at developer@kncsolutions.in
Java Client for WebSockets API Repository :
https://github.com/kncsolutions/dhelm-gfeed-java-client
Documentation :
https://github.com/kncsolutions/dhelm-gfeed-java-client/wiki
KNC Solutions Private Limited.
For any queries, email at developer@kncsolutions.in
Node.js Client for WebSockets API Repository :
https://github.com/kncsolutions/dhelm-gfeed-js-client
Documentation :
https://github.com/kncsolutions/dhelm-gfeed-js-client/wiki
KNC Solutions Private Limited.
For any queries, email at developer@kncsolutions.in
Python Client for WebSockets API Repository :
https://github.com/kncsolutions/dhelm-gfeed-python-client
Documentation :
https://kncsolutions.github.io/site/gfeedpythonapi/docs/_build/html/
3rd Party Software Disclaimer
Any links to third-party software available on this website are provided “as is” without warranty of any kind, either expressed or implied and such software is to be used at your own risk. Disclaimer

New Accordion Tab

Technical Support is offered on email only. Please write to developer@globaldatafeeds.in for all technical queries during trial or during paid subscription.
Support Hours (GMT+5:30)
8:30am – 6:00pm, M-F
9:30am – 2:30pm Sat
Closed on Sunday and all Stock Exchange Holidays

New Accordion Tab

You may contact Mr. Swapnil Bhavsar for all pre-sales queries on +91-8928922002 or email us on developer@globaldatafeeds.in during working hours
Working Hours (GMT+5:30)
8:30am – 6:00pm, M-F
9:30am – 2:30pm Sat
Closed on Sunday and all Stock Exchange Holidays