getIndiceComponents API

All APIs

Contact Us to Get Access

Inputs

symbol required

A valid indice symbol.

Type
string (A sequence of characters. (example: GOOG)) 
Example
$SPX 

limit optional

The number of instruments to be returned in request. The maximum is 100.

Type
integer (A numeric type defining a whole number. (example: 2)) 
Example
50 
Default
50 

page optional

The page number, used for pagination and offset.

Type
integer (A numeric type defining a whole number. (example: 2)) 
Example
Default

Outputs

Name / Requirement
Description
Type
symbol
always returned
The instrument symbol.
string
A sequence of characters. (example: GOOG)
name
always returned
The name of the instrument.
string
A sequence of characters. (example: GOOG)
lastPrice
always returned
The last trading price.
double
A numeric type defining a number with fractional parts. (example: 2.14)
netChange
always returned
Price change for the instrument.
double
A numeric type defining a number with fractional parts. (example: 2.14)
percentChange
always returned
Percent change for the instrument.
double
A numeric type defining a number with fractional parts. (example: 2.14)
percentChangeYTD
always returned
Percent change Year to date.
double
A numeric type defining a number with fractional parts. (example: 2.14)
yearToDateHigh
always returned
The highest trade price year to date.
double
A numeric type defining a number with fractional parts. (example: 2.14)
yearToDateLow
always returned
The lowest trade price year to date.
double
A numeric type defining a number with fractional parts. (example: 2.14)
tradeTimestamp
always returned
Last update time of quote price.
dateTime
A date and time in the format of YYYY-MM-DD HH:MI:SS<TIMEZONE_OFFSET>.

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/getIndiceComponents.json?apikey=YOUR_API_KEY&symbol=%24SPX&limit=50&page=1
Host: ondemand.websol.barchart.com

POST

POST https://ondemand.websol.barchart.com/getIndiceComponents.json
Host: ondemand.websol.barchart.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

apikey=YOUR_API_KEY&symbol=%24SPX&limit=50&page=1

Response

{
    "status": {
        "code": 200,
        "message": "Success."
    },
    "results": [
        {
            "symbol": "A",
            "name": "Agilent Technologies",
            "lastPrice": 62.72,
            "netChange": -0.66,
            "percentChange": -1.04,
            "percentChangeYTD": -6.35,
            "yearToDateHigh": 75,
            "yearToDateLow": 60.42,
            "tradeTimestamp": "2018-07-16T18:42:00-05:00"
        },
        {
            "symbol": "AAL",
            "name": "American Airlines Gp",
            "lastPrice": 37.28,
            "netChange": 0.16,
            "percentChange": 0.43,
            "percentChangeYTD": -28.35,
            "yearToDateHigh": 59.08,
            "yearToDateLow": 35.64,
            "tradeTimestamp": "2018-07-16T18:55:00-05:00"
        },
        {
            "symbol": "AAP",
            "name": "Advance Auto Parts Inc",
            "lastPrice": 139.67,
            "netChange": 0.33,
            "percentChange": 0.24,
            "percentChangeYTD": 40.1,
            "yearToDateHigh": 143.42,
            "yearToDateLow": 99.71,
            "tradeTimestamp": "2018-07-16T18:42:00-05:00"
        },
        {
            "symbol": "AAPL",
            "name": "Apple Inc",
            "lastPrice": 190.91,
            "netChange": -0.42,
            "percentChange": -0.22,
            "percentChangeYTD": 12.81,
            "yearToDateHigh": 194.2,
            "yearToDateLow": 150.24,
            "tradeTimestamp": "2018-07-16T18:55:00-05:00"
        },
        {
            "symbol": "ABBV",
            "name": "Abbvie Inc",
            "lastPrice": 96.25,
            "netChange": -0.38,
            "percentChange": -0.39,
            "percentChangeYTD": -0.48,
            "yearToDateHigh": 125.86,
            "yearToDateLow": 88.22,
            "tradeTimestamp": "2018-07-16T18:45:00-05:00"
        },
        {
            "symbol": "ABC",
            "name": "Amerisourcebergen Corp",
            "lastPrice": 86.9,
            "netChange": -1.01,
            "percentChange": -1.15,
            "percentChangeYTD": -5.36,
            "yearToDateHigh": 106.27,
            "yearToDateLow": 81.58,
            "tradeTimestamp": "2018-07-16T18:42:00-05:00"
        },
        {
            "symbol": "ABMD",
            "name": "Abiomed Inc",
            "lastPrice": 419.38,
            "netChange": 0.62,
            "percentChange": 0.15,
            "percentChangeYTD": 123.78,
            "yearToDateHigh": 450.93,
            "yearToDateLow": 188.05,
            "tradeTimestamp": "2018-07-16T18:56:00-05:00"
        },
        {
            "symbol": "ABT",
            "name": "Abbott Laboratories",
            "lastPrice": 61.78,
            "netChange": -1.28,
            "percentChange": -2.03,
            "percentChangeYTD": 8.25,
            "yearToDateHigh": 64.6,
            "yearToDateLow": 55.58,
            "tradeTimestamp": "2018-07-16T18:42:00-05:00"
        },
        {
            "symbol": "ACN",
            "name": "Accenture Plc",
            "lastPrice": 167.64,
            "netChange": -0.45,
            "percentChange": -0.27,
            "percentChangeYTD": 9.5,
            "yearToDateHigh": 168.5,
            "yearToDateLow": 146.05,
            "tradeTimestamp": "2018-07-16T18:42:00-05:00"
        },
        {
            "symbol": "ADBE",
            "name": "Adobe Systems Inc",
            "lastPrice": 254.68,
            "netChange": -3.91,
            "percentChange": -1.51,
            "percentChangeYTD": 45.33,
            "yearToDateHigh": 259.51,
            "yearToDateLow": 175.26,
            "tradeTimestamp": "2018-07-16T18:55:00-05:00"
        },
        {
            "symbol": "ADI",
            "name": "Analog Devices",
            "lastPrice": 97.64,
            "netChange": -0.48,
            "percentChange": -0.49,
            "percentChangeYTD": 9.67,
            "yearToDateHigh": 103.59,
            "yearToDateLow": 80.95,
            "tradeTimestamp": "2018-07-16T18:55:00-05:00"
        },
        {
            "symbol": "ADM",
            "name": "Archer Daniels Midland Company",
            "lastPrice": 47.17,
            "netChange": -0.4,
            "percentChange": -0.84,
            "percentChangeYTD": 17.69,
            "yearToDateHigh": 48.26,
            "yearToDateLow": 39.28,
            "tradeTimestamp": "2018-07-16T18:42:00-05:00"
        },
        {
            "symbol": "ADP",
            "name": "Automatic Data Procs",
            "lastPrice": 137.12,
            "netChange": -0.22,
            "percentChange": -0.16,
            "percentChangeYTD": 17.01,
            "yearToDateHigh": 141.52,
            "yearToDateLow": 107.61,
            "tradeTimestamp": "2018-07-16T17:35:00-05:00"
        },
        {
            "symbol": "ADS",
            "name": "Alliance Data Systems Corp",
            "lastPrice": 218.97,
            "netChange": -24.53,
            "percentChange": -10.07,
            "percentChangeYTD": -13.61,
            "yearToDateHigh": 278.33,
            "yearToDateLow": 192.02,
            "tradeTimestamp": "2018-07-16T18:42:00-05:00"
        },
        {
            "symbol": "ADSK",
            "name": "Autodesk Inc",
            "lastPrice": 136.24,
            "netChange": -0.97,
            "percentChange": -0.71,
            "percentChangeYTD": 29.96,
            "yearToDateHigh": 142.94,
            "yearToDateLow": 101.55,
            "tradeTimestamp": "2018-07-16T18:55:00-05:00"
        },
        {
            "symbol": "AEE",
            "name": "Ameren Corp",
            "lastPrice": 61.34,
            "netChange": -0.05,
            "percentChange": -0.08,
            "percentChangeYTD": 3.98,
            "yearToDateHigh": 62.15,
            "yearToDateLow": 51.89,
            "tradeTimestamp": "2018-07-16T18:42:00-05:00"
        },
        {
            "symbol": "AEP",
            "name": "American Electric Power Company",
            "lastPrice": 70.42,
            "netChange": 0.07,
            "percentChange": 0.1,
            "percentChangeYTD": -4.28,
            "yearToDateHigh": 73.42,
            "yearToDateLow": 62.71,
            "tradeTimestamp": "2018-07-16T18:42:00-05:00"
        },
        {
            "symbol": "AES",
            "name": "The Aes Corp",
            "lastPrice": 13.13,
            "netChange": -0.05,
            "percentChange": -0.38,
            "percentChangeYTD": 21.24,
            "yearToDateHigh": 13.56,
            "yearToDateLow": 9.86,
            "tradeTimestamp": "2018-07-16T18:42:00-05:00"
        },
        {
            "symbol": "AET",
            "name": "Aetna Inc",
            "lastPrice": 191.45,
            "netChange": -0.44,
            "percentChange": -0.23,
            "percentChangeYTD": 6.13,
            "yearToDateHigh": 194.4,
            "yearToDateLow": 166.88,
            "tradeTimestamp": "2018-07-16T18:42:00-05:00"
        },
        {
            "symbol": "AFL",
            "name": "Aflac Incorporated",
            "lastPrice": 42.78,
            "netChange": 0.18,
            "percentChange": 0.42,
            "percentChangeYTD": -2.53,
            "yearToDateHigh": 46.19,
            "yearToDateLow": 41.41,
            "tradeTimestamp": "2018-07-16T18:40:00-05:00"
        },
        {
            "symbol": "AGN",
            "name": "Allergan Plc",
            "lastPrice": 175.66,
            "netChange": -1.49,
            "percentChange": -0.84,
            "percentChangeYTD": 7.38,
            "yearToDateHigh": 193.33,
            "yearToDateLow": 142.81,
            "tradeTimestamp": "2018-07-16T18:45:00-05:00"
        },
        {
            "symbol": "AIG",
            "name": "American International Group",
            "lastPrice": 54.77,
            "netChange": 0.53,
            "percentChange": 0.98,
            "percentChangeYTD": -8.07,
            "yearToDateHigh": 65.05,
            "yearToDateLow": 49.57,
            "tradeTimestamp": "2018-07-16T18:42:00-05:00"
        },
        {
            "symbol": "AIV",
            "name": "Apartment Investment and Management",
            "lastPrice": 42.48,
            "netChange": -0.18,
            "percentChange": -0.42,
            "percentChangeYTD": -2.81,
            "yearToDateHigh": 43.82,
            "yearToDateLow": 37.97,
            "tradeTimestamp": "2018-07-16T18:42:00-05:00"
        },
        {
            "symbol": "AIZ",
            "name": "Assurant Inc",
            "lastPrice": 107.98,
            "netChange": -0.04,
            "percentChange": -0.04,
            "percentChangeYTD": 7.08,
            "yearToDateHigh": 109.01,
            "yearToDateLow": 84.34,
            "tradeTimestamp": "2018-07-16T18:42:00-05:00"
        },
        {
            "symbol": "AJG",
            "name": "Arthur J. Gallagher & Co",
            "lastPrice": 69.46,
            "netChange": 0.6,
            "percentChange": 0.87,
            "percentChangeYTD": 9.77,
            "yearToDateHigh": 72.77,
            "yearToDateLow": 62.04,
            "tradeTimestamp": "2018-07-16T18:42:00-05:00"
        },
        {
            "symbol": "AKAM",
            "name": "Akamai Technologies",
            "lastPrice": 77.68,
            "netChange": 0.36,
            "percentChange": 0.47,
            "percentChangeYTD": 19.43,
            "yearToDateHigh": 83.08,
            "yearToDateLow": 61,
            "tradeTimestamp": "2018-07-16T18:48:00-05:00"
        },
        {
            "symbol": "ALB",
            "name": "Albemarle Corp",
            "lastPrice": 94.96,
            "netChange": -0.61,
            "percentChange": -0.64,
            "percentChangeYTD": -25.75,
            "yearToDateHigh": 138.67,
            "yearToDateLow": 86.75,
            "tradeTimestamp": "2018-07-16T18:42:00-05:00"
        },
        {
            "symbol": "ALGN",
            "name": "Align Technology I",
            "lastPrice": 362.28,
            "netChange": -1.17,
            "percentChange": -0.32,
            "percentChangeYTD": 63.05,
            "yearToDateHigh": 371.55,
            "yearToDateLow": 219.11,
            "tradeTimestamp": "2018-07-16T18:59:00-05:00"
        },
        {
            "symbol": "ALK",
            "name": "Alaska Air Group",
            "lastPrice": 61.41,
            "netChange": -0.02,
            "percentChange": -0.03,
            "percentChangeYTD": -16.46,
            "yearToDateHigh": 75.46,
            "yearToDateLow": 57.53,
            "tradeTimestamp": "2018-07-16T18:42:00-05:00"
        },
        {
            "symbol": "ALL",
            "name": "Allstate Corp",
            "lastPrice": 93.46,
            "netChange": 0.63,
            "percentChange": 0.68,
            "percentChangeYTD": -10.74,
            "yearToDateHigh": 104.52,
            "yearToDateLow": 88.29,
            "tradeTimestamp": "2018-07-16T18:42:00-05:00"
        },
        {
            "symbol": "ALLE",
            "name": "Allegion Plc Ordinary Shares Wh",
            "lastPrice": 79.24,
            "netChange": -0.47,
            "percentChange": -0.59,
            "percentChangeYTD": -0.4,
            "yearToDateHigh": 88.41,
            "yearToDateLow": 73.85,
            "tradeTimestamp": "2018-07-16T18:42:00-05:00"
        },
        {
            "symbol": "ALXN",
            "name": "Alexion Pharm Inc",
            "lastPrice": 134.58,
            "netChange": -1.29,
            "percentChange": -0.95,
            "percentChangeYTD": 12.53,
            "yearToDateHigh": 137.88,
            "yearToDateLow": 102.1,
            "tradeTimestamp": "2018-07-16T18:07:00-05:00"
        },
        {
            "symbol": "AMAT",
            "name": "Applied Materials",
            "lastPrice": 46.31,
            "netChange": 0.18,
            "percentChange": 0.39,
            "percentChangeYTD": -9.41,
            "yearToDateHigh": 62.4,
            "yearToDateLow": 44.57,
            "tradeTimestamp": "2018-07-16T18:55:00-05:00"
        },
        {
            "symbol": "AMD",
            "name": "Adv Micro Devices",
            "lastPrice": 16.58,
            "netChange": 0.31,
            "percentChange": 1.91,
            "percentChangeYTD": 61.28,
            "yearToDateHigh": 17.34,
            "yearToDateLow": 9.04,
            "tradeTimestamp": "2018-07-16T18:55:00-05:00"
        },
        {
            "symbol": "AME",
            "name": "Amtek Inc",
            "lastPrice": 72.97,
            "netChange": -0.73,
            "percentChange": -0.99,
            "percentChangeYTD": 0.69,
            "yearToDateHigh": 79.32,
            "yearToDateLow": 68.57,
            "tradeTimestamp": "2018-07-16T18:42:00-05:00"
        },
        {
            "symbol": "AMG",
            "name": "Affiliated Managers Group",
            "lastPrice": 148.62,
            "netChange": 0.14,
            "percentChange": 0.09,
            "percentChangeYTD": -27.59,
            "yearToDateHigh": 216.99,
            "yearToDateLow": 145,
            "tradeTimestamp": "2018-07-16T18:42:00-05:00"
        },
        {
            "symbol": "AMGN",
            "name": "Amgen Inc.",
            "lastPrice": 194.88,
            "netChange": -1.03,
            "percentChange": -0.53,
            "percentChangeYTD": 12.06,
            "yearToDateHigh": 201.23,
            "yearToDateLow": 163.31,
            "tradeTimestamp": "2018-07-16T17:37:00-05:00"
        },
        {
            "symbol": "AMP",
            "name": "Ameriprise Financial Services",
            "lastPrice": 142.24,
            "netChange": 0.23,
            "percentChange": 0.16,
            "percentChangeYTD": -16.07,
            "yearToDateHigh": 183.9,
            "yearToDateLow": 129.87,
            "tradeTimestamp": "2018-07-16T18:42:00-05:00"
        },
        {
            "symbol": "AMT",
            "name": "American Tower Corp",
            "lastPrice": 141.76,
            "netChange": -1.47,
            "percentChange": -1.03,
            "percentChangeYTD": -0.64,
            "yearToDateHigh": 150.12,
            "yearToDateLow": 130.37,
            "tradeTimestamp": "2018-07-16T18:42:00-05:00"
        },
        {
            "symbol": "AMZN",
            "name": "Amazon.Com Inc",
            "lastPrice": 1822.49,
            "netChange": 9.46,
            "percentChange": 0.52,
            "percentChangeYTD": 55.84,
            "yearToDateHigh": 1841.95,
            "yearToDateLow": 1170.51,
            "tradeTimestamp": "2018-07-16T18:55:00-05:00"
        },
        {
            "symbol": "ANDV",
            "name": "Andeavor",
            "lastPrice": 135.07,
            "netChange": -0.42,
            "percentChange": -0.31,
            "percentChangeYTD": 18.13,
            "yearToDateHigh": 151.88,
            "yearToDateLow": 89.58,
            "tradeTimestamp": "2018-07-16T18:42:00-05:00"
        },
        {
            "symbol": "ANSS",
            "name": "Ansys Inc",
            "lastPrice": 178.79,
            "netChange": -0.93,
            "percentChange": -0.52,
            "percentChangeYTD": 21.14,
            "yearToDateHigh": 184.95,
            "yearToDateLow": 146.01,
            "tradeTimestamp": "2018-07-16T17:21:00-05:00"
        },
        {
            "symbol": "ANTM",
            "name": "Anthem Inc",
            "lastPrice": 248.28,
            "netChange": -2.23,
            "percentChange": -0.89,
            "percentChangeYTD": 10.34,
            "yearToDateHigh": 267.95,
            "yearToDateLow": 215.52,
            "tradeTimestamp": "2018-07-16T18:42:00-05:00"
        },
        {
            "symbol": "AON",
            "name": "AON Plc",
            "lastPrice": 145.21,
            "netChange": 1.01,
            "percentChange": 0.7,
            "percentChangeYTD": 8.37,
            "yearToDateHigh": 148.44,
            "yearToDateLow": 130.87,
            "tradeTimestamp": "2018-07-16T18:42:00-05:00"
        },
        {
            "symbol": "AOS",
            "name": "Smith [A.O.] Corp",
            "lastPrice": 59.47,
            "netChange": -0.76,
            "percentChange": -1.26,
            "percentChangeYTD": -2.95,
            "yearToDateHigh": 68.39,
            "yearToDateLow": 57.77,
            "tradeTimestamp": "2018-07-16T18:42:00-05:00"
        },
        {
            "symbol": "APA",
            "name": "Apache Corp",
            "lastPrice": 46,
            "netChange": -1.45,
            "percentChange": -3.06,
            "percentChangeYTD": 8.95,
            "yearToDateHigh": 49.59,
            "yearToDateLow": 33.6,
            "tradeTimestamp": "2018-07-16T18:42:00-05:00"
        },
        {
            "symbol": "APC",
            "name": "Anadarko Petroleum Corp",
            "lastPrice": 72.84,
            "netChange": -1.75,
            "percentChange": -2.35,
            "percentChangeYTD": 35.79,
            "yearToDateHigh": 76.7,
            "yearToDateLow": 53.85,
            "tradeTimestamp": "2018-07-16T18:42:00-05:00"
        },
        {
            "symbol": "APD",
            "name": "Air Products and Chemicals",
            "lastPrice": 155.55,
            "netChange": -1.78,
            "percentChange": -1.13,
            "percentChangeYTD": -5.2,
            "yearToDateHigh": 175.17,
            "yearToDateLow": 152.71,
            "tradeTimestamp": "2018-07-16T18:42:00-05:00"
        },
        {
            "symbol": "APH",
            "name": "Amphenol Corp",
            "lastPrice": 88.53,
            "netChange": -0.18,
            "percentChange": -0.2,
            "percentChangeYTD": 0.83,
            "yearToDateHigh": 93.62,
            "yearToDateLow": 80.42,
            "tradeTimestamp": "2018-07-16T18:42:00-05:00"
        },
        {
            "symbol": "APTV",
            "name": "Aptiv Plc",
            "lastPrice": 93.55,
            "netChange": -0.08,
            "percentChange": -0.09,
            "percentChangeYTD": 10.28,
            "yearToDateHigh": 103.23,
            "yearToDateLow": 80.62,
            "tradeTimestamp": "2018-07-16T18:42:00-05:00"
        }
    ]
}

XML

GET

GET https://ondemand.websol.barchart.com/getIndiceComponents.xml?apikey=YOUR_API_KEY&symbol=%24SPX&limit=50&page=1
Host: ondemand.websol.barchart.com

POST

POST https://ondemand.websol.barchart.com/getIndiceComponents.xml
Host: ondemand.websol.barchart.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

apikey=YOUR_API_KEY&symbol=%24SPX&limit=50&page=1

Response


<?xml version="1.0" encoding="utf-8"?>
 <getIndiceComponents>
  <status>
   <code>200</code>
   <message>Success.</message>
  </status>
  <item>
   <symbol>A</symbol>
   <name>Agilent Technologies</name>
   <lastPrice>62.72</lastPrice>
   <netChange>-0.66</netChange>
   <percentChange>-1.04</percentChange>
   <percentChangeYTD>-6.35</percentChangeYTD>
   <yearToDateHigh>75</yearToDateHigh>
   <yearToDateLow>60.42</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:42:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>AAL</symbol>
   <name>American Airlines Gp</name>
   <lastPrice>37.28</lastPrice>
   <netChange>0.16</netChange>
   <percentChange>0.43</percentChange>
   <percentChangeYTD>-28.35</percentChangeYTD>
   <yearToDateHigh>59.08</yearToDateHigh>
   <yearToDateLow>35.64</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:55:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>AAP</symbol>
   <name>Advance Auto Parts Inc</name>
   <lastPrice>139.67</lastPrice>
   <netChange>0.33</netChange>
   <percentChange>0.24</percentChange>
   <percentChangeYTD>40.1</percentChangeYTD>
   <yearToDateHigh>143.42</yearToDateHigh>
   <yearToDateLow>99.71</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:42:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>AAPL</symbol>
   <name>Apple Inc</name>
   <lastPrice>190.91</lastPrice>
   <netChange>-0.42</netChange>
   <percentChange>-0.22</percentChange>
   <percentChangeYTD>12.81</percentChangeYTD>
   <yearToDateHigh>194.2</yearToDateHigh>
   <yearToDateLow>150.24</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:55:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>ABBV</symbol>
   <name>Abbvie Inc</name>
   <lastPrice>96.25</lastPrice>
   <netChange>-0.38</netChange>
   <percentChange>-0.39</percentChange>
   <percentChangeYTD>-0.48</percentChangeYTD>
   <yearToDateHigh>125.86</yearToDateHigh>
   <yearToDateLow>88.22</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:45:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>ABC</symbol>
   <name>Amerisourcebergen Corp</name>
   <lastPrice>86.9</lastPrice>
   <netChange>-1.01</netChange>
   <percentChange>-1.15</percentChange>
   <percentChangeYTD>-5.36</percentChangeYTD>
   <yearToDateHigh>106.27</yearToDateHigh>
   <yearToDateLow>81.58</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:42:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>ABMD</symbol>
   <name>Abiomed Inc</name>
   <lastPrice>419.38</lastPrice>
   <netChange>0.62</netChange>
   <percentChange>0.15</percentChange>
   <percentChangeYTD>123.78</percentChangeYTD>
   <yearToDateHigh>450.93</yearToDateHigh>
   <yearToDateLow>188.05</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:56:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>ABT</symbol>
   <name>Abbott Laboratories</name>
   <lastPrice>61.78</lastPrice>
   <netChange>-1.28</netChange>
   <percentChange>-2.03</percentChange>
   <percentChangeYTD>8.25</percentChangeYTD>
   <yearToDateHigh>64.6</yearToDateHigh>
   <yearToDateLow>55.58</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:42:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>ACN</symbol>
   <name>Accenture Plc</name>
   <lastPrice>167.64</lastPrice>
   <netChange>-0.45</netChange>
   <percentChange>-0.27</percentChange>
   <percentChangeYTD>9.5</percentChangeYTD>
   <yearToDateHigh>168.5</yearToDateHigh>
   <yearToDateLow>146.05</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:42:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>ADBE</symbol>
   <name>Adobe Systems Inc</name>
   <lastPrice>254.68</lastPrice>
   <netChange>-3.91</netChange>
   <percentChange>-1.51</percentChange>
   <percentChangeYTD>45.33</percentChangeYTD>
   <yearToDateHigh>259.51</yearToDateHigh>
   <yearToDateLow>175.26</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:55:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>ADI</symbol>
   <name>Analog Devices</name>
   <lastPrice>97.64</lastPrice>
   <netChange>-0.48</netChange>
   <percentChange>-0.49</percentChange>
   <percentChangeYTD>9.67</percentChangeYTD>
   <yearToDateHigh>103.59</yearToDateHigh>
   <yearToDateLow>80.95</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:55:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>ADM</symbol>
   <name>Archer Daniels Midland Company</name>
   <lastPrice>47.17</lastPrice>
   <netChange>-0.4</netChange>
   <percentChange>-0.84</percentChange>
   <percentChangeYTD>17.69</percentChangeYTD>
   <yearToDateHigh>48.26</yearToDateHigh>
   <yearToDateLow>39.28</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:42:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>ADP</symbol>
   <name>Automatic Data Procs</name>
   <lastPrice>137.12</lastPrice>
   <netChange>-0.22</netChange>
   <percentChange>-0.16</percentChange>
   <percentChangeYTD>17.01</percentChangeYTD>
   <yearToDateHigh>141.52</yearToDateHigh>
   <yearToDateLow>107.61</yearToDateLow>
   <tradeTimestamp>2018-07-16T17:35:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>ADS</symbol>
   <name>Alliance Data Systems Corp</name>
   <lastPrice>218.97</lastPrice>
   <netChange>-24.53</netChange>
   <percentChange>-10.07</percentChange>
   <percentChangeYTD>-13.61</percentChangeYTD>
   <yearToDateHigh>278.33</yearToDateHigh>
   <yearToDateLow>192.02</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:42:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>ADSK</symbol>
   <name>Autodesk Inc</name>
   <lastPrice>136.24</lastPrice>
   <netChange>-0.97</netChange>
   <percentChange>-0.71</percentChange>
   <percentChangeYTD>29.96</percentChangeYTD>
   <yearToDateHigh>142.94</yearToDateHigh>
   <yearToDateLow>101.55</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:55:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>AEE</symbol>
   <name>Ameren Corp</name>
   <lastPrice>61.34</lastPrice>
   <netChange>-0.05</netChange>
   <percentChange>-0.08</percentChange>
   <percentChangeYTD>3.98</percentChangeYTD>
   <yearToDateHigh>62.15</yearToDateHigh>
   <yearToDateLow>51.89</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:42:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>AEP</symbol>
   <name>American Electric Power Company</name>
   <lastPrice>70.42</lastPrice>
   <netChange>0.07</netChange>
   <percentChange>0.1</percentChange>
   <percentChangeYTD>-4.28</percentChangeYTD>
   <yearToDateHigh>73.42</yearToDateHigh>
   <yearToDateLow>62.71</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:42:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>AES</symbol>
   <name>The Aes Corp</name>
   <lastPrice>13.13</lastPrice>
   <netChange>-0.05</netChange>
   <percentChange>-0.38</percentChange>
   <percentChangeYTD>21.24</percentChangeYTD>
   <yearToDateHigh>13.56</yearToDateHigh>
   <yearToDateLow>9.86</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:42:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>AET</symbol>
   <name>Aetna Inc</name>
   <lastPrice>191.45</lastPrice>
   <netChange>-0.44</netChange>
   <percentChange>-0.23</percentChange>
   <percentChangeYTD>6.13</percentChangeYTD>
   <yearToDateHigh>194.4</yearToDateHigh>
   <yearToDateLow>166.88</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:42:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>AFL</symbol>
   <name>Aflac Incorporated</name>
   <lastPrice>42.78</lastPrice>
   <netChange>0.18</netChange>
   <percentChange>0.42</percentChange>
   <percentChangeYTD>-2.53</percentChangeYTD>
   <yearToDateHigh>46.19</yearToDateHigh>
   <yearToDateLow>41.41</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:40:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>AGN</symbol>
   <name>Allergan Plc</name>
   <lastPrice>175.66</lastPrice>
   <netChange>-1.49</netChange>
   <percentChange>-0.84</percentChange>
   <percentChangeYTD>7.38</percentChangeYTD>
   <yearToDateHigh>193.33</yearToDateHigh>
   <yearToDateLow>142.81</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:45:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>AIG</symbol>
   <name>American International Group</name>
   <lastPrice>54.77</lastPrice>
   <netChange>0.53</netChange>
   <percentChange>0.98</percentChange>
   <percentChangeYTD>-8.07</percentChangeYTD>
   <yearToDateHigh>65.05</yearToDateHigh>
   <yearToDateLow>49.57</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:42:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>AIV</symbol>
   <name>Apartment Investment and Management</name>
   <lastPrice>42.48</lastPrice>
   <netChange>-0.18</netChange>
   <percentChange>-0.42</percentChange>
   <percentChangeYTD>-2.81</percentChangeYTD>
   <yearToDateHigh>43.82</yearToDateHigh>
   <yearToDateLow>37.97</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:42:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>AIZ</symbol>
   <name>Assurant Inc</name>
   <lastPrice>107.98</lastPrice>
   <netChange>-0.04</netChange>
   <percentChange>-0.04</percentChange>
   <percentChangeYTD>7.08</percentChangeYTD>
   <yearToDateHigh>109.01</yearToDateHigh>
   <yearToDateLow>84.34</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:42:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>AJG</symbol>
   <name>Arthur J. Gallagher &amp; Co</name>
   <lastPrice>69.46</lastPrice>
   <netChange>0.6</netChange>
   <percentChange>0.87</percentChange>
   <percentChangeYTD>9.77</percentChangeYTD>
   <yearToDateHigh>72.77</yearToDateHigh>
   <yearToDateLow>62.04</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:42:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>AKAM</symbol>
   <name>Akamai Technologies</name>
   <lastPrice>77.68</lastPrice>
   <netChange>0.36</netChange>
   <percentChange>0.47</percentChange>
   <percentChangeYTD>19.43</percentChangeYTD>
   <yearToDateHigh>83.08</yearToDateHigh>
   <yearToDateLow>61</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:48:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>ALB</symbol>
   <name>Albemarle Corp</name>
   <lastPrice>94.96</lastPrice>
   <netChange>-0.61</netChange>
   <percentChange>-0.64</percentChange>
   <percentChangeYTD>-25.75</percentChangeYTD>
   <yearToDateHigh>138.67</yearToDateHigh>
   <yearToDateLow>86.75</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:42:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>ALGN</symbol>
   <name>Align Technology I</name>
   <lastPrice>362.28</lastPrice>
   <netChange>-1.17</netChange>
   <percentChange>-0.32</percentChange>
   <percentChangeYTD>63.05</percentChangeYTD>
   <yearToDateHigh>371.55</yearToDateHigh>
   <yearToDateLow>219.11</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:59:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>ALK</symbol>
   <name>Alaska Air Group</name>
   <lastPrice>61.41</lastPrice>
   <netChange>-0.02</netChange>
   <percentChange>-0.03</percentChange>
   <percentChangeYTD>-16.46</percentChangeYTD>
   <yearToDateHigh>75.46</yearToDateHigh>
   <yearToDateLow>57.53</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:42:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>ALL</symbol>
   <name>Allstate Corp</name>
   <lastPrice>93.46</lastPrice>
   <netChange>0.63</netChange>
   <percentChange>0.68</percentChange>
   <percentChangeYTD>-10.74</percentChangeYTD>
   <yearToDateHigh>104.52</yearToDateHigh>
   <yearToDateLow>88.29</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:42:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>ALLE</symbol>
   <name>Allegion Plc Ordinary Shares Wh</name>
   <lastPrice>79.24</lastPrice>
   <netChange>-0.47</netChange>
   <percentChange>-0.59</percentChange>
   <percentChangeYTD>-0.4</percentChangeYTD>
   <yearToDateHigh>88.41</yearToDateHigh>
   <yearToDateLow>73.85</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:42:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>ALXN</symbol>
   <name>Alexion Pharm Inc</name>
   <lastPrice>134.58</lastPrice>
   <netChange>-1.29</netChange>
   <percentChange>-0.95</percentChange>
   <percentChangeYTD>12.53</percentChangeYTD>
   <yearToDateHigh>137.88</yearToDateHigh>
   <yearToDateLow>102.1</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:07:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>AMAT</symbol>
   <name>Applied Materials</name>
   <lastPrice>46.31</lastPrice>
   <netChange>0.18</netChange>
   <percentChange>0.39</percentChange>
   <percentChangeYTD>-9.41</percentChangeYTD>
   <yearToDateHigh>62.4</yearToDateHigh>
   <yearToDateLow>44.57</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:55:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>AMD</symbol>
   <name>Adv Micro Devices</name>
   <lastPrice>16.58</lastPrice>
   <netChange>0.31</netChange>
   <percentChange>1.91</percentChange>
   <percentChangeYTD>61.28</percentChangeYTD>
   <yearToDateHigh>17.34</yearToDateHigh>
   <yearToDateLow>9.04</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:55:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>AME</symbol>
   <name>Amtek Inc</name>
   <lastPrice>72.97</lastPrice>
   <netChange>-0.73</netChange>
   <percentChange>-0.99</percentChange>
   <percentChangeYTD>0.69</percentChangeYTD>
   <yearToDateHigh>79.32</yearToDateHigh>
   <yearToDateLow>68.57</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:42:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>AMG</symbol>
   <name>Affiliated Managers Group</name>
   <lastPrice>148.62</lastPrice>
   <netChange>0.14</netChange>
   <percentChange>0.09</percentChange>
   <percentChangeYTD>-27.59</percentChangeYTD>
   <yearToDateHigh>216.99</yearToDateHigh>
   <yearToDateLow>145</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:42:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>AMGN</symbol>
   <name>Amgen Inc.</name>
   <lastPrice>194.88</lastPrice>
   <netChange>-1.03</netChange>
   <percentChange>-0.53</percentChange>
   <percentChangeYTD>12.06</percentChangeYTD>
   <yearToDateHigh>201.23</yearToDateHigh>
   <yearToDateLow>163.31</yearToDateLow>
   <tradeTimestamp>2018-07-16T17:37:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>AMP</symbol>
   <name>Ameriprise Financial Services</name>
   <lastPrice>142.24</lastPrice>
   <netChange>0.23</netChange>
   <percentChange>0.16</percentChange>
   <percentChangeYTD>-16.07</percentChangeYTD>
   <yearToDateHigh>183.9</yearToDateHigh>
   <yearToDateLow>129.87</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:42:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>AMT</symbol>
   <name>American Tower Corp</name>
   <lastPrice>141.76</lastPrice>
   <netChange>-1.47</netChange>
   <percentChange>-1.03</percentChange>
   <percentChangeYTD>-0.64</percentChangeYTD>
   <yearToDateHigh>150.12</yearToDateHigh>
   <yearToDateLow>130.37</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:42:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>AMZN</symbol>
   <name>Amazon.Com Inc</name>
   <lastPrice>1822.49</lastPrice>
   <netChange>9.46</netChange>
   <percentChange>0.52</percentChange>
   <percentChangeYTD>55.84</percentChangeYTD>
   <yearToDateHigh>1841.95</yearToDateHigh>
   <yearToDateLow>1170.51</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:55:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>ANDV</symbol>
   <name>Andeavor</name>
   <lastPrice>135.07</lastPrice>
   <netChange>-0.42</netChange>
   <percentChange>-0.31</percentChange>
   <percentChangeYTD>18.13</percentChangeYTD>
   <yearToDateHigh>151.88</yearToDateHigh>
   <yearToDateLow>89.58</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:42:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>ANSS</symbol>
   <name>Ansys Inc</name>
   <lastPrice>178.79</lastPrice>
   <netChange>-0.93</netChange>
   <percentChange>-0.52</percentChange>
   <percentChangeYTD>21.14</percentChangeYTD>
   <yearToDateHigh>184.95</yearToDateHigh>
   <yearToDateLow>146.01</yearToDateLow>
   <tradeTimestamp>2018-07-16T17:21:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>ANTM</symbol>
   <name>Anthem Inc</name>
   <lastPrice>248.28</lastPrice>
   <netChange>-2.23</netChange>
   <percentChange>-0.89</percentChange>
   <percentChangeYTD>10.34</percentChangeYTD>
   <yearToDateHigh>267.95</yearToDateHigh>
   <yearToDateLow>215.52</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:42:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>AON</symbol>
   <name>AON Plc</name>
   <lastPrice>145.21</lastPrice>
   <netChange>1.01</netChange>
   <percentChange>0.7</percentChange>
   <percentChangeYTD>8.37</percentChangeYTD>
   <yearToDateHigh>148.44</yearToDateHigh>
   <yearToDateLow>130.87</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:42:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>AOS</symbol>
   <name>Smith [A.O.] Corp</name>
   <lastPrice>59.47</lastPrice>
   <netChange>-0.76</netChange>
   <percentChange>-1.26</percentChange>
   <percentChangeYTD>-2.95</percentChangeYTD>
   <yearToDateHigh>68.39</yearToDateHigh>
   <yearToDateLow>57.77</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:42:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>APA</symbol>
   <name>Apache Corp</name>
   <lastPrice>46</lastPrice>
   <netChange>-1.45</netChange>
   <percentChange>-3.06</percentChange>
   <percentChangeYTD>8.95</percentChangeYTD>
   <yearToDateHigh>49.59</yearToDateHigh>
   <yearToDateLow>33.6</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:42:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>APC</symbol>
   <name>Anadarko Petroleum Corp</name>
   <lastPrice>72.84</lastPrice>
   <netChange>-1.75</netChange>
   <percentChange>-2.35</percentChange>
   <percentChangeYTD>35.79</percentChangeYTD>
   <yearToDateHigh>76.7</yearToDateHigh>
   <yearToDateLow>53.85</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:42:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>APD</symbol>
   <name>Air Products and Chemicals</name>
   <lastPrice>155.55</lastPrice>
   <netChange>-1.78</netChange>
   <percentChange>-1.13</percentChange>
   <percentChangeYTD>-5.2</percentChangeYTD>
   <yearToDateHigh>175.17</yearToDateHigh>
   <yearToDateLow>152.71</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:42:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>APH</symbol>
   <name>Amphenol Corp</name>
   <lastPrice>88.53</lastPrice>
   <netChange>-0.18</netChange>
   <percentChange>-0.2</percentChange>
   <percentChangeYTD>0.83</percentChangeYTD>
   <yearToDateHigh>93.62</yearToDateHigh>
   <yearToDateLow>80.42</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:42:00-05:00</tradeTimestamp>
  </item>
  <item>
   <symbol>APTV</symbol>
   <name>Aptiv Plc</name>
   <lastPrice>93.55</lastPrice>
   <netChange>-0.08</netChange>
   <percentChange>-0.09</percentChange>
   <percentChangeYTD>10.28</percentChangeYTD>
   <yearToDateHigh>103.23</yearToDateHigh>
   <yearToDateLow>80.62</yearToDateLow>
   <tradeTimestamp>2018-07-16T18:42:00-05:00</tradeTimestamp>
  </item>
 </getIndiceComponents>

CSV

GET

GET https://ondemand.websol.barchart.com/getIndiceComponents.csv?apikey=YOUR_API_KEY&symbol=%24SPX&limit=50&page=1
Host: ondemand.websol.barchart.com

POST

POST https://ondemand.websol.barchart.com/getIndiceComponents.csv
Host: ondemand.websol.barchart.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

apikey=YOUR_API_KEY&symbol=%24SPX&limit=50&page=1

Response

symbol,name,lastPrice,netChange,percentChange,percentChangeYTD,yearToDateHigh,yearToDateLow,tradeTimestamp
"A","Agilent Technologies","62.72","-0.66","-1.04","-6.35","75","60.42","2018-07-16T18:42:00-05:00"
"AAL","American Airlines Gp","37.28","0.16","0.43","-28.35","59.08","35.64","2018-07-16T18:55:00-05:00"
"AAP","Advance Auto Parts Inc","139.67","0.33","0.24","40.1","143.42","99.71","2018-07-16T18:42:00-05:00"
"AAPL","Apple Inc","190.91","-0.42","-0.22","12.81","194.2","150.24","2018-07-16T18:55:00-05:00"
"ABBV","Abbvie Inc","96.25","-0.38","-0.39","-0.48","125.86","88.22","2018-07-16T18:45:00-05:00"
"ABC","Amerisourcebergen Corp","86.9","-1.01","-1.15","-5.36","106.27","81.58","2018-07-16T18:42:00-05:00"
"ABMD","Abiomed Inc","419.38","0.62","0.15","123.78","450.93","188.05","2018-07-16T18:56:00-05:00"
"ABT","Abbott Laboratories","61.78","-1.28","-2.03","8.25","64.6","55.58","2018-07-16T18:42:00-05:00"
"ACN","Accenture Plc","167.64","-0.45","-0.27","9.5","168.5","146.05","2018-07-16T18:42:00-05:00"
"ADBE","Adobe Systems Inc","254.68","-3.91","-1.51","45.33","259.51","175.26","2018-07-16T18:55:00-05:00"
"ADI","Analog Devices","97.64","-0.48","-0.49","9.67","103.59","80.95","2018-07-16T18:55:00-05:00"
"ADM","Archer Daniels Midland Company","47.17","-0.4","-0.84","17.69","48.26","39.28","2018-07-16T18:42:00-05:00"
"ADP","Automatic Data Procs","137.12","-0.22","-0.16","17.01","141.52","107.61","2018-07-16T17:35:00-05:00"
"ADS","Alliance Data Systems Corp","218.97","-24.53","-10.07","-13.61","278.33","192.02","2018-07-16T18:42:00-05:00"
"ADSK","Autodesk Inc","136.24","-0.97","-0.71","29.96","142.94","101.55","2018-07-16T18:55:00-05:00"
"AEE","Ameren Corp","61.34","-0.05","-0.08","3.98","62.15","51.89","2018-07-16T18:42:00-05:00"
"AEP","American Electric Power Company","70.42","0.07","0.1","-4.28","73.42","62.71","2018-07-16T18:42:00-05:00"
"AES","The Aes Corp","13.13","-0.05","-0.38","21.24","13.56","9.86","2018-07-16T18:42:00-05:00"
"AET","Aetna Inc","191.45","-0.44","-0.23","6.13","194.4","166.88","2018-07-16T18:42:00-05:00"
"AFL","Aflac Incorporated","42.78","0.18","0.42","-2.53","46.19","41.41","2018-07-16T18:40:00-05:00"
"AGN","Allergan Plc","175.66","-1.49","-0.84","7.38","193.33","142.81","2018-07-16T18:45:00-05:00"
"AIG","American International Group","54.77","0.53","0.98","-8.07","65.05","49.57","2018-07-16T18:42:00-05:00"
"AIV","Apartment Investment and Management","42.48","-0.18","-0.42","-2.81","43.82","37.97","2018-07-16T18:42:00-05:00"
"AIZ","Assurant Inc","107.98","-0.04","-0.04","7.08","109.01","84.34","2018-07-16T18:42:00-05:00"
"AJG","Arthur J. Gallagher & Co","69.46","0.6","0.87","9.77","72.77","62.04","2018-07-16T18:42:00-05:00"
"AKAM","Akamai Technologies","77.68","0.36","0.47","19.43","83.08","61","2018-07-16T18:48:00-05:00"
"ALB","Albemarle Corp","94.96","-0.61","-0.64","-25.75","138.67","86.75","2018-07-16T18:42:00-05:00"
"ALGN","Align Technology I","362.28","-1.17","-0.32","63.05","371.55","219.11","2018-07-16T18:59:00-05:00"
"ALK","Alaska Air Group","61.41","-0.02","-0.03","-16.46","75.46","57.53","2018-07-16T18:42:00-05:00"
"ALL","Allstate Corp","93.46","0.63","0.68","-10.74","104.52","88.29","2018-07-16T18:42:00-05:00"
"ALLE","Allegion Plc Ordinary Shares Wh","79.24","-0.47","-0.59","-0.4","88.41","73.85","2018-07-16T18:42:00-05:00"
"ALXN","Alexion Pharm Inc","134.58","-1.29","-0.95","12.53","137.88","102.1","2018-07-16T18:07:00-05:00"
"AMAT","Applied Materials","46.31","0.18","0.39","-9.41","62.4","44.57","2018-07-16T18:55:00-05:00"
"AMD","Adv Micro Devices","16.58","0.31","1.91","61.28","17.34","9.04","2018-07-16T18:55:00-05:00"
"AME","Amtek Inc","72.97","-0.73","-0.99","0.69","79.32","68.57","2018-07-16T18:42:00-05:00"
"AMG","Affiliated Managers Group","148.62","0.14","0.09","-27.59","216.99","145","2018-07-16T18:42:00-05:00"
"AMGN","Amgen Inc.","194.88","-1.03","-0.53","12.06","201.23","163.31","2018-07-16T17:37:00-05:00"
"AMP","Ameriprise Financial Services","142.24","0.23","0.16","-16.07","183.9","129.87","2018-07-16T18:42:00-05:00"
"AMT","American Tower Corp","141.76","-1.47","-1.03","-0.64","150.12","130.37","2018-07-16T18:42:00-05:00"
"AMZN","Amazon.Com Inc","1822.49","9.46","0.52","55.84","1841.95","1170.51","2018-07-16T18:55:00-05:00"
"ANDV","Andeavor","135.07","-0.42","-0.31","18.13","151.88","89.58","2018-07-16T18:42:00-05:00"
"ANSS","Ansys Inc","178.79","-0.93","-0.52","21.14","184.95","146.01","2018-07-16T17:21:00-05:00"
"ANTM","Anthem Inc","248.28","-2.23","-0.89","10.34","267.95","215.52","2018-07-16T18:42:00-05:00"
"AON","AON Plc","145.21","1.01","0.7","8.37","148.44","130.87","2018-07-16T18:42:00-05:00"
"AOS","Smith [A.O.] Corp","59.47","-0.76","-1.26","-2.95","68.39","57.77","2018-07-16T18:42:00-05:00"
"APA","Apache Corp","46","-1.45","-3.06","8.95","49.59","33.6","2018-07-16T18:42:00-05:00"
"APC","Anadarko Petroleum Corp","72.84","-1.75","-2.35","35.79","76.7","53.85","2018-07-16T18:42:00-05:00"
"APD","Air Products and Chemicals","155.55","-1.78","-1.13","-5.2","175.17","152.71","2018-07-16T18:42:00-05:00"
"APH","Amphenol Corp","88.53","-0.18","-0.2","0.83","93.62","80.42","2018-07-16T18:42:00-05:00"
"APTV","Aptiv Plc","93.55","-0.08","-0.09","10.28","103.23","80.62","2018-07-16T18:42:00-05:00"


PHP

<?php

$ondemand = new SoapClient('https://ondemand.websol.barchart.com/service?wsdl');

$params = [
    'apikey' => 'YOUR_API_KEY',
    'symbol' => '$SPX',
    'limit' => '50',
    'page' => '1',
];

$result = $ondemand->getIndiceComponents($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.getIndiceComponents("YOUR_API_KEY", "$SPX", "50", "1")

Perl

use SOAP::Lite;
use SOAP::WSDL;

my $ondemand = SOAP::Lite
    -> service('https://ondemand.websol.barchart.com/service?wsdl');

my $result = $ondemand->getIndiceComponents('YOUR_API_KEY', '$SPX', '50', '1');

print $result;

Python

from suds.client import Client
ondemand = Client('https://ondemand.websol.barchart.com/service?wsdl')

result = client.service.getIndiceComponents('YOUR_API_KEY', '$SPX', '50', '1')

print result

Ruby

require 'savon'

ondemand = Savon.client(wsdl: 'https://ondemand.websol.barchart.com/service?wsdl')

response = ondemand.call(
    :getIndiceComponents,
    message: {
        apikey: 'YOUR_API_KEY',
        symbol: '$SPX',
        limit: '50',
        page: '1',
    }
)

response.body