Gate MCP

io.github.gateio-dev由 GitHub 账号 gateio-dev 发布v1.0.0更新于 Nov 9, 2026

Public Gate market data MCP for spot, futures, margin, options, delivery, earn, and alpha.

已验证Streamable HTTP可网页运行网页搜索与抓取金融数据与分析

概览

AI 生成的概览

Gate 的远程 MCP 服务器,让助手获取只读加密货币行情,并可选通过 OAuth 进行 CEX 交易、DEX 钱包与兑换、币种研究和新闻查询。

可以做什么
在无需登录的公共端点上查询现货、合约、杠杆、期权、交割、理财和 Alpha 行情,包括行情报价、订单簿、K 线、资金费率和爆仓历史。研究币种、市场快照、技术指标、链上活动、平台指标和宏观数据,并检索加密新闻、社交情绪、市场事件和预测市场。搜索研究报告、论文和文档。在交易所端点通过 OAuth 后,可管理账户、持仓、订单、钱包划转、充值提现、子账户、杠杆借贷、理财、P2P 和 TradFi。在 DEX 端点通过 OAuth 后,可查看链上钱包余额、签名消息,并在 20 多条链上报价、兑换和广播交易。
适用场景
当助手需要无需账户即可获取 Gate 实时行情、币种研究或加密新闻时使用;或者当你希望它在你自己的 Gate 或 Google 登录授权下进行交易、管理余额或操作链上钱包时使用。
运行要求
远程 streamable HTTP 端点,直接使用 HTTP 客户端时无需本地运行时。公共行情、信息、新闻和文档端点无需账户。交易所端点需要 Gate 账户和 OAuth2,并授予 trade、wallet 等 scope;DEX 端点需要 Google 或 Gate OAuth。部分客户端配置需要 Node.js 18 或更高版本配合 mcporter 或 mcp-remote,Claude Desktop 则需要 Python 代理。
安装前请注意
交易所端点可创建、撤销和修改订单,划转资金,充值提现,并管理子账户和 API 密钥,授予的 scope 会带来真实资金风险。DEX 端点可用钱包私钥签名消息和交易并在链上广播,兑换会不可逆地转移资金。README 中为 DEX 端点展示了 x-api-key 请求头和 bearer token,任何此类凭据都应视为机密。行情和账户活动会发送到 Gate 的服务器。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Gate MCP,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.gateio-dev%2Fgate-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "gate": {
      "type": "http",
      "url": "https://api.gatemcp.ai/mcp"
    }
  }
}

README

Gate MCP Server

[License: MIT] [MCP]

English | 中文


A Gate MCP (Model Context Protocol) server that enables AI agents to interact with the Gate cryptocurrency exchange for market data, trading, and account management.

Features

  • 🔍 Public Market Data - Spot, futures, margin, options, delivery, earn, alpha tickers, order books, K-line, funding rate, liquidation history (no auth required)
  • 💹 Trading - Create/cancel/amend spot, futures, options, delivery orders; price-triggered orders; trail orders
  • 💼 Account & Wallet - Balances, transfers, deposits, withdrawals, sub-accounts, unified account
  • 📊 Margin & Earn - Margin loans, earn products, multi-currency flash swap
  • 🎯 Activity & Welfare - Activity center, coupons, launch pool, square, welfare
  • 🌍 TradFi, CrossEx, P2P - Traditional finance, cross-exchange, P2P trading
  • 🌐 DEX - On-chain wallet, swap (single-chain & cross-chain), token info, market data across 20+ chains
  • 📰 Info - Coin discovery, market snapshots, technical/platform metrics, on-chain and macro data
  • 📢 News - Crypto news, social insights, market events, prediction markets
  • 📚 Docs - Research reports, papers, and documentation search
  • 🔐 OAuth2 - Secure authorization for trading and private tools

MCP Endpoints

The service exposes the following MCP endpoints:

EndpointAuthTools
https://api.gatemcp.ai/mcpNonePublic market data (58 tools: spot, futures, margin, options, delivery, earn, alpha, activity, launch pool, square, flash swap)
https://api.gatemcp.ai/mcp/exchangeOAuth2CEX trading & account (400+ tools: spot/futures/options/delivery/margin trading, wallet, unified account, sub-accounts, earn, flash swap, rebate, TradFi, CrossEx, P2P, Alpha, activity center, coupon, launch pool, square, welfare)
https://api.gatemcp.ai/mcp/dexGoogle / Gate OAuthDEX wallet & swap (33 tools: auth, wallet, chain config, transfer, swap, market data, token info, agentic, RPC across 20+ chains)
https://api.gatemcp.ai/mcp/infoNoneCoin info & analysis (32 tools: coins, snapshots, trends, on-chain, platform metrics, macro, market detail)
https://api.gatemcp.ai/mcp/open/infoNoneGate Info submission surface (exactly 7 tools: coin profile, market overview/snapshots, kline, order book, recent trades)
https://api.gatemcp.ai/mcp/newsNoneNews & research (18 tools: news/UGC/X/web, announcements, sentiment, events, prediction markets)
https://api.gatemcp.ai/mcp/docsNoneDocs research (3 tools: research search, coin research, papers)
  • Market data only → Use /mcp (no Gate account needed)
  • CEX trading, balances, transfers → Use /mcp/exchange (Gate OAuth2 required)
  • DEX wallet, swap, on-chain → Use /mcp/dex (Google / Gate OAuth required)
  • Coin info, technical analysis → Use /mcp/info (no auth)
  • ChatGPT / OpenAI Apps Gate Info listing → Use /mcp/open/info (7-tool allowlist; no auth)
  • News, announcements → Use /mcp/news (no auth)
  • Research docs & papers → Use /mcp/docs (no auth)

Transport: Streamable HTTP (with SSE fallback).

Authorization (OAuth2)

/mcp/exchange requires Gate OAuth2; /mcp/dex requires Google or Gate OAuth. The endpoints /mcp, /mcp/info, /mcp/open/info, /mcp/news, and /mcp/docs do not require any authentication.

Using mcporter

Prerequisites: Node.js >= 18, npm. See Quick Start - mcporter for full installation steps.

bash
# Add Private MCP (trading, requires OAuth)mcporter config add gate-mcp --url https://api.gatemcp.ai/mcp/exchange --auth oauth
# Authorize (opens browser to log in)mcporter auth gate-mcp

Scopes (for /mcp/exchange)

ScopeUse
marketPublic market data (tickers, order books, K-line, etc.)
profileAccount info, orders, positions (read-only)
tradeCreate/cancel/amend orders
walletTransfers, deposits, withdrawals
accountUnified account, sub-accounts

Quick Start

Prerequisites

  • Gate account (required only for /mcp/exchange)
  • MCP-compatible client (Cursor, Claude CLI, Trae, OpenClaw, etc.)
  • Node.js >= 18 (for mcporter, Trae, Qoder, and other npm-based clients)
  • Python >= 3.9 (optional, for Claude Desktop proxy)

Cursor

Method 1: One-click Install (Recommended)

Just paste the following into the Cursor AI chat — the agent will auto-install all Gate MCP servers and Skills:

Help me auto install Gate Skills and MCPs: https://github.com/gate/gate-skills

See gate-skills for details.

Method 2: Manual Configuration

For full trading (OAuth on connect):

Edit ~/.cursor/mcp.json:

json
{  "mcpServers": {    "Gate": {      "url": "https://api.gatemcp.ai/mcp/exchange",      "transport": "streamable-http",      "headers": {        "Content-Type": "application/json",        "Accept": "application/json, text/event-stream"      }    }  }}

For market data only (no auth):

json
{  "mcpServers": {    "Gate": {      "url": "https://api.gatemcp.ai/mcp",      "transport": "streamable-http",      "headers": {        "Content-Type": "application/json",        "Accept": "application/json, text/event-stream"      }    }  }}

For DEX (on-chain wallet, swap):

json
{  "mcpServers": {    "Gate-Dex": {      "url": "https://api.gatemcp.ai/mcp/dex",      "headers": {        "x-api-key": "MCP_AK_8W2N7Q",        "Authorization": "Bearer ${GATE_MCP_TOKEN}"      }    }  }}

For Info & News (no auth):

json
{  "mcpServers": {    "Gate-Info": {      "url": "https://api.gatemcp.ai/mcp/info"    },    "Gate-News": {      "url": "https://api.gatemcp.ai/mcp/news"    }  }}

See Cursor setup.

mcporter / OpenClaw

Method 1: One-click Install (Recommended)

Just paste the following into the OpenClaw AI chat — the agent will auto-install all Gate MCP servers and Skills:

Help me auto install Gate Skills and MCPs: https://github.com/gate/gate-skills

See gate-skills for details.

Method 2: Manual Configuration
Prerequisites (before installing mcporter)
  • Node.js >= 18 (mcporter requires npm)
  • npm (comes with Node.js) — verify with: node -v and npm -v
  • Gate account (for OAuth login when using /mcp/exchange)
Install mcporter
bash
# Global installnpm install -g mcporter
# Verify installationmcporter --version

Alternatively, run without installing: npx mcporter <command> (uses current Node.js/npm).

Add MCP and authorize
bash
# Add Private MCP (trading, OAuth)mcporter config add gate-mcp --url https://api.gatemcp.ai/mcp/exchange --auth oauth
# Authorize (opens browser to log in)mcporter auth gate-mcp
# Add DEX MCPmcporter config add gate-dex --url https://api.gatemcp.ai/mcp/dex
# Add Info MCP (no auth)mcporter config add gate-info --url https://api.gatemcp.ai/mcp/info
# Add News MCP (no auth)mcporter config add gate-news --url https://api.gatemcp.ai/mcp/news

See OpenClaw setup for detailed steps.

Claude CLI

Method 1: One-click Install (Recommended)

Just paste the following into Claude CLI — the agent will auto-install all Gate MCP servers and Skills:

Help me auto install Gate Skills and MCPs: https://github.com/gate/gate-skills

See gate-skills for details.

Method 2: Manual Configuration
bash
brew install claude-code# Full trading (OAuth)claude mcp add --transport http Gate https://api.gatemcp.ai/mcp/exchange# Restart Claude CLI after authorization is complete
# Info (no auth)claude mcp add --transport http Gate-Info https://api.gatemcp.ai/mcp/info
# News (no auth)claude mcp add --transport http Gate-News https://api.gatemcp.ai/mcp/news
claude mcp list

Trae

Edit Trae settings. Uses mcp-remote to proxy HTTP MCP (OAuth prompt on first connect for /mcp/exchange):

json
{  "mcpServers": {    "gate": {      "command": "npx",      "args": [        "-y",        "mcp-remote@latest",        "https://api.gatemcp.ai/mcp/exchange"      ]    },    "gate-info": {      "command": "npx",      "args": [        "-y",        "mcp-remote@latest",        "https://api.gatemcp.ai/mcp/info"      ]    },    "gate-news": {      "command": "npx",      "args": [        "-y",        "mcp-remote@latest",        "https://api.gatemcp.ai/mcp/news"      ]    }  }}

Qoder

Edit Qoder MCP settings (e.g. ~/.qoder/mcp.json or in Qoder settings):

json
{  "mcpServers": {    "gate": {      "command": "npx",      "args": [        "-y",        "mcp-remote@latest",        "https://api.gatemcp.ai/mcp/exchange"      ]    },    "gate-info": {      "command": "npx",      "args": [        "-y",        "mcp-remote@latest",        "https://api.gatemcp.ai/mcp/info"      ]    },    "gate-news": {      "command": "npx",      "args": [        "-y",        "mcp-remote@latest",        "https://api.gatemcp.ai/mcp/news"      ]    }  }}

Claude Desktop

Claude Desktop requires a local stdio proxy.

  1. Download the Python proxy file
  2. Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
json
{  "mcpServers": {    "Gate": {      "command": "python3",      "args": ["/path/to/gate-mcp-proxy.py"]    }  }}

See Claude Desktop setup for detailed instructions.

Alternative: gate-local-mcp (local stdio with API keys)

For local development without OAuth, use gate-local-mcp (npm: gate-mcp) — a stdio MCP server that uses GATE_API_KEY / GATE_API_SECRET (optional for public market data only). Configure it as a command-based MCP server (e.g. "command": "npx", "args": ["-y", "gate-mcp"]). By default it registers 384 tools across 22 modules (spot, futures, delivery, margin, wallet, account, options, earn, flash_swap, unified, sub_account, multi_collateral_loan, p2p, tradfi, crossex, alpha, rebate, activity, coupon, launch, square, welfare). Reduce the set with GATE_MODULES or --modules=spot,futures, or enable read-only mode with GATE_READONLY=true / --readonly.

Important: Wire-level tool names use abbreviations (futures→fx, delivery→dc, sub_account→sa, etc.); they differ from the remote api.gatemcp.ai naming. Always use the names returned by tools/list.

Full tool list: gate-local-mcp-tools.md.

LobeHub (desktop)

On the LobeHub MCP marketplace this server appears as identifier gate-gate-mcp. The npm package name is gate-mcp — run npx -y gate-mcp, not gate-gate-mcp.

Per LobeHub custom MCP, stdio servers work on the desktop app only; inject environment variables for Gate API authentication. Use Import JSON when adding a custom skill.

Public endpoints only:

json
{  "mcpServers": {    "gate-mcp": {      "command": "npx",      "args": ["-y", "gate-mcp"],      "type": "stdio"    }  }}

With API key authentication:

json
{  "mcpServers": {    "gate-mcp": {      "command": "npx",      "args": ["-y", "gate-mcp"],      "type": "stdio",      "env": {        "GATE_API_KEY": "your-api-key",        "GATE_API_SECRET": "your-api-secret"      }    }  }}

You can add GATE_MODULES, GATE_READONLY, or GATE_BASE_URL inside env as needed. Click Test connection before saving.

Other Clients

ClientGuide
Claude.aisetup
Codex Appsetup
Codex CLIsetup
OpenClawsetup
TraeSee Trae config above
QoderSee Qoder config above

Basic Usage

Query Price

What's the current price of BTC/USDT?

Get Order Book

Show me the order book for ETH/USDT

K-line Data

Get the daily K-line data for BTC over the last 7 days


Available Tools

All tools use the cex_ prefix. Tools are split between Public MCP (no auth) and Private MCP (OAuth2).

Public MCP (/mcp — no auth, 58 tools)

BusinessToolsDescription
Spot8cex_spot_list_currencies, cex_spot_get_currency, cex_spot_list_currency_pairs, cex_spot_get_currency_pair, cex_spot_get_spot_tickers, cex_spot_get_spot_order_book, cex_spot_get_spot_trades, cex_spot_get_spot_candlesticks
Futures14Contracts, order book, trades, candlesticks, tickers, funding rate, premium index, liquidation, contract stats, insurance ledger, index constituents, batch funding rates, risk limit tiers
Margin3cex_margin_list_uni_currency_pairs, cex_margin_get_uni_currency_pair, cex_margin_get_market_margin_tier
Options12Underlyings, expirations, contracts, settlements, order book, tickers, candlesticks, trades
Delivery8Contracts, order book, trades, candlesticks, tickers, insurance ledger, risk limit tiers
Earn5cex_earn_list_dual_investment_plans, cex_earn_list_structured_products, cex_earn_list_uni_currencies, cex_earn_list_earn_fixed_term_products, cex_earn_list_earn_fixed_term_products_by_asset
Alpha3cex_alpha_list_alpha_currencies, cex_alpha_list_alpha_tickers, cex_alpha_list_alpha_tokens
Activity1cex_activity_list_activity_types
Launch1cex_launch_list_launch_pool_projects
Square2cex_square_list_square_ai_search, cex_square_list_live_replay
Flash Swap1cex_fc_list_fc_currency_pairs

Private MCP (/mcp/exchange — OAuth2, 400+ tools)

Note: The private endpoint does not include public market data tools. Use /mcp for market data queries.

BusinessScopeKey Tools
Spotprofile / tradeAccounts, orders, trades, batch orders, price-triggered orders, countdown cancel, cross liquidate
Futuresprofile / tradeAccounts, positions, orders, trades, dual positions, trail orders, price-triggered, BBO orders
Marginprofile / tradeMargin accounts, loans, auto-repay, uni loans
Optionsprofile / tradeAccount, positions, orders, MMP settings
Deliveryprofile / tradeAccounts, positions, orders, price-triggered orders
WalletwalletTotal balance, transfers, deposits, withdrawals, deposit address, SA balances, small balance convert
UnifiedaccountUnified accounts, mode, loans, risk units, borrowable, collateral, leverage config
Sub-accountaccountCreate/list/lock/unlock SA, API keys
AccountaccountAccount detail, main keys, rate limit, debit fee, STP groups
RebateprofileAgency/partner/broker commission history, user info
Flash Swapprofile / tradecex_fc_list_fc_currency_pairs, cex_fc_list_fc_orders, cex_fc_create_fc_order_v1, multi-currency flash swap
Earnprofile / tradeDual/structured/uni products, orders, ETH2 swap, lend records
Alphaprofile / tradeAlpha accounts, orders, quote/place
TradFiprofile / tradeCategories, symbols, MT5 account, assets, orders, positions
CrossExprofile / tradeRule symbols, account, positions, orders, transfers, convert
P2Pprofile / tradeUser info, ads, chats, transactions, confirm payment/receipt
ActivityprofileActivity types, recommended activities, user participation
CouponprofileUser coupons, coupon details
Launch Poolprofile / tradeLaunchPool projects, pledge/redeem, reward records
SquaremarketAI search, live replay
WelfareprofileBeginner eligibility, task list and rewards

For full tool parameters, see Gate API Docs or gate-exchange-mcp.

DEX — Authentication

ToolDescription
dex_auth_google_login_startStart Google OAuth login flow, returns verification URL
dex_auth_google_login_pollPoll login status, returns mcp_token on success
dex_auth_login_google_walletLogin with Google OAuth authorization code
dex_auth_gate_login_startStart Gate OAuth login flow, returns verification URL
dex_auth_gate_login_pollPoll Gate OAuth login status, returns mcp_token on success
dex_auth_login_gate_walletLogin directly with Gate OAuth authorization code
dex_auth_logoutRevoke current session

DEX — Wallet

ToolDescription
dex_wallet_get_addressesGet wallet addresses for each chain (EVM, Solana)
dex_wallet_get_token_listToken balances with prices and pagination
dex_wallet_get_total_assetTotal portfolio value and 24h change
dex_wallet_sign_messageSign a message with wallet private key (EVM / Solana)
dex_wallet_sign_transactionSign a raw transaction with wallet private key

DEX — Chain & Transactions

ToolDescription
dex_chain_configChain configuration (chain ID, capabilities)
dex_tx_gasEstimate gas price and gas limit
dex_tx_transfer_previewPreview transfer details before signing
dex_tx_approve_previewToken approval preview: build ERC20/SPL approve transaction
dex_tx_get_sol_unsignedBuild unsigned Solana SOL transfer with latest blockhash
dex_tx_send_raw_transactionBroadcast signed transaction on-chain
dex_tx_quoteSwap quote with route, price impact and gas estimation
dex_tx_swapOne-click swap: quote → build → sign → submit
dex_tx_swap_detailQuery swap order status by order ID
dex_tx_list / dex_tx_detail / dex_tx_history_listTransaction & swap / bridge history

DEX — Market Data & Token Info

ToolDescription
dex_market_get_klineK-line (candlestick) data: 1m, 5m, 1h, 4h, 1d
dex_market_get_tx_statsTrading volume and trader statistics (5m / 1h / 4h / 24h)
dex_market_get_pair_liquidityLiquidity pool add / remove events
dex_token_list_swap_tokensAvailable tokens for swap on a given chain
dex_token_list_cross_chain_bridge_tokensBridgeable tokens for cross-chain transfers
dex_token_get_coin_infoToken info: price, market cap, supply, holder distribution
dex_token_ranking24h top gainers / top losers
dex_token_get_coins_range_by_created_atDiscover new tokens by creation time range
dex_token_get_risk_infoSecurity audit: honeypot, buy/sell tax, blacklist, permissions

DEX — Agentic & RPC

ToolDescription
dex_agentic_reportReport agentic wallet addresses to wallet service
dex_rpc_callExecute JSON-RPC call to blockchain node

For full DEX tool parameters, see gate-dex-mcp. For the Agentic Wallet subset (auth, wallet, market data, resources), see gate-agentic-wallet-mcp.

Info (/mcp/info — 32 tools, no auth)

Public, read-only market research. Categories (full parameter tables: gate-info-mcp):

CategoryTools
Coininfo_coin_get_coin_info, info_coin_search_coins, info_coin_get_coin_rankings
Market snapshotinfo_marketsnapshot_get_market_snapshot, info_marketsnapshot_batch_market_snapshot, info_marketsnapshot_get_market_overview, info_marketsnapshot_get_institutional_metrics
Market trendinfo_markettrend_get_kline, info_markettrend_get_indicator_history, info_markettrend_get_technical_analysis
On-chaininfo_onchain_get_address_info, info_onchain_get_address_transactions, info_onchain_get_transaction, info_onchain_get_token_onchain
Complianceinfo_compliance_check_token_security
Platform metricsinfo_platformmetrics_get_platform_info, info_platformmetrics_search_platforms, info_platformmetrics_get_defi_overview, info_platformmetrics_get_stablecoin_info, info_platformmetrics_get_bridge_metrics, info_platformmetrics_get_yield_pools, info_platformmetrics_get_platform_history, info_platformmetrics_get_exchange_reserves, info_platformmetrics_get_liquidation_heatmap, info_platformmetrics_get_cex_orderbook_depth, info_platformmetrics_get_chain_activity
Macroinfo_macro_get_macro_indicator, info_macro_get_economic_calendar, info_macro_get_macro_summary
Market detailinfo_marketdetail_get_orderbook, info_marketdetail_get_recent_trades, info_marketdetail_get_kline

Open Info (/mcp/open/info — 7 tools, no auth)

ChatGPT / OpenAI Apps submission allowlist only. Full parameter tables: gate-open-info-mcp.

CategoryTools
Coininfo_coin_get_coin_info
Market snapshotinfo_marketsnapshot_get_market_overview, info_marketsnapshot_get_market_snapshot, info_marketsnapshot_batch_market_snapshot
Market detailinfo_marketdetail_get_kline, info_marketdetail_get_orderbook, info_marketdetail_get_recent_trades

News (/mcp/news — 18 tools, no auth)

Public, read-only news and social research. Categories (full parameter tables: gate-news-mcp):

CategoryTools
News feednews_feed_search_news, news_feed_web_search, news_feed_search_x, news_feed_search_ugc, news_feed_get_exchange_announcements, news_feed_get_social_sentiment, news_feed_get_mention_burst, news_feed_get_hot_topics
Eventsnews_events_get_latest_events, news_events_get_event_detail, news_events_explain_market_move, news_events_get_market_move_report, news_events_list_market_move_reports
Predictionnews_prediction_get_volume_delta_ranking, news_prediction_get_fastest_rising_ranking, news_prediction_get_market_orderbook, news_prediction_search_events, news_prediction_get_event_signal

MCP Resources

The /mcp and /mcp/exchange endpoints also expose MCP Resources for static reference data:

Resource URIDescription
gate://spot/currency_pairsAll spot trading pairs
gate://spot/currenciesAll supported currencies
gate://futures/contracts/usdtUSDT-settled futures contracts
gate://futures/contracts/btcBTC-settled futures contracts
gate://futures/contracts/{settle}Futures contracts by settlement currency

FAQ

Q: Do I need a Gate account?

A: Only for CEX trading and DEX wallet. /mcp, /mcp/info, /mcp/open/info, /mcp/news, and /mcp/docs are fully public — no account needed. /mcp/exchange (CEX trading, balances, transfers) requires Gate OAuth2. /mcp/dex (on-chain wallet, swap) requires Google or Gate OAuth.

Q: Does it support trading?

A: Yes. Connect to https://api.gatemcp.ai/mcp/exchange with OAuth2. The server supports spot and futures trading, account management, wallet transfers, and sub-accounts. Each tool requires the appropriate scope (e.g. trade, wallet).

Q: How often is the data updated?

A: Data is queried in real-time from Gate's API.


Privacy & Security

  • OAuth2 authorization via Gate account (no API keys stored in config)
  • All API calls use HTTPS
  • See Gate Privacy Policy

Support & Feedback

  • API Documentation: Gate API Docs
  • Issue Reporting: Please contact Gate support
  • Business Inquiries: Contact Gate official channels

Contributing

See CONTRIBUTING.md.

License

MIT © gate.com

来源:README.md,提交 801c4e3

工具

83

cex_alpha_list_alpha_currencies

List Alpha currencies.

输入参数pagelimitcurrency

cex_alpha_list_alpha_tickers

List Alpha tickers.

输入参数pagelimitcurrency

cex_alpha_list_alpha_tokens

List Alpha tokens.

输入参数pagechainaddresslaunch_platform

cex_cfd_query_categories

List all TradFi instrument categories

无需输入参数。

cex_cfd_query_symbol_kline

Get kline/OHLCV data for a TradFi symbol

输入参数limitsymbol必填end_timebegin_timekline_type必填

cex_cfd_query_symbol_ticker

Get latest ticker for a TradFi symbol

输入参数symbol必填

cex_cfd_query_symbols

List all available TradFi trading symbols

无需输入参数。

cex_dc_get_dc_contract

Get delivery contract.

输入参数settle必填contract必填

cex_dc_list_dc_candlesticks

List delivery candlesticks.

输入参数tofromlimitsettle必填contract必填interval

cex_dc_list_dc_contracts

List delivery contracts.

输入参数settle必填

cex_dc_list_dc_insurance_ledger

List delivery insurance ledger.

输入参数limitsettle必填

cex_dc_list_dc_order_book

Get delivery order book.

输入参数limitsettle必填with_idcontract必填interval

cex_dc_list_dc_risk_limit_tiers

List delivery risk limit tiers.

输入参数limitoffsetsettle必填contract

cex_dc_list_dc_tickers

List delivery tickers.

输入参数settle必填contract

cex_dc_list_dc_trades

List delivery trades.

输入参数tofromlimitsettle必填last_idcontract必填

cex_earn_get_dual_stock_project_recommend

Get recommendations for stock dual investment products

输入参数coinmodetypehistory_pids

cex_earn_get_uni_currency

Get Simple Earn currency details.

输入参数currency必填

cex_earn_list_dual_investment_plans

List dual investment plans.

输入参数coinpagesorttypeplan_idpage_sizequote_currency

cex_earn_list_dual_stock_investment_plans

List stock dual investment products

输入参数coinpagesorttypeplan_idpage_sizequote_currency

cex_earn_list_earn_fixed_term_products

List fixed-term Earn products.

输入参数page必填typeassetlimit必填statusshow_status

cex_earn_list_earn_fixed_term_products_by_asset

List fixed-term Earn products by asset.

输入参数typeasset必填

cex_earn_list_uni_currencies

List Simple Earn currencies.

无需输入参数。

cex_fc_list_fc_currency_pairs

List all supported flash swap currency pairs

输入参数pagelimitcurrency

cex_fx_get_fx_candlesticks

Get futures candlestick/OHLCV data

输入参数tofromlimitsettle必填contract必填intervaltimezone

cex_fx_get_fx_contract

Get details of a single futures contract

输入参数settle必填contract必填

cex_fx_get_fx_funding_rate

Get funding rate history for a futures contract

输入参数tofromlimitsettle必填contract必填

cex_fx_get_fx_order_book

Get futures order book

输入参数limitsettle必填with_idcontract必填interval

cex_fx_get_fx_premium_index

Get premium index (mark price minus index price) history for a contract

输入参数tofromlimitsettle必填contract必填interval

cex_fx_get_fx_risk_limit_table

Get a specific risk limit tier table by table ID.

输入参数settle必填table_id必填

cex_fx_get_fx_tickers

Get ticker information for futures contracts

输入参数settle必填contract

cex_fx_get_fx_trades

Get recent public trades for a futures contract

输入参数tofromlimitoffsetsettle必填last_idcontract必填

cex_fx_get_index_constituents

Get constituent assets and weights for a futures index

输入参数index必填settle必填

cex_fx_list_batch_fx_funding_rates

Get current funding rates for multiple contracts in one request

输入参数settle必填contracts必填

cex_fx_list_contract_stats

Get contract statistics (open interest, long/short ratio, etc.)

输入参数fromlimitsettle必填contract必填interval

cex_fx_list_fx_adl_risk_states

List market-level ADL risk states List the current ADL risk states of all futures markets for the specified settlement currency

输入参数settle必填

cex_fx_list_fx_contracts

List all perpetual futures contracts

输入参数limitoffsetsettle必填

cex_fx_list_fx_contracts_all

Query all contract information (including delisted)

输入参数limitoffsetsettle必填

cex_fx_list_fx_insurance_ledger

Get futures insurance fund history

输入参数limitsettle必填

cex_fx_list_fx_liq_orders

Get personal futures liquidation history.

输入参数tofromlimitsettle必填contract

cex_fx_list_fx_risk_limit_tiers

Get risk limit tiers for a futures contract

输入参数limitoffsetsettle必填contract

cex_fx_list_fx_rpi_order_book

Query futures RPI order book Bids will be sorted by price from high to low, while asks sorted reversely

输入参数limitsettle必填with_idcontract必填interval

cex_margin_get_market_margin_tier

Get margin leverage tiers for a currency pair

输入参数currency_pair必填

cex_margin_get_uni_currency_pair

Get details of a specific unified margin currency pair

输入参数currency_pair必填

cex_margin_list_uni_currency_pairs

List all currency pairs supported for unified margin lending

无需输入参数。

cex_mcl_get_multi_collateral_current_rate

Get current interest rates for specified currencies in multi-collateral loans (public)

输入参数vip_levelcurrencies必填

cex_mcl_get_multi_collateral_fix_rate

Get available fixed interest rates for multi-collateral loans (public)

无需输入参数。

cex_mcl_get_multi_collateral_ltv

Get LTV (Loan-to-Value) ratios for multi-collateral loans (public)

无需输入参数。

cex_mcl_list_multi_collateral_currencies

List all supported currencies for multi-collateral loans (public)

无需输入参数。

cex_options_get_options_contract

Get details of a single options contract

输入参数contract必填

cex_options_get_options_settlement

Get a single options settlement record

输入参数at必填contract必填underlying必填

cex_options_list_options_candlesticks

Get options candlestick data

输入参数tofromlimitcontract必填interval

cex_options_list_options_contracts

List all options contracts for an underlying

输入参数expirationunderlying必填

cex_options_list_options_expirations

List option expiration dates for an underlying

输入参数underlying必填

cex_options_list_options_order_book

Get options order book

输入参数limitwith_idcontract必填interval

cex_options_list_options_settlements

List options settlement history for an underlying

输入参数tofromlimitoffsetunderlying必填

cex_options_list_options_tickers

Get options tickers for an underlying

输入参数underlying必填

cex_options_list_options_trades

List public options trades

输入参数tofromtypelimitoffsetcontract

cex_options_list_options_underlying_candlesticks

Get candlestick data for an options underlying index

输入参数tofromlimitintervalunderlying必填

cex_options_list_options_underlying_tickers

Get ticker data for all contracts under an underlying

输入参数underlying必填

cex_options_list_options_underlyings

List all options underlying assets

无需输入参数。

cex_spot_get_currency

Get details of a single currency

输入参数currency必填

cex_spot_get_currency_pair

Get details of a single currency pair

输入参数currency_pair必填

cex_spot_get_spot_candlesticks

Get candlestick/OHLCV data for a currency pair

输入参数tofromlimitintervalcurrency_pair必填

cex_spot_get_spot_insurance_history

Get spot insurance fund history for a currency

输入参数to必填from必填pagelimitbusiness必填currency必填

cex_spot_get_spot_order_book

Get the order book for a currency pair

输入参数limitwith_idintervalcurrency_pair必填

cex_spot_get_spot_tickers

Get ticker information for one or all currency pairs

输入参数timezonecurrency_pair

cex_spot_get_spot_trades

Get recent trades for a currency pair

输入参数tofrompagelimitlast_idreversecurrency_pair必填

cex_spot_list_currencies

List all currencies supported

无需输入参数。

cex_spot_list_currency_pairs

List all available spot trading pairs

无需输入参数。

cex_spot_list_spot_rpi_order_book

Get the RPI order book Get the RPI order book, with bids sorted by descending price and asks by ascending price.

输入参数limitwith_idintervalcurrency_pair必填

cex_square_list_live_replay

List live stream replays from Gate Square

输入参数tagcoinsortlimit

cex_stock_query_stock_exchanges

Query supported exchanges Query stock spot supported exchanges and whether stock transfers are supported. Rate limit: 5 qps.

无需输入参数。

cex_stock_query_stock_fee_rate

Query fee rates for Japanese and Korean stocks Query fee rates for Japanese and Korean stocks. Rate limit: 5 qps.

无需输入参数。

cex_stock_query_stock_order_book

Query market order book Rate limit: 5 qps.

输入参数symbol必填

cex_stock_query_stock_symbol_detail

Query symbol details Rate limit: 5 qps.

输入参数pagesymbolsexchangepage_size

cex_stock_query_stock_symbols

Query symbol list Rate limit: 5 qps.

输入参数pagesymbolsexchangepage_sizewith_desc_i18n

cex_unified_calculate_portfolio_margin

Calculate portfolio margin for hypothetical positions (read-only simulation).

输入参数body必填

cex_unified_get_history_loan_rate

Get historical loan rates for a currency.

输入参数pagetierlimitcurrency必填

cex_unified_list_currency_discount_tiers

List currency discount tiers for unified account collateral

无需输入参数。

cex_unified_list_loan_margin_tiers

List loan margin tiers for unified account

无需输入参数。

cex_unified_list_unified_currencies

List currencies supported in unified account.

输入参数currency

cex_wallet_list_currency_chains

List chains supported for a currency

输入参数currency必填

版本历史

1
  1. v1.0.0最新Sep 16, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分