Skip to main content

Bulk Historical Candles

Get bulk historical candle data for stocks. This endpoint returns bulk daily candle data for multiple stocks. Unlike the standard candles endpoint, this endpoint returns a single daily for each symbol provided.

Endpoint

https://api.marketdata.app/v1/stocks/bulkcandles/{resolution}/

Method

GET

Request Example

Response Example

{
"s": "ok",
"symbol": ["AAPL", "META", "MSFT"],
"o": [196.16, 345.58, 371.49],
"h": [196.95, 353.6, 373.26],
"l": [195.89, 345.12, 369.84],
"c": [196.94, 350.36, 373.26],
"v": [40714051, 17729362, 20593658],
"t": [1703048400,1703048400,1703048400]
}

Request Parameters

  • resolution string The duration of each candle. Only daily candles are supported at this time.

    • Daily Resolutions: (daily, D, 1D)
  • symbols string The ticker symbols to return in the response, separated by commas. The symbols parameter may be omitted if the snapshot parameter is set to true.

Response Attributes

  • s string

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

  • symbol string

    The ticker symbol of the stock.

  • o array[number]

    Open price.

  • h array[number]

    High price.

  • l array[number]

    Low price.

  • c array[number]

    Close price.

  • v array[number]

    Volume.

  • t array[number]

    Candle time (Unix timestamp, Exchange Timezone). Daily candles are returned at 00:00:00 without times.

Usage Information

Data Availability

Real-time data is not available for this endpoint under any plan or entitlement. The type of candle data you receive depends on your user type and UTP entitlement. This may include 15-minute delayed candles or historical candles (1 day old), depending on the plan or access level.

User TypeUTP EntitlementCandle Type
Non-Professional15-min delayed
Non-ProfessionalHistorical (1 day old)
ProfessionalAnyHistorical (1 day old)
UnknownAnyHistorical (1 day old)
What are entitlements?

Entitlements are permissions granted by exchanges that allow access to their data. To get 15-minute delayed candles, non-professional users need to sign the UTP agreement. Learn more about entitlements.

Pricing

The cost of using the bulk candles API endpoint is 1 credit per symbol returned in the response.

Data TypeCost BasisCredits Required per Unit
15-minute Delayed DataPer symbol1 credit
Historical DataPer symbol1 credit
Real-Time DataNot availableN/A