MCP Server
Connect any AI assistant to GateData.ai's real-time financial data through our official remote MCP server.
Overview
GateData.ai ships a complete MCP server so your AI assistant can pull live market data, asset identity, fundamentals, estimates, events & news, and prediction markets — across crypto and public equities, under one object model.
Getting Started
Get started with the base URL: https://mcp.gatedata.ai/mcp
Codex CLI
Open Codex and paste in natural language
Help me auto install GateData MCP: https://github.com/gate/gate-data-ai-agent
On Team and Enterprise plans, a workspace owner must add the connector in admin settings first.
Need REST / OpenAPI instead?View the full OpenAPI specMCP Server Tools
Two HTTP surfaces exist: (1) **Streamable HTTP** POST/GET /mcp — standard MCP JSON-RPC (initialize, tools/list, tools/call). (2) **Tool invoke** POST /mcp/{endpoint} (e.g. /mcp/markets) — body { "tool", "arguments" } only; **not** JSON-RPC and does not speak initialize. Domain tool names and schemas stay identical across invoke prefixes; there are no per-endpoint aliases.
Tool-invoke prefix for assets, entities, fundamentals, estimates and equity ownership. Body: { tool, arguments }.
Tool-invoke prefix for market_data_query (snapshots, klines, top_of_book). Not MCP JSON-RPC — use POST /mcp for initialize/tools/list.
Wallets, holders, flows, address/contract risk.
News, events, sentiment, and prediction markets.
Lists all catalogued domain tools (availability varies by tool).
Response status description
Beyond ok/ready/partial/not_ready, domain tools share no_data and ambiguous shapes. no_data is always HTTP 200 (object resolved, no rows). **Ambiguous:** assets / fundamentals / earnings / prediction name multi-matches return HTTP **200** with resolution_status=ambiguous and candidates or data[] (ask the user — not a hard transport failure). **Market listing** pin gaps still return HTTP **400** ambiguous_object_resolution with candidates + required_params. News/query disambiguation candidates pin with **ticker + market** (never invent us_equity:TICKER as a public id). Crypto fundamentals profile returns empty_reason=market_not_served with guidance to tokenomics/assets. Conflicting flat vs object_refs identity returns param_conflict. Closed prediction books return market_closed.
{ "metadata": { // Response metadata (data_status, limitations, object_refs) "data_status": "<string>", // Data status — no_data means the asset resolved but no snapshot row "limitations": [ // Coverage / capability flags (e.g. ["no_data"]) "<string>" ], "object_refs": [ // Unified object model resolution info (lightweight F0 refs) { "type": "<string>", // Object type (asset / listing / …) "id": "<string>", // Canonical object id for this ref "asset_id": "<string>", // Related asset id (often equals id when type=asset) "resolved_from": "<string>", // How the ref was resolved (e.g. asset, query) "resolution_confidence": "<string>" // Resolver confidence (e.g. default) } ] }, "next_action": "<string>", // Human-readable guidance for the next retry "reason": "<string>", // Why the domain returned no rows "request_id": "<string>", // Request correlation id for support / logs "try_params": { // Echo of resolved params used for this attempt "asset_id": "<string>", // Resolved asset id from the query "query": "<string>" // Original natural-language / ticker query } }
reason / next_action, optionally echo try_params. Never show a system error or invent price fields.{ "data": [], // Domain payload; empty array [] or empty object {} when no rows "data_status": "<string>", // Data status — no_data means the object resolved but this domain has no rows "empty_reason": "<string>", // Empty-result reason code (e.g. no_results) "error": null, // Error object; null for HTTP 200 empty / success envelopes "lineage_refs": [], // Snapshot provenance; [] when none attached. source is a stable role (estimates / calendar / results / consensus), never an internal service name "metadata": { // Response metadata (routing, limitations, object_refs) "actual_task": "<string>", // Task after routing. Market MCP only on market bodies (pinned REST market paths omit). Estimates/fundamentals envelopes may include it on REST captures too. "limitations": null, // Capability / coverage limitations; may be null when none "object_refs": [], // Unified object model resolution info (lightweight F0 refs) "object_refs_validation_status": "<string>", // Validation status of inbound object_refs (e.g. not_provided) "route_reason": "<string>", // Why this task/route was selected "updated_at": "<date>" // Metadata timestamp (ISO-8601) }, "request_id": "<string>" // Request correlation id for support / logs }
empty_reason copy. Never render an error, insert a default object, or coerce the empty array to null.{ "data": [ // Candidate list (array) for the user / agent to pick from { "asset_id": "<string>", // Candidate asset id for a follow-up call "listing_id": "<string>", // Candidate listing id when known "entity_id": "<string>", "display_name": "<string>", // Human-readable company / asset name "display_symbol": "<string>", "market": "<string>", "match_confidence": "<number>", "matched_field": "<string>", "matched_value": "<string>", "disambiguation_hint": "<string>" // Suggested params to narrow the next call } ], "data_status": "<string>", // ok when candidates are returned "empty_reason": null, "error": null, // Always null on this success path "resolution_status": "<string>", // ambiguous — multiple assets matched; confirm with the user (not a tool failure) "lineage_refs": [], "source_refs": [], "metadata": { "actual_task": "<string>", "object_refs": [], // Empty on ambiguous — no silent primary binding "object_refs_validation_status": "<string>", "route_reason": "<string>" // Server routing reason (e.g. ambiguous_candidates) }, "request_id": "<string>" // Request correlation id for support / logs }
resolution_status=ambiguous (or ambiguous: true). Show data[] / candidates to the user; retry with ticker+market or listing_id / asset_id. Same pattern for fundamentals, earnings, and prediction where resolved. Do not invent or reuse legacy us_equity:TICKER ids.{ "error": "<string>", // Error type id (ambiguous_object_resolution) "error_code": "<string>", // Business error code (same string; maps to 40001 in legacy clients) "message": "<string>", // Human-readable error summary "required_params": [ // Parameters required to disambiguate the next call "<string>", "<string>" ], "candidates": [ // Matched candidate objects — pick listing_id / venue / market_type { "listing_id": "<string>", // Canonical listing id for an exact retry "asset_id": "<string>", // Resolved asset id for the candidate "venue": "<string>", // Exchange / venue code (e.g. gate, binance) "market_type": "<string>" // Market type (e.g. spot, perp) } ], "next_action": "<string>", // Suggested follow-up (e.g. retry_with_listing_id) "request_id": "<string>" // Request correlation id for support / logs }
candidates and required_params, then retry with listing_id or venue+market_type. Do not silently pick the first candidate.Call patterns
Domain tools take a natural-language query by default. Use task=auto and let the server pick the in-domain task, or pass an explicit task when you already know what you need. Only when chaining across domains should you pass prior metadata.object_refs[]. Everyday business queries do not need a prior assets_resolve call.
The server picks an in-domain task (for example snapshot for a latest-price question). context.market only ranks fuzzy names; it never overrides an exact ticker or listing.
{
"tool": "market_data_query",
"arguments": {
"query": "AAPL latest price",
"task": "auto",
"context": { "market": "us_equity" }
}
}Pass a supported task when you already know the route (snapshot / kline / content_search / …). The same tool name and schema apply on every install endpoint.
{
"tool": "market_data_query",
"arguments": {
"query": "AAPL",
"task": "snapshot",
"context": { "market": "us_equity" }
}
}Each tool returns only its own primary data plus lightweight metadata.object_refs[]. Pass those refs into the next tool when you need evidence in another domain.
- market_data_query("MU why did it jump yesterday?") → market anomaly facts + metadata.object_refs[]
- Pass the same object_refs into events_news_query with task=content_search or event_search
- Events returns news / event evidence — not a substitute for Market Data prices
The assistant may not always run a second step on its own. For reliable cross-domain attribution, use a later composite tool or workflow — do not overload a single domain tool.
Tool Catalog
Production tools/list exposes 6 live tools: assets_resolve, market_data_query, fundamentals_query, estimates_earnings_query, events_news_query, and prediction_markets_query. Most domains default to task=auto; events_news_query public tasks are only content_search / event_search / social_search / sentiment. ownership_flows_query and risk_compliance_query are planned (not_ready) and must not be treated as working examples.
context.market standard codes: us_equity / hk_equity / kr_equity / uk_equity / jp_equity / crypto (never ks_equity). Standard market enum & serving notes →
/mcp/assetsAssets & fundamentalsassets_resolve · fundamentals_query · estimates_earnings_query
assets_resolveAsset & EntityUser asks to resolve, search, or fetch asset object metadata: listings, deployments, ticker/contract/Gate symbol to asset_id. task=profile here returns object metadata only - not company fundamentals text.
Related REST (7)
POST /v1/assets/resolvePOST /v1/assets/resolveGET /v1/assets/searchGET /v1/assets/{id}GET /v1/assets/{id}/listingsGET /v1/assets/{asset_id}/deploymentsPOST /v1/assets/resolveCall Examples
| Try | task | query / object | HTTP | data_status | Latency |
|---|---|---|---|---|---|
| 1 | search | AAPL | 200 | ok | 770 ms |
POST https://mcp.gatedata.ai/mcp/assets
{
"tool": "assets_resolve",
"arguments": {
"query": "AAPL",
"task": "search",
"context": {
"market": "us_equity"
}
}
}{
"data": [
{
"asset_id": "<string>",
"disambiguation_hint": null,
"display_name": "<string>",
"display_symbol": "<string>",
"entity_id": "<string>",
"instrument_id": "<string>",
"listing_id": "<string>",
"market": "<string>",
"match_confidence": "<number>",
"matched_field": "<string>",
"matched_value": "<string>",
"venue_id": "<string>"
}
],
"data_status": "<string>",
"empty_reason": null,
"error": null,
"lineage_refs": [],
"metadata": {
"actual_task": "<string>",
"domain_bindings": {
"events_news": {
"entity_id": "<string>"
},
"fundamentals": {
"entity_id": "<string>"
},
"market_data": {
"listing_id": "<string>"
},
"news": {
"asset_id": "<string>"
}
},
"object_refs": [
{
"id": "<string>",
"type": "<string>"
}
],
"object_refs_validation_status": "<string>",
"route_reason": "<string>"
},
"resolution_status": "<string>",
"source_refs": []
}fundamentals_queryFundamentalsUser asks for company fundamentals content: profile/background (including CN company-profile phrasing), financial statements, segments, corporate actions, metrics/summary, or crypto tokenomics/supply. Use task=profile here for company fundamentals text - not assets_resolve.
Related REST (13)
GET /v1/fundamentals/queryGET /v1/fundamentals/profileGET /v1/fundamentals/profileGET /v1/fundamentals/statementsGET /v1/fundamentals/statementsGET /v1/fundamentals/metricsGET /v1/fundamentals/metricsGET /v1/fundamentals/business-segmentsGET /v1/fundamentals/corporate-actionsGET /v1/fundamentals/tokenomicsGET /v1/fundamentals/supplyGET /v1/fundamentals/queryGET /v1/fundamentals/queryCall Examples
| Try | task | query / object | HTTP | data_status | Latency |
|---|---|---|---|---|---|
| 1 | profile | AAPL | 200 | partial | 380 ms |
| 2 | statements | AAPL | 200 | ok | 410 ms |
| 3 | summary | AAPL | 200 | partial | 520 ms |
POST https://mcp.gatedata.ai/mcp/assets
{
"tool": "fundamentals_query",
"arguments": {
"query": "AAPL",
"task": "summary",
"ticker": "AAPL",
"context": {
"market": "us_equity"
}
}
}limitations: serving_mvp, valuation_current_out_of_scope, summary_aggregates_profile_statements_metrics_actions
{
"data": {
"summary": {
"actions": [
{
"acquiree_rate": null,
"acquiree_symbol": null,
"acquirer_rate": null,
"acquirer_symbol": null,
"action_sub_type": "<string>",
"action_type": "<string>",
"alternate_rate": null,
"alternate_symbol": null,
"amount": null,
"announcement_date": null,
"asset_id": null,
"cash_per_share": null,
"cash_rate": null,
"corporate_action_id": "<string>",
"currency": null,
"data_status": "<string>",
"effective_date": "<date>",
"empty_reason": null,
"entity_id": null,
"ex_date": "<date>",
"expiration_date": null,
"instrument_id": null,
"listing_id": null,
"new_symbol": null,
"old_symbol": null,
"payment_date": "<date>",
"price": null,
"process_date": "<date>",
"ratio": "<string>",
"ratio_from": "<number>",
"ratio_to": "<number>",
"record_date": "<date>",
"source_rate": null,
"source_symbol": null,
"target_rate": null,
"target_symbol": null,
"venue_id": null
}
],
"as_of": "<date>",
"blocks": [
{
"block": "<string>",
"data_status": "<string>",
"empty_reason": "<string>"
}
],
"metrics": [
{
"as_of_utc": "<date>",
"data_status": "<string>",
"empty_reason": null,
"entity_id": "<string>",
"metric_name": "<string>",
"metric_value": "<number>",
"period_key": "<string>",
"unit": null
}
],
"profile": {
"business_scope": null,
"company_name": "<string>",
"data_status": "<string>",
"description": "<string>",
"employee_count": "<number>",
"empty_fields": [
{
"empty_reason": "<string>",
"field": "<string>"
}
],
"empty_reason": "<string>",
"entity_id": "<string>",
"headquarters_country": "<string>",
"industry": null,
"management": [
{
"management_name": "<string>",
"management_position": "<string>"
}
],
"profile_as_of": "<date>",
"profile_items": [
{
"field_type": "<string>",
"profile_key": "<string>",
"profile_name": "<string>",
"profile_value": "<string>"
}
],
"reporting_currency": null,
"sector": null,
"website": "<string>"
},
"statements": [
{
"currency": "<string>",
"data_status": "<string>",
"empty_reason": null,
"entity_id": "<string>",
"line_items": {
"accounts_payable": "<number>",
"accounts_receivable": "<number>",
"accrued_expenses": "<number>",
"accumulated_depreciation": "<number>",
"available_for_sale_securities": "<number>",
"capital_stock": "<number>",
"cash_and_cash_equivalents": "<number>",
"cash_cash_equivalents_and_short_term_investments": "<number>",
"common_stock": "<number>",
"current_assets": "<number>",
"current_deferred_liabilities": "<number>",
"current_liabilities": "<number>",
"gains_losses_not_affecting_retained_earnings": "<number>",
"gross_p_p_e": "<number>",
"inventory": "<number>",
"long_term_debt": "<number>",
"long_term_debt_and_capital_lease_obligation": "<number>",
"net_p_p_e": "<number>",
"non_current_assets": "<number>",
"non_current_deferred_assets": "<number>",
"non_current_liabilities": "<number>",
"other_current_assets": "<number>",
"other_current_liabilities": "<number>",
"other_non_current_assets": "<number>",
"other_non_current_liabilities": "<number>",
"other_receivables": "<number>",
"payables": "<number>",
"receivables": "<number>",
"retained_earnings": "<number>",
"short_term_debt": "<number>",
"short_term_debt_and_capital_lease_obligation": "<number>",
"short_term_investments": "<number>",
"stockholders_equity": "<number>",
"stockholders_equity_attributable_to_parent": "<number>",
"taxes_payable": "<number>",
"total_assets": "<number>",
"total_investments": "<number>",
"total_liabilities": "<number>",
"total_liabilities_net_minority_interest": "<number>"
},
"period_end": "<date>",
"period_key": "<string>",
"period_start": null,
"period_type": "<string>",
"statement_type": "<string>",
"unit": "<string>"
}
],
"window": "<string>"
}
},
"data_status": "<string>",
"empty_reason": "<string>",
"error": null,
"external_refs": [
{
"citation_url": "<string>",
"entity_id": "<string>",
"external_ref_id": "<string>",
"external_ref_type": "<string>",
"external_source_domain": "<string>",
"filing_form": "<string>"
}
],
"lineage_refs": [],
"metadata": {
"actual_task": "<string>",
"data_status": "<string>",
"limitations": [
"<string>",
"<string>",
"<string>"
],
"object_refs": [
{
"asset_id": "<string>",
"entity_id": "<string>",
"id": "<string>",
"instrument_id": "<string>",
"listing_id": "<string>",
"type": "<string>",
"venue_id": "<string>"
}
],
"partial": "<boolean>",
"route_reason": "<string>",
"updated_at": "<date>"
},
"source_refs": []
}estimates_earnings_queryEstimates & EarningsUser asks for earnings dates, reported results/surprises, or analyst consensus estimates.
Call Examples
| Try | task | query / object | HTTP | data_status | Latency |
|---|---|---|---|---|---|
| 1 | calendar | AAPL | 200 | ok | 210 ms |
| 2 | results | AAPL | 200 | ok | 240 ms |
| 3 | consensus | AAPL | 200 | ok | 180 ms |
POST https://mcp.gatedata.ai/mcp/assets
{
"tool": "estimates_earnings_query",
"arguments": {
"query": "AAPL",
"task": "calendar",
"context": {
"market": "us_equity"
}
}
}limitations: source_refs_unavailable
{
"data": {
"events": [
{
"asset_id": "<string>",
"data_status": "<string>",
"date_confirmed": "<boolean>",
"date_precision": "<string>",
"earnings_event_id": "<string>",
"empty_reason": null,
"entity_id": "<string>",
"event_status": "<string>",
"fiscal_period": "<string>",
"instrument_id": "<string>",
"listing_id": "<string>",
"period_type": "<string>",
"report_date": "<date>",
"report_time_type": "<string>",
"timezone": "<string>",
"venue_id": "<string>"
}
]
},
"data_status": "<string>",
"empty_reason": null,
"error": null,
"external_refs": [
{
"citation_url": "<string>",
"entity_id": "<string>",
"external_ref_id": "<string>",
"external_ref_type": "<string>",
"external_source_domain": "<string>"
}
],
"lineage_refs": [
{
"data_status": "<string>",
"source": "<string>",
"stage": "<string>"
}
],
"metadata": {
"actual_task": "<string>",
"limitations": [
"<string>"
],
"object_refs": [
{
"asset_id": "<string>",
"entity_id": "<string>",
"id": "<string>",
"instrument_id": "<string>",
"listing_id": "<string>",
"resolved_from": "<string>",
"type": "<string>",
"venue_id": "<string>"
}
],
"route_reason": "<string>",
"updated_at": "<date>"
},
"request_id": "<string>",
"source_refs": []
}ownership_flows_queryFlows & WalletsUser asks for large on-chain transfers of a token, token transfers into or out of centralized-exchange wallets, exchange inflows/outflows, token holder distribution, wallet balances/PnL, or a wallet's transaction history.
Call Examples
| Try | task | query / object | HTTP | data_status | Latency |
|---|---|---|---|---|---|
| 1 | institutional | AAPL | 200 | not_ready | 159 ms |
| 2 | fund_holdings | AAPL | 200 | not_ready | 159 ms |
POST https://mcp.gatedata.ai/mcp/assets
{
"tool": "ownership_flows_query",
"arguments": {
"query": "AAPL",
"task": "institutional",
"context": {
"market": "us_equity"
}
}
}limitations: data_not_ready
{
"metadata": {
"data_status": "<string>",
"limitations": [
"<string>"
],
"object_refs": []
}
}/mcp/marketsMarkets & klinemarket_data_query
market_data_queryMarket & LiquidityUser asks for price, kline, or order book (crypto or equity); TradFi/crypto AI / technical indicators (task=technical_indicators); or crypto-only trades, liquidity, CEX depth, derivatives metrics, perp DEX protocol volume/OI (task=dex_derivatives), Gate perp volume history, or Gate hold/pic open interest history.
Related REST (20)
GET /v1/markets/snapshotGET /v1/markets/snapshotGET /v1/markets/klineGET /v1/markets/order-book/currentGET /v1/markets/trades/recentGET /v1/markets/liquidity/historyGET /v1/markets/cex-depthGET /v1/markets/derivativesGET /v1/markets/cex-derivativesGET /v1/markets/dex-derivativesGET /v1/markets/liquidation-heatmapGET /v1/markets/derivatives/liquidationsGET /v1/markets/derivatives/liquidations/aggregatesGET /v1/markets/derivatives/volume-historyGET /v1/markets/open-interest-historyGET /v1/markets/dex/tradesGET /v1/markets/dex/liquidity-eventsGET /v1/markets/tradfi/ai-indicatorsGET /v1/market-data/technical-indicatorsGET /v1/markets/crypto/ai-indicatorsCall Examples
| Try | task | query / object | HTTP | data_status | Latency |
|---|---|---|---|---|---|
| 1 | snapshot | BTC | 200 | ready | 344 ms |
POST https://mcp.gatedata.ai/mcp/markets
{
"tool": "market_data_query",
"arguments": {
"query": "BTC",
"task": "snapshot",
"context": {
"market": "crypto"
}
}
}{
"data_status": "<string>",
"listing_id": "<string>",
"metadata": {
"object_refs": [
{
"type": "<string>",
"id": "<string>",
"asset_id": "<string>",
"resolved_from": "<string>",
"resolution_confidence": "<string>"
}
],
"updated_at": "<date>",
"data_status": "<string>",
"limitations": []
},
"price": "<number>",
"price_change_24h": "<number>",
"price_change_24h_absolute": "<number>",
"price_change_24h_percent": "<number>",
"updated_at": "<date>",
"venue_id": "<string>",
"volume_24h": "<number>",
"volume_24h_unit": "<string>"
}/mcp/onchainOn-chain & walletsplanned: ownership_flows_query · risk_compliance_query
ownership_flows_queryFlows & WalletsUser asks for large on-chain transfers of a token, token transfers into or out of centralized-exchange wallets, exchange inflows/outflows, token holder distribution, wallet balances/PnL, or a wallet's transaction history.
Call Examples
| Try | task | query / object | HTTP | data_status | Latency |
|---|---|---|---|---|---|
| 1 | token_holders | BTC | 200 | not_ready | 155 ms |
| 2 | wallet | 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 | 200 | not_ready | 160 ms |
POST https://mcp.gatedata.ai/mcp/onchain
{
"tool": "ownership_flows_query",
"arguments": {
"query": "BTC",
"task": "token_holders",
"context": {
"market": "crypto"
}
}
}limitations: data_not_ready
{
"metadata": {
"data_status": "<string>",
"limitations": [
"<string>"
],
"object_refs": []
}
}risk_compliance_queryRisk & ComplianceDo not use in phase-1 - planned risk/compliance facade (address/contract risk, disclosures, SEC filings, regulatory events).
Related REST (1)
Call Examples · Coming soon
This tool returns not_ready. The block below is not a working example.
| Try | task | query / object | HTTP | data_status | Latency |
|---|---|---|---|---|---|
| 1 | compliance | 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 | 200 | not_ready | 159 ms |
| 2 | risk_signals | BTC | 200 | not_ready | 150 ms |
POST https://mcp.gatedata.ai/mcp/onchain
{
"tool": "risk_compliance_query",
"arguments": {
"query": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"task": "compliance",
"context": {
"market": "crypto",
"chain": "ethereum"
}
}
}limitations: data_not_ready
{
"metadata": {
"data_status": "<string>",
"limitations": [
"<string>"
],
"object_refs": []
}
}/mcp/signalsSignals & newsevents_news_query · prediction_markets_query
events_news_queryEvents, News, Sentiment & SignalsUser asks for news headlines, events calendar feed, social posts, or social/news sentiment for equities or crypto.
Call Examples
| Try | task | query / object | HTTP | data_status | Latency |
|---|---|---|---|---|---|
| 1 | content_search | BTC | 200 | no_data | 322 ms |
| 2 | event_search | Bitcoin ETF | 200 | partial | 280 ms |
POST https://mcp.gatedata.ai/mcp/signals
{
"tool": "events_news_query",
"arguments": {
"task": "event_search",
"query": "Bitcoin ETF",
"market": "crypto",
"limit": 5,
"detail": true
}
}{
"data": {
"events": [
{
"asset_ids": [
"<string>",
"<string>"
],
"chain": [
"<string>",
"<string>"
],
"entity_ids": [],
"event_category": "<string>",
"event_id": "<string>",
"impact_direction": "<string>",
"importance_level": "<string>",
"industry": [],
"institution_codes": [],
"instrument_ids": [],
"listing_ids": [],
"macro_indicator_codes": [],
"market": "<string>",
"mentions": [
"<string>",
"<string>"
],
"sector": [
"<string>",
"<string>"
],
"summary": "<string>",
"title": "<string>"
}
]
},
"data_status": "<string>",
"empty_reason": null,
"error": null,
"external_refs": [],
"lineage_refs": [],
"metadata": {
"data_status": "<string>",
"entitlements": {
"endpoint": "<string>",
"evidence_fanout_level": "<string>",
"field_level": "<string>",
"object_resolution_level": "<string>"
},
"limitations": [],
"object_refs": [
{
"asset_id": "<string>",
"entity_id": "<string>",
"id": "<string>",
"resolution_confidence": "<string>",
"resolved_from": "<string>",
"type": "<string>"
}
],
"resolution_status": "<string>",
"resolved_market": "<string>",
"resolved_ticker": "<string>",
"updated_at": "<date>"
},
"source_refs": []
}prediction_markets_queryPredictionUser asks about prediction market events, rankings, signals, probabilities, or order books.
Call Examples
| Try | task | query / object | HTTP | data_status | Latency |
|---|---|---|---|---|---|
| 1 | rankings | —(榜单) | 200 | ready | 361 ms |
POST https://mcp.gatedata.ai/mcp/signals
{
"tool": "prediction_markets_query",
"arguments": {
"task": "rankings",
"ranking_type": "volume_24h",
"venue": "polymarket",
"limit": 5
}
}{
"metadata": {
"data_status": "<string>",
"limitations": [],
"object_refs": [
{
"event_ref": "<string>",
"id": "<string>",
"type": "<string>",
"venue": "<string>"
}
],
"pagination": {
"limit": "<number>",
"row_count": "<number>"
},
"updated_at": "<date>"
},
"rankings": [
{
"event_ref": "<string>",
"excluded_reasons": [],
"liquidity_usd": "<number>",
"rank_date_utc": "<date>",
"rank_no": "<number>",
"rank_type": "<string>",
"ranking_value": "<number>",
"title": "<string>",
"venue": "<string>",
"venue_event_id": "<string>",
"volume_24h_usd": "<number>"
}
]
}risk_compliance_queryRisk & ComplianceDo not use in phase-1 - planned risk/compliance facade (address/contract risk, disclosures, SEC filings, regulatory events).
Related REST (1)
Call Examples · Coming soon
This tool returns not_ready. The block below is not a working example.
| Try | task | query / object | HTTP | data_status | Latency |
|---|---|---|---|---|---|
| 1 | disclosures | AAPL | 200 | not_ready | 143 ms |
| 2 | risk_signals | BTC | 200 | not_ready | 145 ms |
POST https://mcp.gatedata.ai/mcp/signals
{
"tool": "risk_compliance_query",
"arguments": {
"query": "AAPL",
"task": "disclosures",
"context": {
"market": "us_equity"
}
}
}limitations: data_not_ready
{
"metadata": {
"data_status": "<string>",
"limitations": [
"<string>"
],
"object_refs": []
}
}Troubleshooting
Hitting an error during setup? Filter by client to find the cause and the fix.