Gemini
加密货币交易所
- 认证方式
- No auth
- HTTPS
- Yes
- CORS
- Unknown
- 分类
- 加密货币
简介
Gemini 的 REST API 提供公开市场数据(行情、订单簿、成交)和带认证的交易。公开数据免密钥(实测可用);auth: No 指的是公开端点。
注(2026-08 实测):
/v1/price/{交易对}返回 404 “EndpointNotFound”——请用/v1/pubticker/{交易对}获取当前价格。
快速开始
当前价格(实测可用):
curl "https://api.gemini.com/v1/pubticker/btcusd"
{
"bid": "77043.79000",
"ask": "77043.80000",
"last": "77098.32000",
"volume": { "BTC": "567.70523847", "USD": "43769120.1412363704", "timestamp": 1787395140000 }
}
订单簿:
curl "https://api.gemini.com/v1/book/btcusd"
近期成交:
curl "https://api.gemini.com/v1/trades/btcusd"
认证方式
- 公开端点:无需认证(免密钥)。
- 私有端点(订单、余额):API 密钥 + 密钥载荷签名——见文档。
速率限制与注意事项
- 公开端点限流宽松(见文档);私有端点随密钥等级扩展。
- 交易对是小写对:
btcusd、ethusd、btcusdt…… - 交易对格式历史上变过——
pubticker是可靠的当前价格端点(实测)。
常见问题
Gemini API 免费吗? 公开市场数据免费且免密钥(实测)。
为什么 /v1/price 404?
该端点已退役——请用 /v1/pubticker/{交易对}(2026-08 实测)。
交易对格式是什么?
小写对,如 btcusd。
加密货币 分类更多
| 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 | ↗ |