MCPサーバー

Gate MCP

io.github.gateio-dev/gate-mcp

このMCPでできること

Provides public Gate exchange market data for spot, futures, delivery, margin, options, Alpha, Earn products, order books, candlesticks, funding rates, trades, and contract statistics.

cex_activity_list_activity_types
List activity types.
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object'}
cex_alpha_list_alpha_currencies
List Alpha currencies.
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'properties': {'page': {'type': 'number', 'description': 'Page number'}, 'limit': {'type': 'number', 'description': 'Maximum number of records returned in a single list'}, 'currency': {'type': 'string', 'description': 'Query by currency symbol'}}}
cex_alpha_list_alpha_tickers
List Alpha tickers.
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'properties': {'page': {'type': 'number', 'description': 'Page number'}, 'limit': {'type': 'number', 'description': 'Maximum number of records returned in a single list'}, 'currency': {'type': 'string', 'description': 'Query by specified currency name'}}}
cex_alpha_list_alpha_tokens
List Alpha tokens.
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'properties': {'page': {'type': 'number', 'description': 'Page number'}, 'chain': {'type': 'string', 'description': 'Chain: solana, eth, bsc, base, world, sui, arbitrum, avalanche, polygon, linea, optimism, zksync, gatelayer'}, 'address': {'type': 'string', 'description': 'Query by contract address'}, 'launch_platform': {'type': 'string', 'description': 'Launch platform: meteora_dbc, fourmeme, moonshot, pump, raydium_launchlab, letsbonk, gatefun, virtuals'}}}
cex_dc_get_dc_contract
Get delivery contract.
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'required': ['contract'], 'properties': {'settle': {'type': 'string', 'description': 'Settlement currency for delivery (e.g. usdt, btc)'}, 'contract': {'type': 'string', 'description': 'Delivery contract identifier (e.g. BTC_USDT)'}}}
cex_dc_list_dc_candlesticks
List delivery candlesticks.
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'required': ['contract'], 'properties': {'to': {'type': 'number', 'description': 'End timestamp in seconds'}, 'from': {'type': 'number', 'description': 'Start timestamp in seconds'}, 'limit': {'type': 'number', 'description': 'Maximum number of data points to return'}, 'settle': {'type': 'string', 'description': 'Settlement currency for delivery (e.g. usdt, btc)'}, 'contract': {'type': 'string', 'description': 'Delivery contract identifier (e.g. BTC_USDT; may use mark_/index_ prefix for price type)'}, 'interval': {'type': 'string', 'description': 'Time interval for data points'}}}
cex_dc_list_dc_contracts
List delivery contracts.
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'properties': {'settle': {'type': 'string', 'description': 'Settlement currency for delivery (e.g. usdt, btc)'}}}
cex_dc_list_dc_insurance_ledger
List delivery insurance ledger.
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'properties': {'limit': {'type': 'number', 'description': 'Maximum number of records to return'}, 'settle': {'type': 'string', 'description': 'Settlement currency for delivery (e.g. usdt, btc)'}}}
cex_dc_list_dc_order_book
Get delivery order book.
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'required': ['contract'], 'properties': {'limit': {'type': 'number', 'description': 'Maximum number of order depth levels to return'}, 'settle': {'type': 'string', 'description': 'Settlement currency for delivery (e.g. usdt, btc)'}, 'with_id': {'type': 'boolean', 'description': 'Whether to return order book update ID'}, 'contract': {'type': 'string', 'description': 'Delivery contract identifier (e.g. BTC_USDT)'}, 'interval': {'type': 'string', 'description': 'Order depth aggregation precision. 0 means no aggregation, defaults to 0 if not specified'}}}
cex_dc_list_dc_risk_limit_tiers
List delivery risk limit tiers.
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'properties': {'limit': {'type': 'number', 'description': 'Maximum number of records to return'}, 'offset': {'type': 'number', 'description': 'List offset, starting from 0'}, 'settle': {'type': 'string', 'description': 'Settlement currency for delivery (e.g. usdt, btc)'}, 'contract': {'type': 'string', 'description': 'Optional delivery contract identifier; if set, risk tiers for that contract only'}}}
cex_dc_list_dc_tickers
List delivery tickers.
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'properties': {'settle': {'type': 'string', 'description': 'Settlement currency for delivery (e.g. usdt, btc)'}, 'contract': {'type': 'string', 'description': "Optional delivery contract identifier; if set, only that contract's ticker is returned"}}}
cex_dc_list_dc_trades
List delivery trades.
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'required': ['contract'], 'properties': {'to': {'type': 'number', 'description': 'End timestamp in seconds'}, 'from': {'type': 'number', 'description': 'Start timestamp in seconds'}, 'limit': {'type': 'number', 'description': 'Maximum number of records to return'}, 'settle': {'type': 'string', 'description': 'Settlement currency for delivery (e.g. usdt, btc)'}, 'last_id': {'type': 'string', 'description': 'Specify list starting point using the last record ID from previous request'}, 'contract': {'type': 'string', 'description': 'Delivery contract identifier (e.g. BTC_USDT)'}}}
cex_earn_list_dual_investment_plans
List dual investment plans.
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'properties': {'coin': {'type': 'string', 'description': 'Investment currency, e.g. BTC'}, 'page': {'type': 'number', 'description': 'Page number'}, 'sort': {'type': 'string', 'description': 'Sort: apy (APR desc), short-period (term asc), multiple (premium desc)'}, 'type': {'type': 'string', 'description': 'put (low buy) or call (high sell)'}, 'plan_id': {'type': 'number', 'description': 'Financial project ID (int64)'}, 'page_size': {'type': 'number', 'description': 'Items per page'}, 'quote_currency': {'type': 'string', 'description': 'Settlement currency: default USDT, optional GUSD'}}}
cex_earn_list_earn_fixed_term_products
List fixed-term Earn products.
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'required': ['page', 'limit'], 'properties': {'page': {'type': 'number', 'description': 'Page number'}, 'type': {'type': 'number', 'description': 'Product type: 1=normal, 2=vip'}, 'asset': {'type': 'string', 'description': 'Currency name, e.g. USDT'}, 'limit': {'type': 'number', 'description': 'Page size'}}}
cex_earn_list_earn_fixed_term_products_by_asset
List fixed-term Earn products by asset.
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'required': ['asset'], 'properties': {'type': {'type': 'string', 'description': 'Product type: empty or 1=normal, 2=vip, 0=all'}, 'asset': {'type': 'string', 'description': 'Currency name, e.g. USDT, BTC'}}}
cex_earn_list_uni_currencies
List Simple Earn currencies.
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object'}
cex_fx_get_fx_candlesticks
Get futures candlestick/OHLCV data
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'required': ['contract'], 'properties': {'to': {'type': 'number', 'description': 'End timestamp in seconds, defaults to current time if not specified'}, 'from': {'type': 'number', 'description': 'Start timestamp in seconds. Defaults to to - 100 * interval if not specified'}, 'limit': {'type': 'number', 'description': 'Maximum number of data points to return. Mutually exclusive with from/to parameters'}, 'settle': {'type': 'string', 'description': 'Settlement currency'}, 'contract': {'type': 'string', 'description': 'Futures contract name'}, 'interval': {'type': 'string', 'description': 'Time interval. Note: 1w means natural week, 7d aligns with Unix epoch, 30d means natural month'}, 'timezone': {'type': 'string', 'description': 'Timezone: all/utc0/utc8, defaults to utc0'}}}
cex_fx_get_fx_contract
Get details of a single futures contract
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'required': ['contract'], 'properties': {'settle': {'type': 'string', 'description': 'Settlement currency'}, 'contract': {'type': 'string', 'description': 'Futures contract name'}}}
cex_fx_get_fx_funding_rate
Get funding rate history for a futures contract
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'required': ['contract'], 'properties': {'to': {'type': 'number', 'description': 'End timestamp in seconds'}, 'from': {'type': 'number', 'description': 'Start timestamp in seconds'}, 'limit': {'type': 'number', 'description': 'Maximum number of records to return'}, 'settle': {'type': 'string', 'description': 'Settlement currency'}, 'contract': {'type': 'string', 'description': 'Futures contract name'}}}
cex_fx_get_fx_order_book
Get futures order book
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'required': ['contract'], 'properties': {'limit': {'type': 'number', 'description': 'Maximum number of order depth levels to return'}, 'settle': {'type': 'string', 'description': 'Settlement currency'}, 'with_id': {'type': 'boolean', 'description': 'Whether to return order book update ID. ID increments by 1 on each change'}, 'contract': {'type': 'string', 'description': 'Futures contract name'}, 'interval': {'type': 'string', 'description': 'Order depth aggregation precision. 0 means no aggregation, defaults to 0 if not specified'}}}
cex_fx_get_fx_premium_index
Get premium index (mark price minus index price) history for a contract
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'required': ['contract'], 'properties': {'to': {'type': 'number', 'description': 'End timestamp in seconds, defaults to current time if not specified'}, 'from': {'type': 'number', 'description': 'Start timestamp in seconds. Defaults to to - 100 * interval if not specified'}, 'limit': {'type': 'number', 'description': 'Maximum number of data points to return. Mutually exclusive with from/to parameters'}, 'settle': {'type': 'string', 'description': 'Settlement currency'}, 'contract': {'type': 'string', 'description': 'Futures contract name'}, 'interval': {'type': 'string', 'description': 'Time interval for data points'}}}
cex_fx_get_fx_risk_limit_table
Get a specific risk limit tier table by table ID.
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'required': ['settle', 'table_id'], 'properties': {'settle': {'type': 'string', 'description': 'Settlement currency: usdt or btc'}, 'table_id': {'type': 'string', 'description': 'Risk limit table ID'}}}
cex_fx_get_fx_tickers
Get ticker information for futures contracts
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'properties': {'settle': {'type': 'string', 'description': 'Settlement currency'}, 'contract': {'type': 'string', 'description': 'Futures contract name. Only returns data for this contract if specified'}}}
cex_fx_get_fx_trades
Get recent public trades for a futures contract
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'required': ['contract'], 'properties': {'to': {'type': 'number', 'description': 'End timestamp in seconds, defaults to current time if not specified'}, 'from': {'type': 'number', 'description': 'Start timestamp in seconds. If not specified, returns records limited by to and limit'}, 'limit': {'type': 'number', 'description': 'Maximum number of records to return'}, 'offset': {'type': 'number', 'description': 'List offset, starting from 0'}, 'settle': {'type': 'string', 'description': 'Settlement currency'}, 'last_id': {'type': 'string', 'description': 'Specify list starting point using the last record ID from previous request'}, 'contract': {'type': 'string', 'description': 'Futures contract name'}}}
cex_fx_get_index_constituents
Get constituent assets and weights for a futures index
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'required': ['index'], 'properties': {'index': {'type': 'string', 'description': 'Index name'}, 'settle': {'type': 'string', 'description': 'Settlement currency'}}}
cex_fx_list_batch_fx_funding_rates
Get current funding rates for multiple contracts in one request
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'required': ['contracts'], 'properties': {'settle': {'type': 'string', 'description': 'Settlement currency'}, 'contracts': {'type': 'string', 'description': 'Comma-separated list of contract names, e.g. BTC_USDT,ETH_USDT'}}}
cex_fx_list_contract_stats
Get contract statistics (open interest, long/short ratio, etc.)
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'required': ['contract'], 'properties': {'from': {'type': 'number', 'description': 'Start timestamp in seconds'}, 'limit': {'type': 'number', 'description': 'Maximum number of data points to return'}, 'settle': {'type': 'string', 'description': 'Settlement currency'}, 'contract': {'type': 'string', 'description': 'Futures contract name'}, 'interval': {'type': 'string', 'description': 'Time interval for data points'}}}
cex_fx_list_fx_contracts
List all perpetual futures contracts
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'properties': {'limit': {'type': 'number', 'description': 'Maximum number of records to return'}, 'offset': {'type': 'number', 'description': 'List offset, starting from 0'}, 'settle': {'type': 'string', 'description': 'Settlement currency'}}}
cex_fx_list_fx_insurance_ledger
Get futures insurance fund history
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'properties': {'limit': {'type': 'number', 'description': 'Maximum number of records to return'}, 'settle': {'type': 'string', 'description': 'Settlement currency'}}}
cex_fx_list_fx_liq_orders
Get personal futures liquidation history.
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'properties': {'to': {'type': 'number', 'description': 'End timestamp in seconds'}, 'from': {'type': 'number', 'description': 'Start timestamp in seconds'}, 'limit': {'type': 'number', 'description': 'Maximum number of records to return'}, 'settle': {'type': 'string', 'description': 'Settlement currency'}, 'contract': {'type': 'string', 'description': 'Futures contract name. Only returns data for this contract if specified'}}}
cex_launch_get_candy_drop_activity_list_v4
List CandyDrop activities with optional filters (public, no auth)
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'properties': {'limit': {'type': 'number', 'description': 'Max rows to return, default 10, max 30'}, 'offset': {'type': 'number', 'description': 'Offset for pagination, default 0'}, 'status': {'type': 'string', 'description': 'ongoing | upcoming | ended; omit for all'}, 'currency': {'type': 'string', 'description': 'Filter by currency name'}, 'rule_name': {'type': 'string', 'description': 'Task type filter: spot, futures, deposit, invite, trading_bot, simple_earn, first_deposit, alpha, flash_swap, tradfi, etf'}, 'register_status': {'type': 'string', 'description': 'registered | unregistered; omit for all'}}}
cex_launch_get_candy_drop_activity_rules_v4
Get CandyDrop activity rules including prize pools and tasks (public). Pass activity_id OR currency (at least one required by API)
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'properties': {'currency': {'type': 'string', 'description': 'Project/currency name; use with or instead of activity_id'}, 'activity_id': {'type': 'number', 'description': 'Activity ID; use with or instead of currency'}}}
cex_launch_get_hodler_airdrop_project_list
List HODLer Airdrop campaigns with optional filters (public; logged-in users may see extra participation info)
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'properties': {'join': {'type': 'number', 'description': 'Participation filter: 0=all (default), 1=joined only. Omit parameter to use API default (all)'}, 'page': {'type': 'number', 'description': 'Page number, starting from 1'}, 'size': {'type': 'number', 'description': 'Items per page, default 10'}, 'status': {'type': 'string', 'description': 'Filter: ACTIVE, UNDERWAY, PREHEAT, FINISH; omit for all'}, 'keyword': {'type': 'string', 'description': 'Fuzzy match on currency or project name'}}}
cex_launch_list_launch_pool_projects
List launch pool projects with optional filters
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'properties': {'page': {'type': 'number', 'description': 'Page number, starting from 1'}, 'status': {'type': 'number', 'description': 'Project status filter: 0=All, 1=In progress, 2=Warming up, 3=Ended, 4=In progress + Warming up'}, 'page_size': {'type': 'number', 'description': 'Items per page, default 10, max 30'}, 'sort_type': {'type': 'number', 'description': 'Sort type: 1=Max APR descending, 2=Max APR ascending'}, 'limit_rule': {'type': 'number', 'description': 'Limit rule: 0=Normal pool, 1=Newbie pool'}, 'search_coin': {'type': 'string', 'description': 'Reward currency & name fuzzy match'}, 'mortgage_coin': {'type': 'string', 'description': 'Staking currency exact match'}}}
cex_margin_get_market_margin_tier
Get margin leverage tiers for a currency pair
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'required': ['currency_pair'], 'properties': {'currency_pair': {'type': 'string', 'description': 'Currency pair, e.g. BTC_USDT'}}}
cex_margin_get_uni_currency_pair
Get details of a specific unified margin currency pair
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'required': ['currency_pair'], 'properties': {'currency_pair': {'type': 'string', 'description': 'Currency pair, e.g. ADA_USDT'}}}
cex_margin_list_uni_currency_pairs
List all currency pairs supported for unified margin lending
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object'}
cex_mcl_get_multi_collateral_current_rate
Get current interest rates for specified currencies in multi-collateral loans (public)
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'required': ['currencies'], 'properties': {'vip_level': {'type': 'string', 'description': 'VIP level, defaults to 0 if not specified'}, 'currencies': {'type': 'string', 'description': 'Currency names separated by commas, e.g. BTC,ETH,USDT. Maximum 100 items'}}}
cex_mcl_get_multi_collateral_fix_rate
Get available fixed interest rates for multi-collateral loans (public)
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object'}
cex_mcl_get_multi_collateral_ltv
Get LTV (Loan-to-Value) ratios for multi-collateral loans (public)
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object'}
cex_mcl_list_multi_collateral_currencies
List all supported currencies for multi-collateral loans (public)
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object'}
cex_options_get_options_contract
Get details of a single options contract
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'required': ['contract'], 'properties': {'contract': {'type': 'string', 'description': 'Options contract name'}}}
cex_options_get_options_settlement
Get a single options settlement record
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'required': ['contract', 'underlying', 'at'], 'properties': {'at': {'type': 'string', 'description': 'Settlement timestamp (Unix timestamp in seconds)'}, 'contract': {'type': 'string', 'description': 'Options contract name'}, 'underlying': {'type': 'string', 'description': 'Underlying asset name, e.g. BTC_USDT'}}}
cex_options_list_options_candlesticks
Get options candlestick data
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'required': ['contract'], 'properties': {'to': {'type': 'number', 'description': 'End timestamp in seconds'}, 'from': {'type': 'number', 'description': 'Start timestamp in seconds'}, 'limit': {'type': 'number', 'description': 'Maximum number of records to return'}, 'contract': {'type': 'string', 'description': 'Options contract name'}, 'interval': {'type': 'string', 'description': 'Time interval between data points, e.g. 1m, 5m, 15m, 30m, 1h'}}}
cex_options_list_options_contracts
List all options contracts for an underlying
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'required': ['underlying'], 'properties': {'expiration': {'type': 'number', 'description': 'Unix timestamp of expiration date'}, 'underlying': {'type': 'string', 'description': 'Underlying asset name, e.g. BTC_USDT'}}}
cex_options_list_options_expirations
List option expiration dates for an underlying
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'required': ['underlying'], 'properties': {'underlying': {'type': 'string', 'description': 'Underlying asset name, e.g. BTC_USDT'}}}
cex_options_list_options_order_book
Get options order book
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'required': ['contract'], 'properties': {'limit': {'type': 'number', 'description': 'Number of depth levels'}, 'with_id': {'type': 'boolean', 'description': 'Whether to return depth update ID'}, 'contract': {'type': 'string', 'description': 'Options contract name'}, 'interval': {'type': 'string', 'description': 'Price precision for merged depth. 0 means no merging'}}}
cex_options_list_options_settlements
List options settlement history for an underlying
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'required': ['underlying'], 'properties': {'to': {'type': 'number', 'description': 'End timestamp in seconds'}, 'from': {'type': 'number', 'description': 'Start timestamp in seconds'}, 'limit': {'type': 'number', 'description': 'Maximum number of records to return'}, 'offset': {'type': 'number', 'description': 'List offset, starting from 0'}, 'underlying': {'type': 'string', 'description': 'Underlying asset name, e.g. BTC_USDT'}}}
cex_options_list_options_tickers
Get options tickers for an underlying
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'required': ['underlying'], 'properties': {'underlying': {'type': 'string', 'description': 'Underlying asset name, e.g. BTC_USDT'}}}
cex_options_list_options_trades
List public options trades
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'properties': {'to': {'type': 'number', 'description': 'End timestamp in seconds'}, 'from': {'type': 'number', 'description': 'Start timestamp in seconds'}, 'type': {'type': 'string', 'description': 'Option type: C for call, P for put'}, 'limit': {'type': 'number', 'description': 'Maximum number of records to return'}, 'offset': {'type': 'number', 'description': 'List offset, starting from 0'}, 'contract': {'type': 'string', 'description': 'Options contract name'}}}
cex_options_list_options_underlying_candlesticks
Get candlestick data for an options underlying index
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'required': ['underlying'], 'properties': {'to': {'type': 'number', 'description': 'End timestamp in seconds'}, 'from': {'type': 'number', 'description': 'Start timestamp in seconds'}, 'limit': {'type': 'number', 'description': 'Maximum number of records to return'}, 'interval': {'type': 'string', 'description': 'Time interval between data points, e.g. 1m, 5m, 15m, 30m, 1h'}, 'underlying': {'type': 'string', 'description': 'Underlying asset name, e.g. BTC_USDT'}}}
cex_options_list_options_underlyings
List all options underlying assets
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object'}
cex_options_list_options_underlying_tickers
Get ticker data for all contracts under an underlying
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'required': ['underlying'], 'properties': {'underlying': {'type': 'string', 'description': 'Underlying asset name, e.g. BTC_USDT'}}}
cex_spot_get_currency
Get details of a single currency
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'required': ['currency'], 'properties': {'currency': {'type': 'string', 'description': 'Currency name'}}}
cex_spot_get_currency_pair
Get details of a single currency pair
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'required': ['currency_pair'], 'properties': {'currency_pair': {'type': 'string', 'description': 'Currency pair name, e.g. BTC_USDT'}}}
cex_spot_get_spot_candlesticks
Get candlestick/OHLCV data for a currency pair
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'required': ['currency_pair'], 'properties': {'to': {'type': 'number', 'description': 'End time of K-line in Unix timestamp (seconds). Defaults to current time if not specified'}, 'from': {'type': 'number', 'description': 'Start time of K-line in Unix timestamp (seconds). Defaults to to - 100 * interval if not specified'}, 'limit': {'type': 'number', 'description': 'Maximum number of data points to return. Mutually exclusive with from/to parameters'}, 'interval': {'type': 'string', 'description': 'Time interval of data points. Note: 30d represents natural month, not 30 days'}, 'currency_pair': {'type': 'string', 'description': 'Currency pair'}}}
cex_spot_get_spot_order_book
Get the order book for a currency pair
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'required': ['currency_pair'], 'properties': {'limit': {'type': 'number', 'description': 'Maximum number of order depth levels to return, default 10, max 100'}, 'with_id': {'type': 'boolean', 'description': 'Whether to return order book update ID'}, 'interval': {'type': 'string', 'description': 'Order depth aggregation precision. 0 means no aggregation'}, 'currency_pair': {'type': 'string', 'description': 'Currency pair'}}}
cex_spot_get_spot_tickers
Get ticker information for one or all currency pairs
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'properties': {'timezone': {'type': 'string', 'description': 'Timezone, e.g. Asia/Shanghai. Affects the time range of statistics'}, 'currency_pair': {'type': 'string', 'description': 'Currency pair name, e.g. BTC_USDT. Returns all pairs if not specified'}}}
cex_spot_get_spot_trades
Get recent trades for a currency pair
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'required': ['currency_pair'], 'properties': {'to': {'type': 'number', 'description': 'End timestamp in seconds, defaults to current time if not specified'}, 'from': {'type': 'number', 'description': 'Start timestamp in seconds'}, 'page': {'type': 'number', 'description': 'Page number'}, 'limit': {'type': 'number', 'description': 'Maximum number of records to return, default 100'}, 'last_id': {'type': 'string', 'description': 'Use the last record ID from previous list as starting point for next list'}, 'reverse': {'type': 'boolean', 'description': 'Whether to retrieve records less than last_id. Default returns records greater than last_id'}, 'currency_pair': {'type': 'string', 'description': 'Currency pair'}}}
cex_spot_list_currencies
List all currencies supported
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object'}
cex_spot_list_currency_pairs
List all available spot trading pairs
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object'}
cex_square_list_live_replay
List live stream replays from Gate Square
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'properties': {'tag': {'type': 'string', 'description': 'Business type filter: Market Analysis, Hot Topics, Blockchain, Others'}, 'coin': {'type': 'string', 'description': 'Currency name filter (e.g. BTC, ETH)'}, 'sort': {'type': 'string', 'description': 'Sort order: hot=hottest (default), new=newest'}, 'limit': {'type': 'number', 'description': 'Number of results, 1~10, default 3'}}}
cex_square_list_square_ai_search
Search Gate Square content using AI (posts, analysis, signals)
読み取り専用 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', 'properties': {'page': {'type': 'number', 'description': 'Page number for pagination, starting from 1'}, 'sort': {'type': 'number', 'description': 'Sort order: 0=hottest (default), 1=newest'}, 'limit': {'type': 'number', 'description': 'Number of results, 1~50, default 10'}, 'keyword': {'type': 'string', 'description': 'Search keyword (currency name or content keyword, e.g. BTC, ETH)'}, 'currency': {'type': 'string', 'description': 'Currency filter (exact currency code, e.g. BTC, ETH, SOL)'}, 'time_range': {'type': 'number', 'description': 'Time range: 0=all (default), 1=last day, 2=last week, 3=last month'}}}
追加
cex_square_list_square_ai_search
2026年9月17日12:41
追加
cex_square_list_live_replay
2026年9月17日12:41
追加
cex_spot_list_currency_pairs
2026年9月17日12:41
追加
cex_spot_list_currencies
2026年9月17日12:41
追加
cex_spot_get_spot_trades
2026年9月17日12:41
追加
cex_spot_get_spot_tickers
2026年9月17日12:41
追加
cex_spot_get_spot_order_book
2026年9月17日12:41
追加
cex_spot_get_spot_candlesticks
2026年9月17日12:41
追加
cex_spot_get_currency_pair
2026年9月17日12:41
追加
cex_spot_get_currency
2026年9月17日12:41
追加
cex_options_list_options_underlyings
2026年9月17日12:41
追加
cex_options_list_options_underlying_tickers
2026年9月17日12:41
追加
cex_options_list_options_underlying_candlesticks
2026年9月17日12:41
追加
cex_options_list_options_trades
2026年9月17日12:41
追加
cex_options_list_options_tickers
2026年9月17日12:41
追加
cex_options_list_options_settlements
2026年9月17日12:41
追加
cex_options_list_options_order_book
2026年9月17日12:41
追加
cex_options_list_options_expirations
2026年9月17日12:41
追加
cex_options_list_options_contracts
2026年9月17日12:41
追加
cex_options_list_options_candlesticks
2026年9月17日12:41
追加
cex_options_get_options_settlement
2026年9月17日12:41
追加
cex_options_get_options_contract
2026年9月17日12:41
追加
cex_mcl_list_multi_collateral_currencies
2026年9月17日12:41
追加
cex_mcl_get_multi_collateral_ltv
2026年9月17日12:41
追加
cex_mcl_get_multi_collateral_fix_rate
2026年9月17日12:41
追加
cex_mcl_get_multi_collateral_current_rate
2026年9月17日12:41
追加
cex_margin_list_uni_currency_pairs
2026年9月17日12:41
追加
cex_margin_get_uni_currency_pair
2026年9月17日12:41
追加
cex_margin_get_market_margin_tier
2026年9月17日12:41
追加
cex_launch_list_launch_pool_projects
2026年9月17日12:41