Coinlayer
实时加密货币汇率
- 认证方式
- API Key
- HTTPS
- Yes
- CORS
- Unknown
- 分类
- 加密货币
简介
Coinlayer(APILayer 产品)提供 380+ 币种对 168 种法币和加密货币的实时与历史汇率,基于简单的密钥 REST API。是价格小组件和持仓工具的直接选择。
快速开始
某币种的实时汇率(替换 YOUR_KEY):
curl "https://api.coinlayer.com/live?access_key=YOUR_KEY&symbols=BTC"
历史汇率:
curl "https://api.coinlayer.com/2024-01-15?access_key=YOUR_KEY&symbols=BTC,ETH"
法币/加密换算:
curl "https://api.coinlayer.com/convert?access_key=YOUR_KEY&from=BTC&to=USD&amount=1"
支持的币种列表:
curl "https://api.coinlayer.com/list?access_key=YOUR_KEY"
认证方式
- 在 coinlayer.com 注册获取免费密钥(邮件发送)。
- 通过
access_key查询参数携带。
速率限制与注意事项
- 免费层:100 次请求/月——较小;付费档可扩展。
- 免费层每小时更新一次汇率(付费档更新更频繁)。
symbols可过滤响应,只返回你需要的币种(减小载荷)。- 免费层只覆盖有限币种的实时汇率;历史数据在付费档。
常见问题
Coinlayer 免费吗? 免费层:100 次请求/月;更多需要付费。
如何获取密钥? 在 coinlayer.com 注册——access key 会邮件发送。
免费能获取历史汇率吗? 不能——历史数据在付费档。
加密货币 分类更多
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| 0x API for querying token and pool stats across various liquidity pools | No auth | Yes | Yes | ↗ |
| 1inch API for querying decentralize exchange | No auth | Yes | Unknown | ↗ |
| Alchemy Ethereum Ethereum Node-as-a-Service Provider | API Key | Yes | Yes | ↗ |
| Alpha (Mossland) Korean crypto channel stance + RAG Q&A + canonical entity/topic/event store | No auth | Yes | Yes | ↗ |
| Binance Exchange for Trading Cryptocurrencies based in China | API Key | Yes | Unknown | ↗ |