freeapis

Gateio

API 提供现货、保证金和期货交易操作

认证方式
API Key
HTTPS
Yes
CORS
Unknown

简介

Gate.io 的 V4 API 提供现货、杠杆和合约市场数据与交易。公开市场数据免密钥(实测可用);API 密钥用于私有端点。

快速开始

现货行情(实测可用):

curl "https://api.gateio.ws/api/v4/spot/tickers?currency_pair=BTC_USDT"
[
  {
    "currency_pair": "BTC_USDT",
    "last": "77090.5",
    "low_24h": "76000",
    "high_24h": "78000",
    "change_percentage": "1.2",
    "base_volume": "12345.67",
    "quote_volume": "950000000"
  }
]

订单簿:

curl "https://api.gateio.ws/api/v4/spot/order_book?currency_pair=BTC_USDT&limit=5"

币种:

curl "https://api.gateio.ws/api/v4/spot/currencies"

认证方式

  • 公开端点:无需认证(免密钥)。
  • 私有端点:KEY/SIGN/Timestamp 请求头 + HMAC-SHA512 签名——见文档。

速率限制与注意事项

  • 公开端点:按 IP 限流(见文档);私有密钥可提高。
  • 交易对用下划线BTC_USDT(不是短横线)。
  • V4 是当前 API——V2 是旧版。
  • api.gateio.ws 是全局 API 主机(还有区域主机)。

常见问题

Gate.io 公开数据免费吗? 是的——公开市场数据免密钥(实测)。

交易对格式是什么? 下划线对:BTC_USDT

哪个 API 版本? V4(api.gateio.ws/api/v4)。

加密货币 分类更多

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