Equities Data by Exchange API
getEquitiesByExchange
The getEquitiesByExchangeAPI provides all real-time or delayed equities market data by exchange through a single onDemand query. Equities data is available for the following exchanges: Aequitas, ASX, Cboe, CSE, Euronext, LSE Group, NASDAQ, ICE/NYSE, and TMX.
View All APIsContact Us to Get Access
Inputs
exchangerequired
A valid exchange code.
Type
enum (A type which includes a list of valid possible values.)
Example
INDEX-NQ
Valid Values
INDEX, INDEX-NY, INDEX-NQ, SPECIAL, INDEX-DOW, INDEX-CBOE, INDEX-SP, INDEX-RL, INDEX-TSX, NYSE, BATS, OTHER OTC, NASDAQ, AMEX, OTC-BB, LSE, TSX, TSX-V, ASX, CNSX, NEO, EURNXT_EQ_BE, EURNXT_EQ_FR, EURNXT_EQ_NL, EURNXT_EQ_PT
fieldsoptional
The fields requested.
Type
list (A comma or semi-colon delimited string.)
Example
settlement
fileDateoptional
The specific date for which data should be returned. The requested date cannot be more than 30 days back.
Type
date (A date in the format of YYYY-MM-DD.)
Example
2024-12-16
Outputs
symbol
always returned
always returned
The instrument symbol.
string
A sequence of characters. (example: GOOG)
A sequence of characters. (example: GOOG)
name
always returned
always returned
The name of the instrument.
string
A sequence of characters. (example: GOOG)
A sequence of characters. (example: GOOG)
open
always returned
always returned
The open price for the instrument.
double
A numeric type defining a number with fractional parts. (example: 2.14)
A numeric type defining a number with fractional parts. (example: 2.14)
high
always returned
always returned
The high price for the day.
double
A numeric type defining a number with fractional parts. (example: 2.14)
A numeric type defining a number with fractional parts. (example: 2.14)
low
always returned
always returned
The low price for the day.
double
A numeric type defining a number with fractional parts. (example: 2.14)
A numeric type defining a number with fractional parts. (example: 2.14)
last
always returned
always returned
The last/close price for the instrument.
double
A numeric type defining a number with fractional parts. (example: 2.14)
A numeric type defining a number with fractional parts. (example: 2.14)
netChange
always returned
always returned
The difference between the last traded price and the previous close.
double
A numeric type defining a number with fractional parts. (example: 2.14)
A numeric type defining a number with fractional parts. (example: 2.14)
percentChange
always returned
always returned
The percent difference between the last traded price and the previous close.
double
A numeric type defining a number with fractional parts. (example: 2.14)
A numeric type defining a number with fractional parts. (example: 2.14)
volume
always returned
always returned
The volume of the instrument.
int
A numeric type defining a whole number. (example: 2)
A numeric type defining a whole number. (example: 2)
tradeTime
always returned
always returned
The trade time of the last trade for the instrument.
time
A time in the format of HH:MI:SS<TIMEZONE_OFFSET>.
A time in the format of HH:MI:SS<TIMEZONE_OFFSET>.
tradeDate
always returned
always returned
The trade date of the last trade for the instrument.
date
A date in the format of YYYY-MM-DD.
A date in the format of YYYY-MM-DD.
exchange
always returned
always returned
The exchange code on which the instrument trades.
string
A sequence of characters. (example: GOOG)
A sequence of characters. (example: GOOG)
settlement
as requested
as requested
Flag to indicate if the prices are settled.
string
A sequence of characters. (example: GOOG)
A sequence of characters. (example: GOOG)
previousClose
as requested
as requested
Previous day's closing price.
double
A numeric type defining a number with fractional parts. (example: 2.14)
A numeric type defining a number with fractional parts. (example: 2.14)
Status Code Responses
200
OK
Success
400
Bad Request
The request was invalid, please see the message for more information.
500
Internal Server Error
Something is not working correctly, please contact support.
JSON
GET
GET https://ondemand.websol.barchart.com/getEquitiesByExchange.json?apikey=YOUR_API_KEY&exchange=INDEX-NQ&fields=settlement&fileDate=2024-12-16
Host: ondemand.websol.barchart.com
POST
POST https://ondemand.websol.barchart.com/getEquitiesByExchange.json
Host: ondemand.websol.barchart.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length
apikey=YOUR_API_KEY&exchange=INDEX-NQ&fields=settlement&fileDate=2024-12-16
Response
{
"status": {
"code": 200,
"message": "Success."
},
"results": [
{
"symbol": "$BANK",
"name": "Nasdaq Bank Index",
"open": 4706.53,
"high": 4734.68,
"low": 4693.1,
"last": 4733.44,
"netChange": 28.29,
"percentChange": 0.6,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-12-16",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$BKX",
"name": "KBW Bank Index",
"open": 131.86,
"high": 132.46,
"low": 131.15,
"last": 132.28,
"netChange": 0.53,
"percentChange": 0.4,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-12-16",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$HGX",
"name": "PHLX Housing Index",
"open": 748.85,
"high": 754.63,
"low": 741.97,
"last": 743.09,
"netChange": -5.49,
"percentChange": -0.73,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-12-16",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$INDS",
"name": "Nasdaq Industrial Index",
"open": 12541.39,
"high": 12676.98,
"low": 12513.36,
"last": 12666.77,
"netChange": 181.63,
"percentChange": 1.45,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-12-16",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$INSR",
"name": "Nasdaq Insurance Index",
"open": 16013.33,
"high": 16076.01,
"low": 15948.37,
"last": 15965.01,
"netChange": -23.07,
"percentChange": -0.14,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-12-16",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$IUXX",
"name": "Nasdaq 100 Index",
"open": 21891.36,
"high": 22133.22,
"low": 21879.74,
"last": 22096.66,
"netChange": 316.41,
"percentChange": 1.45,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-12-16",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$IXCO",
"name": "Nasdaq Computer Index",
"open": 18210.51,
"high": 18406.91,
"low": 18154.48,
"last": 18367.04,
"netChange": 254.82,
"percentChange": 1.41,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-12-16",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$IXF",
"name": "Nasdaq Financial 100 Index",
"open": 6841.42,
"high": 6879.2,
"low": 6821.04,
"last": 6851.71,
"netChange": 37.11,
"percentChange": 0.54,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-12-16",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$IXHC",
"name": "Nasdaq Health Care Index",
"open": 997.47,
"high": 1010.76,
"low": 997.15,
"last": 1001.54,
"netChange": 4.14,
"percentChange": 0.42,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-12-16",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$IXTC",
"name": "Nasdaq Telecommunications Index",
"open": 480.31,
"high": 481.05,
"low": 475.88,
"last": 476.73,
"netChange": -4.58,
"percentChange": -0.95,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-12-16",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$KDX",
"name": "KBW Finsec Dividend Yield Index",
"open": 87.16,
"high": 87.21,
"low": 86.62,
"last": 86.65,
"netChange": -0.92,
"percentChange": -1.05,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-12-16",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$KIX",
"name": "KBW Insurance Index",
"open": 553.45,
"high": 554.27,
"low": 550.23,
"last": 550.84,
"netChange": -2.17,
"percentChange": -0.39,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-12-16",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$KPX",
"name": "KBW Property & Casualty Index",
"open": 1373.55,
"high": 1376.03,
"low": 1363.3,
"last": 1364.92,
"netChange": -6.49,
"percentChange": -0.47,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-12-16",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$KRX",
"name": "KBW Regional Banking Index",
"open": 128.48,
"high": 129.23,
"low": 127.54,
"last": 129.2,
"netChange": 0.79,
"percentChange": 0.62,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-12-16",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$KSX",
"name": "KBW Capital Markets Index",
"open": 810.89,
"high": 812.54,
"low": 807.77,
"last": 810.34,
"netChange": 0.74,
"percentChange": 0.09,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-12-16",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$KYX",
"name": "KBW Premium Yield Equity REIT Index",
"open": 50.25,
"high": 50.56,
"low": 50.09,
"last": 50.18,
"netChange": -0.23,
"percentChange": -0.46,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-12-16",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$NAST",
"name": "Nasdaq Transportation Index",
"open": 7310.71,
"high": 7328.52,
"low": 7260.43,
"last": 7281.63,
"netChange": -46.37,
"percentChange": -0.63,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-12-16",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$NASX",
"name": "Nasdaq Composite",
"open": 20016.12,
"high": 20204.58,
"low": 19988.12,
"last": 20173.89,
"netChange": 247.17,
"percentChange": 1.24,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-12-16",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$NBI",
"name": "Nasdaq Biotechnology Index",
"open": 4448.67,
"high": 4522.04,
"low": 4448.49,
"last": 4480.43,
"netChange": 34.6,
"percentChange": 0.78,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-12-16",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$NDXT",
"name": "Nasdaq 100 Technology Index",
"open": 10888.48,
"high": 11046.67,
"low": 10848.25,
"last": 11019.47,
"netChange": 123.74,
"percentChange": 1.14,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-12-16",
"exchange": "INDEX-NQ",
"settlement": ""
}
]
}
XML
GET
GET https://ondemand.websol.barchart.com/getEquitiesByExchange.xml?apikey=YOUR_API_KEY&exchange=INDEX-NQ&fields=settlement&fileDate=2024-12-16
Host: ondemand.websol.barchart.com
POST
POST https://ondemand.websol.barchart.com/getEquitiesByExchange.xml
Host: ondemand.websol.barchart.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length
apikey=YOUR_API_KEY&exchange=INDEX-NQ&fields=settlement&fileDate=2024-12-16
Response
<?xml version="1.0" encoding="utf-8"?>
<getEquitiesByExchange>
<status>
<code>200</code>
<message>Success.</message>
</status>
<item>
<symbol>$BANK</symbol>
<name>Nasdaq Bank Index</name>
<open>4706.53</open>
<high>4734.68</high>
<low>4693.1</low>
<last>4733.44</last>
<netChange>28.29</netChange>
<percentChange>0.6</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-12-16</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$BKX</symbol>
<name>KBW Bank Index</name>
<open>131.86</open>
<high>132.46</high>
<low>131.15</low>
<last>132.28</last>
<netChange>0.53</netChange>
<percentChange>0.4</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-12-16</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$HGX</symbol>
<name>PHLX Housing Index</name>
<open>748.85</open>
<high>754.63</high>
<low>741.97</low>
<last>743.09</last>
<netChange>-5.49</netChange>
<percentChange>-0.73</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-12-16</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$INDS</symbol>
<name>Nasdaq Industrial Index</name>
<open>12541.39</open>
<high>12676.98</high>
<low>12513.36</low>
<last>12666.77</last>
<netChange>181.63</netChange>
<percentChange>1.45</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-12-16</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$INSR</symbol>
<name>Nasdaq Insurance Index</name>
<open>16013.33</open>
<high>16076.01</high>
<low>15948.37</low>
<last>15965.01</last>
<netChange>-23.07</netChange>
<percentChange>-0.14</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-12-16</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$IUXX</symbol>
<name>Nasdaq 100 Index</name>
<open>21891.36</open>
<high>22133.22</high>
<low>21879.74</low>
<last>22096.66</last>
<netChange>316.41</netChange>
<percentChange>1.45</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-12-16</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$IXCO</symbol>
<name>Nasdaq Computer Index</name>
<open>18210.51</open>
<high>18406.91</high>
<low>18154.48</low>
<last>18367.04</last>
<netChange>254.82</netChange>
<percentChange>1.41</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-12-16</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$IXF</symbol>
<name>Nasdaq Financial 100 Index</name>
<open>6841.42</open>
<high>6879.2</high>
<low>6821.04</low>
<last>6851.71</last>
<netChange>37.11</netChange>
<percentChange>0.54</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-12-16</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$IXHC</symbol>
<name>Nasdaq Health Care Index</name>
<open>997.47</open>
<high>1010.76</high>
<low>997.15</low>
<last>1001.54</last>
<netChange>4.14</netChange>
<percentChange>0.42</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-12-16</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$IXTC</symbol>
<name>Nasdaq Telecommunications Index</name>
<open>480.31</open>
<high>481.05</high>
<low>475.88</low>
<last>476.73</last>
<netChange>-4.58</netChange>
<percentChange>-0.95</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-12-16</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$KDX</symbol>
<name>KBW Finsec Dividend Yield Index</name>
<open>87.16</open>
<high>87.21</high>
<low>86.62</low>
<last>86.65</last>
<netChange>-0.92</netChange>
<percentChange>-1.05</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-12-16</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$KIX</symbol>
<name>KBW Insurance Index</name>
<open>553.45</open>
<high>554.27</high>
<low>550.23</low>
<last>550.84</last>
<netChange>-2.17</netChange>
<percentChange>-0.39</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-12-16</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$KPX</symbol>
<name>KBW Property & Casualty Index</name>
<open>1373.55</open>
<high>1376.03</high>
<low>1363.3</low>
<last>1364.92</last>
<netChange>-6.49</netChange>
<percentChange>-0.47</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-12-16</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$KRX</symbol>
<name>KBW Regional Banking Index</name>
<open>128.48</open>
<high>129.23</high>
<low>127.54</low>
<last>129.2</last>
<netChange>0.79</netChange>
<percentChange>0.62</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-12-16</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$KSX</symbol>
<name>KBW Capital Markets Index</name>
<open>810.89</open>
<high>812.54</high>
<low>807.77</low>
<last>810.34</last>
<netChange>0.74</netChange>
<percentChange>0.09</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-12-16</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$KYX</symbol>
<name>KBW Premium Yield Equity REIT Index</name>
<open>50.25</open>
<high>50.56</high>
<low>50.09</low>
<last>50.18</last>
<netChange>-0.23</netChange>
<percentChange>-0.46</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-12-16</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$NAST</symbol>
<name>Nasdaq Transportation Index</name>
<open>7310.71</open>
<high>7328.52</high>
<low>7260.43</low>
<last>7281.63</last>
<netChange>-46.37</netChange>
<percentChange>-0.63</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-12-16</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$NASX</symbol>
<name>Nasdaq Composite</name>
<open>20016.12</open>
<high>20204.58</high>
<low>19988.12</low>
<last>20173.89</last>
<netChange>247.17</netChange>
<percentChange>1.24</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-12-16</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$NBI</symbol>
<name>Nasdaq Biotechnology Index</name>
<open>4448.67</open>
<high>4522.04</high>
<low>4448.49</low>
<last>4480.43</last>
<netChange>34.6</netChange>
<percentChange>0.78</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-12-16</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$NDXT</symbol>
<name>Nasdaq 100 Technology Index</name>
<open>10888.48</open>
<high>11046.67</high>
<low>10848.25</low>
<last>11019.47</last>
<netChange>123.74</netChange>
<percentChange>1.14</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-12-16</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
</getEquitiesByExchange>
CSV
GET
GET https://ondemand.websol.barchart.com/getEquitiesByExchange.csv?apikey=YOUR_API_KEY&exchange=INDEX-NQ&fields=settlement&fileDate=2024-12-16
Host: ondemand.websol.barchart.com
POST
POST https://ondemand.websol.barchart.com/getEquitiesByExchange.csv
Host: ondemand.websol.barchart.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length
apikey=YOUR_API_KEY&exchange=INDEX-NQ&fields=settlement&fileDate=2024-12-16
Response
symbol,name,open,high,low,last,netChange,percentChange,volume,tradeTime,tradeDate,exchange,settlement
"$BANK","Nasdaq Bank Index","4706.53","4734.68","4693.1","4733.44","28.29","0.6","0","16:15","2024-12-16","INDEX-NQ",""
"$BKX","KBW Bank Index","131.86","132.46","131.15","132.28","0.53","0.4","0","16:15","2024-12-16","INDEX-NQ",""
"$HGX","PHLX Housing Index","748.85","754.63","741.97","743.09","-5.49","-0.73","0","16:15","2024-12-16","INDEX-NQ",""
"$INDS","Nasdaq Industrial Index","12541.39","12676.98","12513.36","12666.77","181.63","1.45","0","16:15","2024-12-16","INDEX-NQ",""
"$INSR","Nasdaq Insurance Index","16013.33","16076.01","15948.37","15965.01","-23.07","-0.14","0","16:15","2024-12-16","INDEX-NQ",""
"$IUXX","Nasdaq 100 Index","21891.36","22133.22","21879.74","22096.66","316.41","1.45","0","16:15","2024-12-16","INDEX-NQ",""
"$IXCO","Nasdaq Computer Index","18210.51","18406.91","18154.48","18367.04","254.82","1.41","0","16:15","2024-12-16","INDEX-NQ",""
"$IXF","Nasdaq Financial 100 Index","6841.42","6879.2","6821.04","6851.71","37.11","0.54","0","16:15","2024-12-16","INDEX-NQ",""
"$IXHC","Nasdaq Health Care Index","997.47","1010.76","997.15","1001.54","4.14","0.42","0","16:15","2024-12-16","INDEX-NQ",""
"$IXTC","Nasdaq Telecommunications Index","480.31","481.05","475.88","476.73","-4.58","-0.95","0","16:15","2024-12-16","INDEX-NQ",""
"$KDX","KBW Finsec Dividend Yield Index","87.16","87.21","86.62","86.65","-0.92","-1.05","0","16:15","2024-12-16","INDEX-NQ",""
"$KIX","KBW Insurance Index","553.45","554.27","550.23","550.84","-2.17","-0.39","0","16:15","2024-12-16","INDEX-NQ",""
"$KPX","KBW Property & Casualty Index","1373.55","1376.03","1363.3","1364.92","-6.49","-0.47","0","16:15","2024-12-16","INDEX-NQ",""
"$KRX","KBW Regional Banking Index","128.48","129.23","127.54","129.2","0.79","0.62","0","16:15","2024-12-16","INDEX-NQ",""
"$KSX","KBW Capital Markets Index","810.89","812.54","807.77","810.34","0.74","0.09","0","16:15","2024-12-16","INDEX-NQ",""
"$KYX","KBW Premium Yield Equity REIT Index","50.25","50.56","50.09","50.18","-0.23","-0.46","0","16:15","2024-12-16","INDEX-NQ",""
"$NAST","Nasdaq Transportation Index","7310.71","7328.52","7260.43","7281.63","-46.37","-0.63","0","16:15","2024-12-16","INDEX-NQ",""
"$NASX","Nasdaq Composite","20016.12","20204.58","19988.12","20173.89","247.17","1.24","0","16:15","2024-12-16","INDEX-NQ",""
"$NBI","Nasdaq Biotechnology Index","4448.67","4522.04","4448.49","4480.43","34.6","0.78","0","16:15","2024-12-16","INDEX-NQ",""
"$NDXT","Nasdaq 100 Technology Index","10888.48","11046.67","10848.25","11019.47","123.74","1.14","0","16:15","2024-12-16","INDEX-NQ",""
PHP
<?php
$ondemand = new SoapClient('https://ondemand.websol.barchart.com/service?wsdl');
$params = [
'apikey' => 'YOUR_API_KEY',
'exchange' => 'INDEX-NQ',
'fields' => 'settlement',
'fileDate' => '2024-12-16',
];
$result = $ondemand->getEquitiesByExchange($params);
var_dump($result);
Classic ASP
Dim ondemand
Dim result
Set ondemand = Server.CreateObject("MSSOAP.SoapClient30")
ondemand.ClientProperty("ServerHTTPRequest") = True
ondemand.MSSoapInit("https://ondemand.websol.barchart.com/service?wsdl")
Set result = ondemand.getEquitiesByExchange("YOUR_API_KEY", "INDEX-NQ", "settlement", "2024-12-16")
Perl
use SOAP::Lite;
use SOAP::WSDL;
my $ondemand = SOAP::Lite
-> service('https://ondemand.websol.barchart.com/service?wsdl');
my $result = $ondemand->getEquitiesByExchange('YOUR_API_KEY', 'INDEX-NQ', 'settlement', '2024-12-16');
print $result;
Python
from suds.client import Client
ondemand = Client('https://ondemand.websol.barchart.com/service?wsdl')
result = ondemand.service.getEquitiesByExchange('YOUR_API_KEY', 'INDEX-NQ', 'settlement', '2024-12-16')
print(result)
Ruby
require 'savon'
ondemand = Savon.client(wsdl: 'https://ondemand.websol.barchart.com/service?wsdl')
response = ondemand.call(
:getEquitiesByExchange,
message: {
apikey: 'YOUR_API_KEY',
exchange: 'INDEX-NQ',
fields: 'settlement',
fileDate: '2024-12-16',
}
)
response.body