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