freeapis

CryptoCompare

加密货币对比

认证方式
No auth
HTTPS
Yes
CORS
Unknown

简介

CryptoCompare 提供加密货币市场数据——跨交易所的价格、历史数据和市值。它已被 CoinDesk 收购,API 现在需要来自 CoinDesk 开发者平台的免费 API 密钥

⚠️ 破坏性变更(2026-08 实测):免密钥请求现在返回 HTTP 401 “API key required, please refer to the documentation at developers.coindesk.com”——免费匿名层已取消。请在 developers.coindesk.com 注册获取密钥。

快速开始

在 developers.coindesk.com 注册,然后(替换 YOUR_KEY):

curl "https://min-api.cryptocompare.com/data/price?fsym=BTC&tsyms=USD" \
  -H "authorization: Apikey YOUR_KEY"
{ "USD": 67234.5 }

历史日数据:

curl "https://min-api.cryptocompare.com/data/v2/histoday?fsym=BTC&tsym=USD&limit=10" \
  -H "authorization: Apikey YOUR_KEY"

市值排名:

curl "https://min-api.cryptocompare.com/data/top/mktcapfull?limit=5&tsym=USD" \
  -H "authorization: Apikey YOUR_KEY"

认证方式

  • developers.coindesk.com 注册 → 免费 API 密钥。
  • 通过 authorization: Apikey YOUR_KEY 请求头携带(缺失密钥 → 401,已实测)。

速率限制与注意事项

  • 免费层有限流(以 CoinDesk 开发者文档为准);付费档可扩展。
  • min-api.cryptocompare.com 主机仍可用,只是换新认证。
  • 端点:/data/price/data/v2/histoday/data/top/mktcapfull/data/pricehistorical 等。
  • 历史深度和 websocket 取决于套餐。

常见问题

CryptoCompare 免费吗? 需要免费 API 密钥(无密钥 401,已实测)——在 developers.coindesk.com 注册。

为什么旧的无密钥调用挂了? CryptoCompare 被 CoinDesk 收购——匿名层在 2026 年被移除。

主机还是同一个吗? 是的——min-api.cryptocompare.com 仍可用,只是用新的 authorization 头。

加密货币 分类更多

APIAuthHTTPSCORS
0x

API for querying token and pool stats across various liquidity pools

No authYesYes
1inch

API for querying decentralize exchange

No authYesUnknown
Alchemy Ethereum

Ethereum Node-as-a-Service Provider

API KeyYesYes
Alpha (Mossland)

Korean crypto channel stance + RAG Q&A + canonical entity/topic/event store

No authYesYes
Binance

Exchange for Trading Cryptocurrencies based in China

API KeyYesUnknown