CoinGecko加密货币行情Market data

Current crypto price by coin id — market cap, 24h change

coingecko.simple.price

Current price for up to hundreds of coins at once, in any quote currency, with optional market cap, 24h volume and 24h change

价格
$0.00029/call按供应商原价
成功率
—暂无成功率数据暂无成功率数据
延迟 p50
——
最后验证
2026年8月15日实测可用
GEThttps://toolswitch.dev/v1/tools/coingecko.simple.price?ids=bitcoin%2Cethereum&vs_currencies=usd&include_24hr_change=true预览
在线试用即将上线供应商文档 ↗
  • 可用平台额度调用
  • 同步返回
  • 读取公开数据

参数

参数类型必填说明示例
查询参数
ids字符串必填comma-separated CoinGecko coin ids (bitcoin,ethereum) — find ids with coingecko.searchbitcoin,ethereum
vs_currencies字符串必填comma-separated quote currencies (usd,eur,btc)usd
include_24hr_vol布尔可选
include_market_cap布尔可选
include_24hr_change布尔可选true
  • 查询参数
  • ids字符串必填

    comma-separated CoinGecko coin ids (bitcoin,ethereum) — find ids with coingecko.search

    示例:bitcoin,ethereum

  • vs_currencies字符串必填

    comma-separated quote currencies (usd,eur,btc)

    示例:usd

  • include_24hr_vol布尔可选
  • include_market_cap布尔可选
  • include_24hr_change布尔可选

    示例:true

代码示例

将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。

预览
curl -X GET 'https://toolswitch.dev/v1/tools/coingecko.simple.price?ids=bitcoin%2Cethereum&vs_currencies=usd&include_24hr_change=true' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。 调用按 $0.00029/call 计费,已含服务费。