getEquitiesByExchange API

Receive all real-time or delayed stock and/or index price data by exchange through a single onDemand query.

Pricing is based on the number of monthly queries and fields requested. We offer four packages: Small, Medium, Large, Enterprise. Contact us for additional details.


API Documentation

INPUTS:

exchange (required)
A valid exchange code. (enum)
Valid values: NYSE, OTHER OTC, AMEX, NASDAQ, OTC-BB, TSX, ASX, LSE, TSX-V, CNSX, INDEX, INDEX-NY, INDEX-NQ, INDEX-CBOE, INDEX-DOW, SPECIAL, INDEX-SP, INDEX-RL, INDEX-TSX, RATES, RATE
Example: NYSE

fields (optional)
The fields requested. (list)
Example: settlement


OUTPUTS:

symbol (always returned)
The instrument symbol. (string)
name (always returned)
The name of the instrument. (string)
open (always returned)
The open price for the instrument. (double)
high (always returned)
The high price for the day. (double)
low (always returned)
The low price for the day. (double)
last (always returned)
The last/close price for the instrument. (double)
netChange (always returned)
The difference between the last traded price and the previous close. (double)
percentChange (always returned)
The percent difference between the last traded price and the previous close. (double)
volume (always returned)
The volume of the instrument. (int)
tradeTime (always returned)
The trade time of the last trade for the instrument. (time)
tradeDate (always returned)
The trade date of the last trade for the instrument. (date)
exchange (always returned)
The exchange code on which the instrument trades. (string)
settlement (as requested)
Flag to indicate if the prices are settled. (string)
previousClose (as requested)
Previous day's closing price. (double)

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.