get_kline
Fetch K-line (candlestick) data for tokens on supported blockchain chains using token address, timeframe, and limit parameters. Returns formatted table for analysis.
Instructions
Fetch K-line data for a specified token on a given chain and return it as a formatted table.
Parameters:
chain (str): Blockchain network (e.g., 'eth', 'bsc', 'solana')
address (str): Token contract address
timeframe (str): K-line timeframe (e.g., '1m', '5m', '15m', '1h', '4h', '12h', '1d'). Default: '1n'
end_time (str, optional): ISO 8601 timestamp for data end time (e.g., '2025-07-03T02:14:00Z'). Default: current UTC time
limit (int): Number of data points to return (max 1000). Default: 100
Returns:
str: String containing pair name and K-line data in a formatted table
Input Schema
Name | Required | Description | Default |
---|---|---|---|
address | Yes | ||
chain | Yes | ||
end_time | No | ||
limit | No | ||
timeframe | No | 1m |
Input Schema (JSON Schema)
{
"properties": {
"address": {
"title": "Address",
"type": "string"
},
"chain": {
"title": "Chain",
"type": "string"
},
"end_time": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "End Time"
},
"limit": {
"default": 100,
"title": "Limit",
"type": "integer"
},
"timeframe": {
"default": "1m",
"title": "Timeframe",
"type": "string"
}
},
"required": [
"chain",
"address"
],
"title": "get_klineArguments",
"type": "object"
}