Live 1 Minute Candles (OHLCV)

Get Started

You can get real-time USD candles aggregated by the minute for all traded tokens in the Solana ecosystem aggregated from the trades of our supported DEXs.

Supported DEXs & AMMs: https://docs.vybenetwork.com/docs/available-dexs-amms

Filters

📘

Things to keep in mind:

  • If you use this connection without a filter you will receive data for ALL candles. This can result in excessive credit usage
  • Currently, there is only one filter- baseMintAddress.
  • To get trades for native Solana you must use 11111111111111111111111111111111as the token mint.

Example filter configuration message:

  {
    "type": "configure",
    "filters": {
      "priceCandles": [
        {
          "baseMintAddress": "So11111111111111111111111111111111111111112"
        }
      ]
    }
  }
NameDescription
baseMintAddressThe public key of the base token's mint in a trading pair.

Response

Example response message:

{
    "baseMint": "So11111111111111111111111111111111111111112",
    "quoteMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "timestamp": 1772570160,
    "open": 85.02016581254519,
    "high": 85.27813923570544,
    "low": 84.84351137882422,
    "close": 85.23554710942189,
    "volume": 3039.451976275003,
    "slot": 404011986,
    "updateTime": 1772570160
}

Overview of the response from a candle data stream:

NameDescription
baseMintThe mint address of the base token involved in the trade.
quoteMintThe mint address of the quote token used in the trade.
timestampThe Unix timestamp at which the candle was aggregated.
slotThe slot of the trade that most recently updated this candle.
openThe price of the token at the open of the candle (the first trade).
closeThe price of the token at the close of the candle (the most recent trade in the candle).
volumeThe amount of the base token traded.
highThe highest price of the base token in a trade in this candle.
lowThe lowest price of the base token in a trade in this candle.