get_range_coins_ohlc
Retrieve OHLC (Open, High, Low, Close) price data for a cryptocurrency within a specified timestamp range using its coin ID. Optional jq_filter parameter reduces response size for improved performance.
Instructions
When using this tool, always use the jq_filter
parameter to reduce the response size and improve performance.
Only omit if you're sure you don't need the data.
This endpoint allows you to get the OHLC chart (Open, High, Low, Close) of a coin within a range of timestamp based on particular coin ID
Response Schema
Input Schema
Name | Required | Description | Default |
---|---|---|---|
from | Yes | starting date in UNIX timestamp | |
id | Yes | ||
interval | Yes | data interval | |
jq_filter | No | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field in every object of a results array, you can provide ".results[].name". For more information, see the [jq documentation](https://jqlang.org/manual/). | |
to | Yes | ending date in UNIX timestamp | |
vs_currency | Yes | target currency of price data <br> *refers to [`/simple/supported_vs_currencies`](/reference/simple-supported-currencies). |