Skip to main content
Glama
Br0ski777

prediction-markets

by Br0ski777

予測市場API

MCP Server x402 License: MIT

PolymarketとKalshiのリアルタイム予測市場オッズ。アクティブな市場、確率、出来高、カテゴリ。エージェントがイベント予測に必要なベッティングインテリジェンスレイヤー。x402による従量課金(Base L2上のUSDC)-- APIキー不要、サインアップ不要、レート制限なし。

klymax402マーケットプレイスの一部 -- AIエージェント向け100のx402マイクロペイメントAPI、1つのウォレット、Base上のUSDC。

クイックスタート -- MCP

MCPクライアント設定(Claude Desktop、Cursor、ElizaOSなど)に追加:

{
  "mcpServers": {
    "prediction-markets": {
      "url": "https://prediction-markets.api.klymax402.com/mcp"
    }
  }
}

Related MCP server: Polymarket MCP Server

クイックスタート -- HTTP (x402)

curl -X POST "https://prediction-markets.api.klymax402.com/api/markets" \
  -H "Content-Type: application/json" \
  -d '{}'
# -> 402 Payment Required, with an x402 payment challenge in the response body

x402対応クライアント(@x402/fetchx402-agent-tools、ATXP)は、402 -> 署名 -> 再試行のサイクルを自動的に処理します。

ツール

ツール

メソッド

パス

価格

説明

prediction_list_markets

POST

/api/markets

$0.012

PolymarketとKalshiのアクティブな予測市場を現在のオッズ、出来高、カテゴリとともに一覧表示します。トピック、プラットフォームでフィルタリングし、出来高、新着、または終了間近で並べ替えできます。

prediction_get_market_odds

POST

/api/odds

$0.012

IDまたは検索クエリで特定の予測市場の詳細なオッズと取引データを取得します。PolymarketとKalshiの両方を検索します。

prediction_trending_markets

POST

/api/trending

$0.008

PolymarketとKalshiの出来高とエンゲージメントでランク付けされた上位のトレンド予測市場。

prediction_list_markets

アクティブな予測市場を閲覧したり、実世界のイベントに関するベッティングオッズを見つけたりする必要がある場合に使用します。PolymarketとKalshiのアクティブな市場のリストを、現在の確率、取引量、メタデータとともに返します。

パラメータ

名前

必須

説明

category

string

いいえ

トピックカテゴリで市場をフィルタリングします。すべてのカテゴリの場合は省略します。

limit

number

いいえ

返す市場の数(1-50)。デフォルト: 20。

sort

string

いいえ

並べ替え順序。'volume' = 取引量が多い順、'newest' = 新しく作成された順、'closing_soon' = 終了が近い順。デフォルト: volume。

source

string

いいえ

プラットフォームでフィルタリングします。省略するとPolymarketとKalshiの両方の市場を取得します。

戻り値

  • question -- 予測市場の質問(例: "Will Bitcoin reach $100k by December 2026?")

  • outcomePrices -- 各結果の確率(小数、0.65 = YESの確率65%)

  • volume -- 総取引量(USD)

  • liquidity -- 現在の利用可能な流動性(USD)

  • endDate -- 市場が解決される日時

  • category -- トピックカテゴリ(politics、crypto、sports、science、culture)

  • active -- 市場が現在取引中かどうか

  • source -- データソース -- "polymarket" または "kalshi"

応答例:

{ markets: [{ question: "Will Trump win 2028?", outcomePrices: { "Yes": 0.42, "No": 0.58 }, volume: 15420000, liquidity: 890000, endDate: "2028-11-06", category: "politics", source: "polymarket" }] }

対象外: 暗号通貨の価格データ(token_get_priceを使用)、暗号通貨ニュース(crypto_get_newsを使用)、株価(stock_get_quoteを使用)、DeFi利回り(defi_find_best_yieldsを使用)、Hyperliquidの永久先物データ(hyperliquid_get_market_dataを使用)。

prediction_get_market_odds

特定の予測市場の詳細なオッズ、確率、取引データが必要な場合に使用します。PolymarketとKalshiの両方を検索して、市場IDまたは質問テキストに基づいて最適な一致を見つけます。

パラメータ

名前

必須

説明

marketId

string

いいえ

Polymarketのcondition IDまたはKalshiのticker。市場IDをすでに知っている場合に使用します。

query

string

いいえ

質問テキストで市場を検索するためのクエリ(例: 'bitcoin 100k'、'trump election')。marketIdが不明な場合に使用します。

戻り値

  • question -- 完全な予測市場の質問テキスト

  • outcomes -- 現在の確率を持つ可能な結果の配列

  • outcomePrices -- 結果ごとの小数確率(0.72 = 72%の暗黙の確率)

  • volume -- 全期間の総取引量(USD)

  • volume24h -- 過去24時間の取引量

  • liquidity -- 現在のオーダーブックの深さ(USD)

  • endDate -- 市場の解決日

  • description -- 詳細な市場の説明と解決基準

  • active -- 市場が現在取引可能かどうか

  • source -- 市場の出典プラットフォーム -- "polymarket" または "kalshi"

応答例:

{ question: "Will ETH flip BTC by 2027?", outcomes: ["Yes", "No"], outcomePrices: { "Yes": 0.08, "No": 0.92 }, volume: 2340000, volume24h: 45000, liquidity: 120000, endDate: "2027-12-31", active: true, source: "polymarket" }

対象外: 暗号通貨の価格データ(token_get_priceを使用)、暗号通貨ニュース(crypto_get_newsを使用)、株価(stock_get_quoteを使用)、DeFi利回り(defi_find_best_yieldsを使用)、Hyperliquidの永久先物データ(hyperliquid_get_market_dataを使用)。

現在トレンドの予測市場を確認する必要がある場合に使用します。PolymarketとKalshiの両方から、最近の取引量とアクティビティでランク付けされた最もホットな市場を返します。

パラメータ

名前

必須

説明

limit

number

いいえ

返すトレンド市場の数(1-30)。デフォルト: 10。

source

string

いいえ

プラットフォームでフィルタリングします。省略するとPolymarketとKalshiの両方のトレンド市場を取得します。

戻り値

  • question -- 市場の質問

  • probability -- 主要な結果の現在の暗黙の確率(小数)

  • volume24h -- 過去24時間の取引量(USD)

  • totalVolume -- 全期間の取引量(USD)

  • priceChange24h -- 過去24時間の確率の変化(例: +0.05 = 確率が5%上昇)

  • category -- トピックカテゴリ

  • endDate -- 市場が解決される日時

  • source -- データソース -- "polymarket" または "kalshi"

応答例:

{ trending: [{ question: "Will Fed cut rates in July 2026?", probability: 0.73, volume24h: 890000, totalVolume: 12500000, priceChange24h: 0.08, category: "politics", endDate: "2026-07-31", source: "polymarket" }] }

対象外: 暗号通貨の価格データ(token_get_priceを使用)、暗号通貨ニュース(crypto_get_newsを使用)、株価(stock_get_quoteを使用)、DeFi利回り(defi_find_best_yieldsを使用)、Hyperliquidの永久先物データ(hyperliquid_get_market_dataを使用)。

エージェントプロンプトの例

  • "アクティブな予測市場を閲覧したり、実世界のイベントに関するベッティングオッズを見つける"

  • "特定の予測市場の詳細なオッズ、確率、取引データ"

  • "現在トレンドの予測市場を確認する"

支払い

  • プロトコル: x402 -- HTTPネイティブの従量課金、サインアップ不要、APIキー不要

  • ネットワーク: Base L2 (eip155:8453)

  • 資産: USDC

  • ファシリテーター: Coinbase CDP(プライマリ)、PayAI(フォールバック)

  • ATXP経由でもアクセス可能(OAuthラップされたx402、RFC 9728保護リソースメタデータ)

klymax402の一部

AIエージェント向け100のx402マイクロペイメントAPI -- 1つのウォレット、Base上のUSDC、サインアップ不要。

ライセンス

MIT

A
license - permissive license
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to query Polymarket prediction markets, accessing real-time odds, market data, price history, order books, and trending markets across categories like politics, crypto, and sports through natural language.
    15
    5
    MIT
  • A
    license
    B
    quality
    Not graded
    maintenance
    Enables AI agents to interact with the Polymarket prediction market platform to discover markets, analyze real-time pricing, and monitor public portfolio data. It provides comprehensive access to market analytics, implied probabilities, and order books through the Model Context Protocol.
    59
    15
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI agents to discover and analyze prediction markets, execute trades, and manage positions on Polymarket via the Model Context Protocol.
    7
    76
    19
    MIT

View all related MCP servers

Related MCP Connectors

  • Calibrated world model for AI agents. 40 tools: world state, markets, trading. Kalshi + Polymarket.

  • Pay-per-use weather, environment, finance, and on-chain intelligence tools for AI agents via x402.

  • Machine-payable prediction-market briefs and probability-change monitoring for AI agents.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Br0ski777/prediction-markets-x402'

If you have feedback or need assistance with the MCP directory API, please join our Discord server