Skip to main content
GET
Coin Historical Chart Data by Token Address
返回按合约地址标识的代币在由 days 指定的回溯窗口内的历史序列。id 是资产所在链,contract_address 是代币地址。返回 prices、market_caps 和 total_volumes,均为「时间戳,数值」二元组,时间戳单位为毫秒——结构与 get_coingecko_coins_id_market_chart 相同。当你手上是地址而不是 CoinGecko id 时使用它。如需明确的起止时间,请使用 get_coingecko_token_market_chart_range。
第一次用? 把任意 MCP 客户端指向 https://mcp.aisa.one/mcp —— Claude Code、 Codex、Cursor、VS Code 都可以。鉴权走 OAuth:客户端打开浏览器,你点一次 Allow,不需要粘贴任何 key。各客户端的具体命令和每次调用的价格见 aisa.one/zh-cn/mcp。
在你的 agent 里把这个端点跑起来 →

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

contract_address
string
默认值:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
必填

The contract address of token.

id
string
默认值:ethereum
必填

Asset platform ID. *refers to /asset_platforms.

查询参数

days
string
默认值:1
必填

Data up to number of days ago. You may use any integer or max for number of days.

interval
enum<string>

Data interval, leave empty for auto granularity.

可用选项:
1m,
5m,
hourly,
daily
precision
enum<string>

Decimal place for currency price value.

可用选项:
full,
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18
vs_currency
string
默认值:usd
必填

Target currency of market data. *refers to /simple/supported_vs_currencies.

响应

Coin historical chart data by token address

prices
number[][]
必填

Price data points as [timestamp, price] pairs

market_caps
number[][]
必填

Market cap data points as [timestamp, market_cap] pairs

total_volumes
number[][]
必填

Total volume data points as [timestamp, volume] pairs