Skip to main content


Get historical price candles for an index.





Request Example

Response Example


Request Parameters

  • resolution string The duration of each candle.

    Minutely Resolutions: (minutely, 1, 3, 5, 15, 30, 45, ...)

    Hourly Resolutions: (hourly, H, 1H, 2H, ...)

    Daily Resolutions: (daily, D, 1D, 2D, ...)

    Weekly Resolutions: (weekly, W, 1W, 2W, ...)

    Monthly Resolutions: (monthly, M, 1M, 2M, ...)

    Yearly Resolutions:(yearly, Y, 1Y, 2Y, ...)

  • symbol string

    The index symbol, without any leading or trailing index identifiers. For example, use DJI do not use $DJI, ^DJI, .DJI, DJI.X, etc.

Response Attributes

  • s string

    Will always be ok when there is data for the candles requested.

  • o array[number]

    Open price.

  • h array[number]

    High price.

  • l array[number]

    Low price.

  • c array[number]

    Close price.

  • t array[number]

    Candle time (Unix timestamp, UTC). Daily, weekly, monthly, yearly candles are returned without times.