We created this API to support our own applications and decided to share it with the world. This API is a basic, free alternative to Yahoo Finance (finance.yahoo.com) previously available. It supplies basic end of previous closing day stock price information for a wide range of tickers including international markets, ETFs, and more. The following documentation describes how to use our free Stock Price API.
Accepted values: 1d, 1wk, 1mo. Returns the end of day [1d], end of week [1wk], or end of month [1mo] data type.
Accepted values: 0, 1, 2, 3, 4, 5, 6. Each number represents a data type. Data can be returned in any order (e.g. 65432310) or any combination (e.g. 6051423). 0=>Date (in UNIX format), 1=>Open Price, 2=>High Price, 3=>Low Price, 4=>Close Price, 5=>Volume, 6=>Adjusted Close (adjusted for dividends, splits, etc).
A unit that represents the number of intervals you are seeking. For a ten day history use '10'. For a 2 month history use '2'. Will take a value up to 99999. The API will return a lesser amount if there is insufficient data available. For example, if you request 2000 observations but there are only 1000 observations available, the API will return only 1000 observations.
Status, status message, and returned data. Status 200 is successful while status 400 is unsuccessful. Data will supply error message or the data requested from the API.
All data provided on Newton Analytics or the API is provided for informational purposes only, and is not intended for trading or investing purposes. Seek a duly licensed professional for investment advice.POWERED by