Skip to main content
Version: testnet (v0.71)

List candle intervals

Get a list of all available intervals for a given market along with the corresponding candle ID

Query Parameters
    marketId string required

    Unique ID for the market to list candle intervals for.

Responses

A successful response.


Schema
    intervalToCandleId object[]

    List of the mappings.

    candleId string
    interval string
GET /api/v2/candle/intervals

Request

Base URL
https://api.n06.testnet.vega.xyz
marketId — query required
curl / cURL
curl -L -X GET 'https://api.n06.testnet.vega.xyz/api/v2/candle/intervals' \
-H 'Accept: application/json'