Updated: 2018-02-12

getStockPriceHistory

By Barchart

    Historical stock data from 2000-now

    Query Parameters:

    Parameter Meaning Data Type
    T Application Key which authenticates you with cloudquote (required) Base64 String
    symbol One symbol to look up (ex: GOOG) String
    from The earliest date to retrieve historical data for (inclusive) Date String - (YYYY-MM-DD)
    to The latest date to retrieve historical data for (inclusive) Date String - (YYYY-MM-DD)

    JSON Response:

    • The response is an object, containing the following keys:
    Parameter Meaning Data Type
    rows A collection of historical stock data, with one row for each day of history Array of Array
    rows[...] A single day of historical data for a security Array
    columns The list of column names which correspond to each row Array of String

    Columns:

    • Please make sure to reference the columns array when parsing the data - do not assume that the data in the rows will always be in a particular order.
    Name Meaning Data Type
    Date Date Unix Epoch Time (seconds since Jan 1, 1970 UTC)
    Open Open price Double
    High High price Double
    Low Low price Double
    Close Closing Price Double
    Volume Cumulative Volume 64 Bit Integer
    Adjusted Close Adjusted Closing Price Double

    About the Vendor

    From market data feeds to website content solutions and trading software to our flagship financial portal, Barchart.com, and individual subscription services, Barchart is the definitive source for comprehensive financial data and information.