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"
}
]
}
}| Name | Description |
|---|---|
| baseMintAddress | The 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:
| Name | Description |
|---|---|
| baseMint | The mint address of the base token involved in the trade. |
| quoteMint | The mint address of the quote token used in the trade. |
| timestamp | The Unix timestamp at which the candle was aggregated. |
| slot | The slot of the trade that most recently updated this candle. |
| open | The price of the token at the open of the candle (the first trade). |
| close | The price of the token at the close of the candle (the most recent trade in the candle). |
| volume | The amount of the base token traded. |
| high | The highest price of the base token in a trade in this candle. |
| low | The lowest price of the base token in a trade in this candle. |
Updated 1 day ago