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

Change Log

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
                                                      
                                                        {
                                                          "data": [
                                                            {
                                                              "id": "bitcoin",
                                                              "rank": "1",
                                                              "symbol": "BTC",
                                                              "name": "Bitcoin",
                                                              "supply": "17193925.0000000000000000",
                                                              "maxSupply": "21000000.0000000000000000",
                                                              "marketCapUsd": "119150835874.4699281625807300",
                                                              "volumeUsd24Hr": "2927959461.1750323310959460",
                                                              "priceUsd": "6929.8217756835584756",
                                                              "changePercent24Hr": "-0.8101417214350335",
                                                              "vwap24Hr": "7175.0663247679233209"
                                                            },
                                                            {
                                                              "id": "ethereum",
                                                              "rank": "2",
                                                              "symbol": "ETH",
                                                              "name": "Ethereum",
                                                              "supply": "101160540.0000000000000000",
                                                              "maxSupply": null,
                                                              "marketCapUsd": "40967739219.6612727047843840",
                                                              "volumeUsd24Hr": "1026669440.6451482672850841",
                                                              "priceUsd": "404.9774667045200896",
                                                              "changePercent24Hr": "-0.0999626159535347",
                                                              "vwap24Hr": "415.3288028454417241"
                                                            },
                                                            {
                                                              "id": "ripple",
                                                              "rank": "3",
                                                              "symbol": "XRP",
                                                              "name": "XRP",
                                                              "supply": "39299874590.0000000000000000",
                                                              "maxSupply": "100000000000.0000000000000000",
                                                              "marketCapUsd": "16517228249.2902868380922380",
                                                              "volumeUsd24Hr": "149328134.5032677889393019",
                                                              "priceUsd": "0.4202870472643482",
                                                              "changePercent24Hr": "-1.9518258685302665",
                                                              "vwap24Hr": "0.4318239230821224"
                                                            },
                                                            {
                                                              "id": "bitcoin-cash",
                                                              "rank": "4",
                                                              "symbol": "BCH",
                                                              "name": "Bitcoin Cash",
                                                              "supply": "17278438.0000000000000000",
                                                              "maxSupply": "21000000.0000000000000000",
                                                              "marketCapUsd": "11902454455.1536127997298894",
                                                              "volumeUsd24Hr": "287075418.5202079328968427",
                                                              "priceUsd": "688.8617162705108413",
                                                              "changePercent24Hr": "-1.5016094894459434",
                                                              "vwap24Hr": "711.6276356693412774"
                                                            }
                                                          ],
                                                          "timestamp": 1533581088278
                                                        }


                                                      

                          Connection: keep-alive
                          Content-Encoding: gzip
                          Content-Type: application/json; charset=utf-8 
                          Date: Mon, 06 Aug 2018 18:44:48 GMT 
                          ETag: W/"7c43-Kis93RZINMxgTTQkQ1jLINrJXhU"
                          Transfer-Encoding: chunked 
                          Vary: Accept-Encoding
                          X-Powered-By: Express
                        
                                                
                                                  //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();