JSON Quote API - Version 2.0
To request data from our servers, you insert a <script> tag into your web page. The 'src' parameter for this script tag controls which symbols are retrieved.
For example, to request a stock quote for Cisco Systems, you would insert the following:
And to request a quote for Microsoft:
Multiple symbols can be requested by adding a '+' character between them:
Understanding the Response
For example, to access the record for Microsoft you would use the following: quote['MSFT']
However, since each record is only a collection of fields, you would also need to specify which field to access, such as the Last Trade Price: quote['MSFT']['Last']
A number of fields are present, and more are being added as they become available.
|Last||Last Sale Price|
|High||Day's High Price|
|Low||Day's Low Price|
|PrevClose||Previous Day's Close Price|
|Exchange||Primary Trading Exchange|
|TradeTime||Last Trade Time (milliseconds since Jan 1st 1970)|