Skip to main content

Candles subscription

REQUEST wss://ws.bitvavo.com/v2 candles

Subscribes to events that return data used to form candlestick charts.

Request

Body
    actionstringrequired

    Set to subscribe to start or to unsubscribe to stop the subscription.

    Possible values: [subscribe, unsubscribe]

    channels object[]required

    The events you want to subscribe to.

  • Array [
  • namestring

    The channel to which you want to subscribe.

    Example: candles
    marketsstring[]

    The markets for which you want to stream the data.

    Example: ["BTC-EUR"]
    intervalstring[]

    The time period for which to return the candlestick data.

    Possible values: [1m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d]

  • ]

Response

Schema
    eventstring

    The returned event.

    Example: subscribed
    subscriptions object

    The object with all currently active subscriptions.

    candles object

    The object with all current candles subscriptions.

    1hstring[]

    The markets for which you want stream the data per interval.

    Example: ["BTC-EUR"]