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-11-18
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-11-18
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-11-18
Response
{
"status": {
"code": 200,
"message": "Success."
},
"results": [
{
"symbol": "$BANK",
"name": "Nasdaq Bank Index",
"open": 4781.45,
"high": 4792.96,
"low": 4757.23,
"last": 4759.87,
"netChange": -13.14,
"percentChange": -0.28,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-11-18",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$BKX",
"name": "KBW Bank Index",
"open": 134.92,
"high": 135.22,
"low": 134.17,
"last": 134.69,
"netChange": -0.1,
"percentChange": -0.07,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-11-18",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$HGX",
"name": "PHLX Housing Index",
"open": 774.66,
"high": 780.67,
"low": 773.36,
"last": 776.41,
"netChange": -1.63,
"percentChange": -0.21,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-11-18",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$INDS",
"name": "Nasdaq Industrial Index",
"open": 11447.84,
"high": 11524.19,
"low": 11391.65,
"last": 11448.34,
"netChange": 119.46,
"percentChange": 1.05,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-11-18",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$INSR",
"name": "Nasdaq Insurance Index",
"open": 16041.19,
"high": 16165.71,
"low": 15996.68,
"last": 16108.24,
"netChange": 66.41,
"percentChange": 0.41,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-11-18",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$IUXX",
"name": "Nasdaq 100 Index",
"open": 20450.2,
"high": 20622.28,
"low": 20401.26,
"last": 20539.19,
"netChange": 145.06,
"percentChange": 0.71,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-11-18",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$IXCO",
"name": "Nasdaq Computer Index",
"open": 16974.34,
"high": 17137.02,
"low": 16919.03,
"last": 17077.12,
"netChange": 83.58,
"percentChange": 0.49,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-11-18",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$IXF",
"name": "Nasdaq Financial 100 Index",
"open": 6756.73,
"high": 6829.62,
"low": 6752.86,
"last": 6819.87,
"netChange": 67.44,
"percentChange": 1,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-11-18",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$IXHC",
"name": "Nasdaq Health Care Index",
"open": 984.87,
"high": 989.69,
"low": 979.89,
"last": 985.2,
"netChange": -0.84,
"percentChange": -0.09,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-11-18",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$IXTC",
"name": "Nasdaq Telecommunications Index",
"open": 486,
"high": 489.85,
"low": 484.72,
"last": 486.38,
"netChange": 1.1,
"percentChange": 0.23,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-11-18",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$KDX",
"name": "KBW Finsec Dividend Yield Index",
"open": 86.4,
"high": 87.12,
"low": 86.33,
"last": 86.91,
"netChange": 0.28,
"percentChange": 0.32,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-11-18",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$KIX",
"name": "KBW Insurance Index",
"open": 568.7,
"high": 571.46,
"low": 567.78,
"last": 571.03,
"netChange": 1.83,
"percentChange": 0.32,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-11-18",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$KPX",
"name": "KBW Property & Casualty Index",
"open": 1391.14,
"high": 1401.96,
"low": 1389.62,
"last": 1400.52,
"netChange": 5.4,
"percentChange": 0.39,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-11-18",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$KRX",
"name": "KBW Regional Banking Index",
"open": 130.6,
"high": 131.16,
"low": 130.12,
"last": 130.15,
"netChange": -0.33,
"percentChange": -0.25,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-11-18",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$KSX",
"name": "KBW Capital Markets Index",
"open": 802.32,
"high": 808.6,
"low": 801.58,
"last": 806.63,
"netChange": 4.13,
"percentChange": 0.51,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-11-18",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$KYX",
"name": "KBW Premium Yield Equity REIT Index",
"open": 50.41,
"high": 50.9,
"low": 50.34,
"last": 50.77,
"netChange": 0.08,
"percentChange": 0.16,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-11-18",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$NAST",
"name": "Nasdaq Transportation Index",
"open": 7512.5,
"high": 7534.21,
"low": 7457.5,
"last": 7460.35,
"netChange": -26.39,
"percentChange": -0.35,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-11-18",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$NASX",
"name": "Nasdaq Composite",
"open": 18717.93,
"high": 18865.28,
"low": 18672.3,
"last": 18791.81,
"netChange": 111.69,
"percentChange": 0.6,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-11-18",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$NBI",
"name": "Nasdaq Biotechnology Index",
"open": 4394.4,
"high": 4408,
"low": 4356.37,
"last": 4388.11,
"netChange": -13.13,
"percentChange": -0.3,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-11-18",
"exchange": "INDEX-NQ",
"settlement": ""
},
{
"symbol": "$NDXT",
"name": "Nasdaq 100 Technology Index",
"open": 10370.15,
"high": 10478.56,
"low": 10347.45,
"last": 10442.98,
"netChange": 108.5,
"percentChange": 1.05,
"volume": 0,
"tradeTime": "16:15",
"tradeDate": "2024-11-18",
"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-11-18
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-11-18
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>4781.45</open>
<high>4792.96</high>
<low>4757.23</low>
<last>4759.87</last>
<netChange>-13.14</netChange>
<percentChange>-0.28</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-11-18</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$BKX</symbol>
<name>KBW Bank Index</name>
<open>134.92</open>
<high>135.22</high>
<low>134.17</low>
<last>134.69</last>
<netChange>-0.1</netChange>
<percentChange>-0.07</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-11-18</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$HGX</symbol>
<name>PHLX Housing Index</name>
<open>774.66</open>
<high>780.67</high>
<low>773.36</low>
<last>776.41</last>
<netChange>-1.63</netChange>
<percentChange>-0.21</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-11-18</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$INDS</symbol>
<name>Nasdaq Industrial Index</name>
<open>11447.84</open>
<high>11524.19</high>
<low>11391.65</low>
<last>11448.34</last>
<netChange>119.46</netChange>
<percentChange>1.05</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-11-18</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$INSR</symbol>
<name>Nasdaq Insurance Index</name>
<open>16041.19</open>
<high>16165.71</high>
<low>15996.68</low>
<last>16108.24</last>
<netChange>66.41</netChange>
<percentChange>0.41</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-11-18</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$IUXX</symbol>
<name>Nasdaq 100 Index</name>
<open>20450.2</open>
<high>20622.28</high>
<low>20401.26</low>
<last>20539.19</last>
<netChange>145.06</netChange>
<percentChange>0.71</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-11-18</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$IXCO</symbol>
<name>Nasdaq Computer Index</name>
<open>16974.34</open>
<high>17137.02</high>
<low>16919.03</low>
<last>17077.12</last>
<netChange>83.58</netChange>
<percentChange>0.49</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-11-18</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$IXF</symbol>
<name>Nasdaq Financial 100 Index</name>
<open>6756.73</open>
<high>6829.62</high>
<low>6752.86</low>
<last>6819.87</last>
<netChange>67.44</netChange>
<percentChange>1</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-11-18</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$IXHC</symbol>
<name>Nasdaq Health Care Index</name>
<open>984.87</open>
<high>989.69</high>
<low>979.89</low>
<last>985.2</last>
<netChange>-0.84</netChange>
<percentChange>-0.09</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-11-18</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$IXTC</symbol>
<name>Nasdaq Telecommunications Index</name>
<open>486</open>
<high>489.85</high>
<low>484.72</low>
<last>486.38</last>
<netChange>1.1</netChange>
<percentChange>0.23</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-11-18</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$KDX</symbol>
<name>KBW Finsec Dividend Yield Index</name>
<open>86.4</open>
<high>87.12</high>
<low>86.33</low>
<last>86.91</last>
<netChange>0.28</netChange>
<percentChange>0.32</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-11-18</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$KIX</symbol>
<name>KBW Insurance Index</name>
<open>568.7</open>
<high>571.46</high>
<low>567.78</low>
<last>571.03</last>
<netChange>1.83</netChange>
<percentChange>0.32</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-11-18</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$KPX</symbol>
<name>KBW Property & Casualty Index</name>
<open>1391.14</open>
<high>1401.96</high>
<low>1389.62</low>
<last>1400.52</last>
<netChange>5.4</netChange>
<percentChange>0.39</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-11-18</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$KRX</symbol>
<name>KBW Regional Banking Index</name>
<open>130.6</open>
<high>131.16</high>
<low>130.12</low>
<last>130.15</last>
<netChange>-0.33</netChange>
<percentChange>-0.25</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-11-18</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$KSX</symbol>
<name>KBW Capital Markets Index</name>
<open>802.32</open>
<high>808.6</high>
<low>801.58</low>
<last>806.63</last>
<netChange>4.13</netChange>
<percentChange>0.51</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-11-18</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$KYX</symbol>
<name>KBW Premium Yield Equity REIT Index</name>
<open>50.41</open>
<high>50.9</high>
<low>50.34</low>
<last>50.77</last>
<netChange>0.08</netChange>
<percentChange>0.16</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-11-18</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$NAST</symbol>
<name>Nasdaq Transportation Index</name>
<open>7512.5</open>
<high>7534.21</high>
<low>7457.5</low>
<last>7460.35</last>
<netChange>-26.39</netChange>
<percentChange>-0.35</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-11-18</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$NASX</symbol>
<name>Nasdaq Composite</name>
<open>18717.93</open>
<high>18865.28</high>
<low>18672.3</low>
<last>18791.81</last>
<netChange>111.69</netChange>
<percentChange>0.6</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-11-18</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$NBI</symbol>
<name>Nasdaq Biotechnology Index</name>
<open>4394.4</open>
<high>4408</high>
<low>4356.37</low>
<last>4388.11</last>
<netChange>-13.13</netChange>
<percentChange>-0.3</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-11-18</tradeDate>
<exchange>INDEX-NQ</exchange>
<settlement/>
</item>
<item>
<symbol>$NDXT</symbol>
<name>Nasdaq 100 Technology Index</name>
<open>10370.15</open>
<high>10478.56</high>
<low>10347.45</low>
<last>10442.98</last>
<netChange>108.5</netChange>
<percentChange>1.05</percentChange>
<volume>0</volume>
<tradeTime>16:15</tradeTime>
<tradeDate>2024-11-18</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-11-18
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-11-18
Response
symbol,name,open,high,low,last,netChange,percentChange,volume,tradeTime,tradeDate,exchange,settlement
"$BANK","Nasdaq Bank Index","4781.45","4792.96","4757.23","4759.87","-13.14","-0.28","0","16:15","2024-11-18","INDEX-NQ",""
"$BKX","KBW Bank Index","134.92","135.22","134.17","134.69","-0.1","-0.07","0","16:15","2024-11-18","INDEX-NQ",""
"$HGX","PHLX Housing Index","774.66","780.67","773.36","776.41","-1.63","-0.21","0","16:15","2024-11-18","INDEX-NQ",""
"$INDS","Nasdaq Industrial Index","11447.84","11524.19","11391.65","11448.34","119.46","1.05","0","16:15","2024-11-18","INDEX-NQ",""
"$INSR","Nasdaq Insurance Index","16041.19","16165.71","15996.68","16108.24","66.41","0.41","0","16:15","2024-11-18","INDEX-NQ",""
"$IUXX","Nasdaq 100 Index","20450.2","20622.28","20401.26","20539.19","145.06","0.71","0","16:15","2024-11-18","INDEX-NQ",""
"$IXCO","Nasdaq Computer Index","16974.34","17137.02","16919.03","17077.12","83.58","0.49","0","16:15","2024-11-18","INDEX-NQ",""
"$IXF","Nasdaq Financial 100 Index","6756.73","6829.62","6752.86","6819.87","67.44","1","0","16:15","2024-11-18","INDEX-NQ",""
"$IXHC","Nasdaq Health Care Index","984.87","989.69","979.89","985.2","-0.84","-0.09","0","16:15","2024-11-18","INDEX-NQ",""
"$IXTC","Nasdaq Telecommunications Index","486","489.85","484.72","486.38","1.1","0.23","0","16:15","2024-11-18","INDEX-NQ",""
"$KDX","KBW Finsec Dividend Yield Index","86.4","87.12","86.33","86.91","0.28","0.32","0","16:15","2024-11-18","INDEX-NQ",""
"$KIX","KBW Insurance Index","568.7","571.46","567.78","571.03","1.83","0.32","0","16:15","2024-11-18","INDEX-NQ",""
"$KPX","KBW Property & Casualty Index","1391.14","1401.96","1389.62","1400.52","5.4","0.39","0","16:15","2024-11-18","INDEX-NQ",""
"$KRX","KBW Regional Banking Index","130.6","131.16","130.12","130.15","-0.33","-0.25","0","16:15","2024-11-18","INDEX-NQ",""
"$KSX","KBW Capital Markets Index","802.32","808.6","801.58","806.63","4.13","0.51","0","16:15","2024-11-18","INDEX-NQ",""
"$KYX","KBW Premium Yield Equity REIT Index","50.41","50.9","50.34","50.77","0.08","0.16","0","16:15","2024-11-18","INDEX-NQ",""
"$NAST","Nasdaq Transportation Index","7512.5","7534.21","7457.5","7460.35","-26.39","-0.35","0","16:15","2024-11-18","INDEX-NQ",""
"$NASX","Nasdaq Composite","18717.93","18865.28","18672.3","18791.81","111.69","0.6","0","16:15","2024-11-18","INDEX-NQ",""
"$NBI","Nasdaq Biotechnology Index","4394.4","4408","4356.37","4388.11","-13.13","-0.3","0","16:15","2024-11-18","INDEX-NQ",""
"$NDXT","Nasdaq 100 Technology Index","10370.15","10478.56","10347.45","10442.98","108.5","1.05","0","16:15","2024-11-18","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-11-18',
];
$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-11-18")
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-11-18');
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-11-18')
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-11-18',
}
)
response.body