加密货币实时行情
crypto_price查询加密货币实时价格、24h/7d 涨跌幅、市值、24h 成交额、历史最高价。支持 BTC/ETH 等符号或 CoinGecko ID,逗号分隔多币查询。适用于行情监控、比价、量化决策前的数据获取。Example: {"coins":"btc,eth,sol","vs_currency":"usd"}
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"coins": "btc,eth,sol",
"vs_currency": "usd"
},
"name": "crypto_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coins | Yes | 币符号或 CoinGecko ID,逗号分隔,如 "btc,eth,sol" 或 "bitcoin,ethereum" | |
| vs_currency | No | 计价货币(usd/cny/eur),默认 usd | usd |