get_price_chart
Retrieve token price data at specified intervals for custom time ranges with chain and address parameters. Analyze historical trends and market movements using this API tool.
Instructions
GET /coins/chart/{coins}
Get token prices at regular time intervals.
Parameters:
coins: comma-separated tokens in format {chain}:{address}
start: unix timestamp of earliest data point
end: unix timestamp of latest data point
span: number of data points returned
period: duration between data points (default: '24h')
search_width: time range on either side to find price data (default: '600')
Input Schema
Name | Required | Description | Default |
---|---|---|---|
coins | Yes | ||
end | No | ||
period | No | 24h | |
search_width | No | 600 | |
span | No | ||
start | No |
Input Schema (JSON Schema)
{
"properties": {
"coins": {
"title": "Coins",
"type": "string"
},
"end": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "End"
},
"period": {
"default": "24h",
"title": "Period",
"type": "string"
},
"search_width": {
"default": "600",
"title": "Search Width",
"type": "string"
},
"span": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Span"
},
"start": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Start"
}
},
"required": [
"coins"
],
"title": "get_price_chartArguments",
"type": "object"
}