Data Services - BSE

This path is about the data services of BSE Equity : /Api/V1/Data/BseEquity

URL

Example API Request

//www.tickermarket.com/TPILWebAPI/Api/V1/Data/BseEquity

http://www.tickermarket.com/TPILWebAPI/Api/V1/Data/BseEquity

Request

Key Required Value Discription
Segments TPIL_BSE 3 Discription Text
Instrument TPIL_BSE Equity 1 Discription Text
Request Type BSE Equity 1 - 34 Discription Text

Response

Key Description
id unique identifier for asset
rank rank is in ascending order - this number is directly associated with the marketcap whereas the highest marketcap receives rank 1
symbol most common symbol used to identify this asset on an exchange
name proper name for asset
supply available supply for trading

Request Type

  • Sensex_Info_Request_Type = 1
  • Touchline_Info_Request_Type = 2
  • Quotes_Request_Type = 3
  • Topgainers_Info_Request_Type = 4
  • Toplosers_Info_Request_Type = 5
  • Incremental_Touchline_Info_Request_Type = 6
  • Indices_Info_Request_Type = 7
  • Volumetoppers_Info_Request_Type = 8
  • Turnovertoppers_Info_Request_Type = 9
  • Lowpricehighvolume_Info_Request_Type = 10
  • Newlistings_Info_Request_Type = 11
  • Marketturnover_Info_Request_Type = 12
  • Newhighlow_Info_Request_Type = 13
  • Advancedeclines_Info_Request_Type = 14
  • Indexbasedtouchline_Info_Request_Type = 15
  • Indices_Newhighlow_Info_Request_Type = 16
  • Eod_Equity_Touchline_Info_Request_Type = 17
  • Announcements_Info_Request_Type = 18
  • Indexbasedtouchline_With_Previoushighlow_Info_Request_Type = 19
  • Bulk_Deal_Info_Request_Type = 20
  • Eod_Equity_Indices_Info_Request_Type = 21
  • Market_Movement_Info_Request_Type = 22
  • Market_Movement_Indices_Info_Request_Type = 23
  • Circuitlimit_Info_Request_Type = 24
  • Touchline_Ext_Info_Request_Type = 25
  • Preopen_Incremental_Touchline_Info_Request_Type = 26
  • Preopen_Indices_Info_Request_Type = 27
  • Forthcoming_Results_Request_Type = 28
  • Forthcoming_Corpaction_Request_Type = 29
  • Block_Deal_Info_Request_Type = 30
  • Delivery_Qty_Daily_Info_Request_Type = 31
  • Delivery_Qty_Weekly_Info_Request_Type = 32
  • Delivery_Qty_Monthly_Info_Request_Type = 33
  • Delivery_Qty_Quaterly_Info_Request_Type = 34
                                                      
                                                        //Create a URL Object
                                                        URL url = new URL("https://www.tickermarket.com/API/V1/Users/Login");
                                                        //Open a Connection
                                                        HttpURLConnection http = (HttpURLConnection)url.openConnection();
                                                        //Set a request Method
                                                        http.setRequestMethod("POST");
                                                        http.setDoOutput(true);
                                                        //Set the Request Content-Type Header Parameter
                                                        //Set the Response Format type
                                                        http.setRequestProperty("Accept", "application/json");
                                                        http.setRequestProperty("Content-Type", "application/json");
                                                        //Create the Request Body

                                                        String data = "{\n  \"username\": 11111,\n  \"password\": \"abc\"\n}\n";
                                                        byte[] out = data.getBytes(StandardCharsets.UTF_8);
                                                        //Read the Response Data
                                                        OutputStream stream = http.getOutputStream();
                                                        stream.write(out);
                                                        System.out.println(http.getResponseCode() + " " + http.getResponseMessage());
                                                        BufferedReader br=new BufferedReader(new InputStreamReader((http.getInputStream())));
                                                        StringBuilder sb= new StringBuilder();
                                                        String output;
                                                        While((output=br.readLine())!=null)
                                                        {
                                                          sb.append(output);
                                                        }
                                                         catch(Exception e) { System.out.println(“Exception e”+ e);
                                                        http.disconnect();
                                                      

                          var url = “www.tickermarket.com/API/V1/Users/Login”;
 var httpRequest= (HttpWebRequest) WebRequest.Create(url);
httpRequest.Method = “POST”;

httpRequest.Accept = “application/json”;
httpRequest.ContentType = “application/json”;

var logindata = @” {
  “”username”” : 1111,
  “”password”” : abc}”;
Var httpResponse = (HttpWebResponse) httpRequest.GetResponse();
Using ( var streamReader = new
StreamReader(httpResponse.GetResponseStream()))
{
    Var result= streamReader.ReadToEnd();
}
Console.WriteLine(httpResponse.StatusCode);

                        
                                                
                                                  //Create a URL Object
                                                  URL url = new URL("https://www.tickermarket.com/API/V1/Users/Login");
                                                  //Open a Connection
                                                  HttpURLConnection http = (HttpURLConnection)url.openConnection();
                                                  //Set a request Method
                                                  http.setRequestMethod("POST");
                                                  http.setDoOutput(true);
                                                  //Set the Request Content-Type Header Parameter
                                                  //Set the Response Format type
                                                  http.setRequestProperty("Accept", "application/json");
                                                  http.setRequestProperty("Content-Type", "application/json");
                                                  //Create the Request Body

                                                  String data = "{\n  \"username\": 11111,\n  \"password\": \"abc\"\n}\n";
                                                  byte[] out = data.getBytes(StandardCharsets.UTF_8);
                                                  //Read the Response Data
                                                  OutputStream stream = http.getOutputStream();
                                                  stream.write(out);
                                                  System.out.println(http.getResponseCode() + " " + http.getResponseMessage());
                                                  BufferedReader br=new BufferedReader(new InputStreamReader((http.getInputStream())));
                                                  StringBuilder sb= new StringBuilder();
                                                  String output;
                                                  While((output=br.readLine())!=null)
                                                  {
                                                    sb.append(output);
                                                  }
                                                   catch(Exception e) { System.out.println(“Exception e”+ e);
                                                  http.disconnect();