0

API Documention

Functions Supported by REST API

GetLastQuote

Function Name
GetLastQuote
Returns information about last quote / price
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
accessKey
Required parameter
Access key according to your subscription
Some description
accessKey
Required parameter
Access key according to your subscription
Some description
accessKey
Required parameter
Access key according to your subscription
Some description
accessKey
Required parameter
Access key according to your subscription
Some description
Sample Request
GetLastQuote/?accessKey=YOUR_ACCESS_KEY&exchange=MCX&instrumentIdentifier=XXX_MCXSCHANADLH_25Jun2015_XX_X&xml=true
Sample Response
JSON Response
{ "AVERAGETRADEDPRICE": 871.68, "BUYPRICE": 870.1, "BUYQTY": 1, "CLOSE": 870.9, "EXCHANGE": "MCX", "HIGH": 875, "INSTRUMENTIDENTIFIER": "XXX_MCXSCHANADLH_25Jun2015_XX_X", "LASTTRADEPRICE": 875, "LASTTRADEQTY": 2, "LASTTRADETIME": 1391863200, "LOW": 868.1, "OPEN": 871.2, "OPENINTEREST": 221, "PREOPEN": false, "QUOTATIONLOT": 100, "SELLPRICE": 874, "SELLQTY": 1, "SERVERTIME": 1391821719, "TOTALQTYTRADED": 17, "VALUE": 1481850}
XML Response
 

Exchange="MCX" InstrumentIdentifier="XXX_MCXSCHANADLH_25Jun2015_XX_X" LastTradeTime="2-8-2014 12:40:00 PM" ServerTime="2-8-2014 1:08:39 AM" AverageTradedPrice="871.68" BuyPrice="870.1" BuyQty="1" Close="870.9" High="875" Low="868.1" LastTradePrice="875" LastTradeQty="2" Open="871.2" OpenInterest="221" QuotationLot="100" SellPrice="874" SellQty="1" TotalQtyTraded="17" Value="1481850" PreOpen="false"
/> 

GetLastQuote

Function Name
GetLastQuote
Returns information about last quote / price
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
accessKey
Required parameter
Access key according to your subscription
Some description
accessKey
Required parameter
Access key according to your subscription
Some description
accessKey
Required parameter
Access key according to your subscription
Some description
accessKey
Required parameter
Access key according to your subscription
Some description
Sample Request
GetLastQuote/?accessKey=YOUR_ACCESS_KEY&exchange=MCX&instrumentIdentifier=XXX_MCXSCHANADLH_25Jun2015_XX_X&xml=true
Sample Response
JSON Response
{ "AVERAGETRADEDPRICE": 871.68, "BUYPRICE": 870.1, "BUYQTY": 1, "CLOSE": 870.9, "EXCHANGE": "MCX", "HIGH": 875, "INSTRUMENTIDENTIFIER": "XXX_MCXSCHANADLH_25Jun2015_XX_X", "LASTTRADEPRICE": 875, "LASTTRADEQTY": 2, "LASTTRADETIME": 1391863200, "LOW": 868.1, "OPEN": 871.2, "OPENINTEREST": 221, "PREOPEN": false, "QUOTATIONLOT": 100, "SELLPRICE": 874, "SELLQTY": 1, "SERVERTIME": 1391821719, "TOTALQTYTRADED": 17, "VALUE": 1481850}
XML Response
 

Exchange="MCX" InstrumentIdentifier="XXX_MCXSCHANADLH_25Jun2015_XX_X" LastTradeTime="2-8-2014 12:40:00 PM" ServerTime="2-8-2014 1:08:39 AM" AverageTradedPrice="871.68" BuyPrice="870.1" BuyQty="1" Close="870.9" High="875" Low="868.1" LastTradePrice="875" LastTradeQty="2" Open="871.2" OpenInterest="221" QuotationLot="100" SellPrice="874" SellQty="1" TotalQtyTraded="17" Value="1481850" PreOpen="false"
/> 

Samples

Functions Supported by REST API

GetLastQuote

Function Name
GetLastQuote
Returns information about last quote / price
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
accessKey
Required parameter
Access key according to your subscription
Some description
accessKey
Required parameter
Access key according to your subscription
Some description
accessKey
Required parameter
Access key according to your subscription
Some description
accessKey
Required parameter
Access key according to your subscription
Some description
Sample Request
GetLastQuote/?accessKey=YOUR_ACCESS_KEY&exchange=MCX&instrumentIdentifier=XXX_MCXSCHANADLH_25Jun2015_XX_X&xml=true
Sample Response
JSON Response
{ "AVERAGETRADEDPRICE": 871.68, "BUYPRICE": 870.1, "BUYQTY": 1, "CLOSE": 870.9, "EXCHANGE": "MCX", "HIGH": 875, "INSTRUMENTIDENTIFIER": "XXX_MCXSCHANADLH_25Jun2015_XX_X", "LASTTRADEPRICE": 875, "LASTTRADEQTY": 2, "LASTTRADETIME": 1391863200, "LOW": 868.1, "OPEN": 871.2, "OPENINTEREST": 221, "PREOPEN": false, "QUOTATIONLOT": 100, "SELLPRICE": 874, "SELLQTY": 1, "SERVERTIME": 1391821719, "TOTALQTYTRADED": 17, "VALUE": 1481850}
XML Response
 

Exchange="MCX" InstrumentIdentifier="XXX_MCXSCHANADLH_25Jun2015_XX_X" LastTradeTime="2-8-2014 12:40:00 PM" ServerTime="2-8-2014 1:08:39 AM" AverageTradedPrice="871.68" BuyPrice="870.1" BuyQty="1" Close="870.9" High="875" Low="868.1" LastTradePrice="875" LastTradeQty="2" Open="871.2" OpenInterest="221" QuotationLot="100" SellPrice="874" SellQty="1" TotalQtyTraded="17" Value="1481850" PreOpen="false"
/> 

GetLastQuote

Function Name
GetLastQuote
Returns information about last quote / price
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
accessKey
Required parameter
Access key according to your subscription
Some description
accessKey
Required parameter
Access key according to your subscription
Some description
accessKey
Required parameter
Access key according to your subscription
Some description
accessKey
Required parameter
Access key according to your subscription
Some description
Sample Request
GetLastQuote/?accessKey=YOUR_ACCESS_KEY&exchange=MCX&instrumentIdentifier=XXX_MCXSCHANADLH_25Jun2015_XX_X&xml=true
Sample Response
JSON Response
{ "AVERAGETRADEDPRICE": 871.68, "BUYPRICE": 870.1, "BUYQTY": 1, "CLOSE": 870.9, "EXCHANGE": "MCX", "HIGH": 875, "INSTRUMENTIDENTIFIER": "XXX_MCXSCHANADLH_25Jun2015_XX_X", "LASTTRADEPRICE": 875, "LASTTRADEQTY": 2, "LASTTRADETIME": 1391863200, "LOW": 868.1, "OPEN": 871.2, "OPENINTEREST": 221, "PREOPEN": false, "QUOTATIONLOT": 100, "SELLPRICE": 874, "SELLQTY": 1, "SERVERTIME": 1391821719, "TOTALQTYTRADED": 17, "VALUE": 1481850}
XML Response
 

Exchange="MCX" InstrumentIdentifier="XXX_MCXSCHANADLH_25Jun2015_XX_X" LastTradeTime="2-8-2014 12:40:00 PM" ServerTime="2-8-2014 1:08:39 AM" AverageTradedPrice="871.68" BuyPrice="870.1" BuyQty="1" Close="870.9" High="875" Low="868.1" LastTradePrice="875" LastTradeQty="2" Open="871.2" OpenInterest="221" QuotationLot="100" SellPrice="874" SellQty="1" TotalQtyTraded="17" Value="1481850" PreOpen="false"
/> 

Frequently Asked Questions (FAQs)

What is this API meant for ?

This API – Application Programming Interface – is a set of routines / functions using which, various types of data can be fetched from our server. This data is typically trade / price data of Indian Stock Exchanges.

What is API for Personal Use ?

API can be used by an individual as well as company. But depending on how the data is used, the API is classified as for Personal Use and Commercial Use.

What is API for Commercial Use ?

API can be used by an individual as well as company. But depending on how the data is used, the API is classified as for Personal Use and Commercial Use.

What type of data is available through this API ?

Realtime Streaming (L1), Delayed Streaming (delay from few seconds to 900 seconds), realtime snapshot and End-Of-Day data is available through this API.

Which Exchanges' data is available through this API ?

Realtime Streaming (L1), Delayed Streaming (delay from few seconds to 900 seconds), realtime snapshot and End-Of-Day data is available through this API.