get https://api.klarda.com/api/v1/market/token/price/ohlcv
Definition
This endpoint retrieves Open, High, Low, Close, and Volume (OHLCV) data for a specified token over a specified duration. OHLCV data is commonly used in financial analysis and trading to represent the price movements of an asset over time.
Query Parameters
- token_id (string): The unique identifier or symbol of the token for which the OHLCV data is requested. For example, 'BTC' for Bitcoin.
- duration (string): The duration for which to retrieve OHLCV data. Common values include '1D' for 1 day, '1W' for 1 week, '1M' for 1 month, etc.
- limit (int): The maximum number of data points to return. Default value is 10.
Response
The response will include a JSON object containing OHLCV data for the specified token and duration.
This endpoint is useful for analyzing price trends, identifying key support and resistance levels, and performing technical analysis on token price movements over specified time periods.