Utilities
Get Candlestick Data
Retrieve OHLCV candlestick data for chart visualization
GET
Get Candlestick Data
Overview
The Candlesticks endpoint provides OHLCV (Open, High, Low, Close, Volume) data for a specific token, enabling price chart visualization and technical analysis.Authentication
This endpoint requires JWT authentication via theAuthorization header:
Endpoint
Path Parameters
string
required
The mint address of the token to get candlestick data for
Query Parameters
number
required
Number of candlesticks to skip (for pagination)
number
required
Maximum number of candlesticks to return
number
required
Timeframe for each candlestick in minutes (e.g., 1, 5, 15, 60, 240, 1440)
Response
string
The mint address of the queried token
number
The timeframe used for candlesticks (in minutes)
array
Array of candlestick objects
number
Total number of available candlesticks
Common Timeframes
1- 1 minute5- 5 minutes15- 15 minutes60- 1 hour240- 4 hours1440- 1 day
Example Request
Use Cases
- Display price charts with multiple timeframes
- Perform technical analysis on token price movements
- Calculate trading indicators (RSI, MACD, etc.)
- Build real-time trading dashboards
- Analyze historical price patterns
Notes
- Replace
<your_token>with your actual JWT token - Choose appropriate timeframe based on your analysis needs
- Use pagination to load historical data efficiently
- Price values are strings to preserve precision
- Candlestick data is essential for charting libraries
Get Candlestick Data