Stock Quotes and Business News for Your Website
(888) 688-9880

JSON Quote API - Version 2.1


Our Javascript Quote API allows you to quickly and easily integrate market data into your web application, using a simple request-based API

Requesting Data

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

Once data has been requested, it is loaded into a variable named 'quote', which is an Associative Array.

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']

The script will also call the function 'updateQuotes(quote)'. This Javascript function is to be defined by the client and allows the client to choose how the data will be displayed.

A number of fields are present, and more are being added as they become available.

Current Fields

Field Meaning
Ticker Ticker Symbol
Valoren Valoren ID
ExchangeCode Exchange Code
Exchange Exchange Symbol
ExchangeName Name of Exchange
ExchangeShortName   Abbreviated Name of Exchange
TradeTime Last Trade Time (seconds since Jan 1st 1970)
Volume Cumulative Volume
Last Last Sale Price
Open Open Price
High Day's High Price
Low Day's Low Price
PrevClose Previous Day's Close Price
Change Price Change
ChangePercent Price Change in Percent
Bid Bid Price
Ask Ask Price
BidSize Bid Size
AskSize Ask Size
Name Company Name
ShortName Abbreviated Company Name
High52 52 Week High Price
Low52 52 Week Low Price
Dividend Dividend
EPS Earnings Per Share
SharesOutstanding Shares Outstanding

Sample Implementation Code

Output of Sample Implementation Code

Price of YHOO is 17.9
Price of AAPL is 543.99
Price of MSFT is 27.1

For more information on our stock market solutions, contact us today:

Fill out my online form.