prediction-markets
予測市場API
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 bodyx402対応クライアント(@x402/fetch、x402-agent-tools、ATXP)は、402 -> 署名 -> 再試行のサイクルを自動的に処理します。
ツール
ツール | メソッド | パス | 価格 | 説明 |
| POST |
| $0.012 | PolymarketとKalshiのアクティブな予測市場を現在のオッズ、出来高、カテゴリとともに一覧表示します。トピック、プラットフォームでフィルタリングし、出来高、新着、または終了間近で並べ替えできます。 |
| POST |
| $0.012 | IDまたは検索クエリで特定の予測市場の詳細なオッズと取引データを取得します。PolymarketとKalshiの両方を検索します。 |
| POST |
| $0.008 | PolymarketとKalshiの出来高とエンゲージメントでランク付けされた上位のトレンド予測市場。 |
prediction_list_markets
アクティブな予測市場を閲覧したり、実世界のイベントに関するベッティングオッズを見つけたりする必要がある場合に使用します。PolymarketとKalshiのアクティブな市場のリストを、現在の確率、取引量、メタデータとともに返します。
パラメータ
名前 | 型 | 必須 | 説明 |
| string | いいえ | トピックカテゴリで市場をフィルタリングします。すべてのカテゴリの場合は省略します。 |
| number | いいえ | 返す市場の数(1-50)。デフォルト: 20。 |
| string | いいえ | 並べ替え順序。'volume' = 取引量が多い順、'newest' = 新しく作成された順、'closing_soon' = 終了が近い順。デフォルト: volume。 |
| 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または質問テキストに基づいて最適な一致を見つけます。
パラメータ
名前 | 型 | 必須 | 説明 |
| string | いいえ | Polymarketのcondition IDまたはKalshiのticker。市場IDをすでに知っている場合に使用します。 |
| 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を使用)。
prediction_trending_markets
現在トレンドの予測市場を確認する必要がある場合に使用します。PolymarketとKalshiの両方から、最近の取引量とアクティビティでランク付けされた最もホットな市場を返します。
パラメータ
名前 | 型 | 必須 | 説明 |
| number | いいえ | 返すトレンド市場の数(1-30)。デフォルト: 10。 |
| 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、サインアップ不要。
完全なAPIリファレンス: https://klymax402.com/llms-full.txt
ライブ統計: https://klymax402.com/stats
ライセンス
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Calibrated world model for AI agents. 40 tools: world state, markets, trading. Kalshi + Polymarket.
Live prediction markets: Polymarket + Kalshi prices, odds, order books. Pay-per-call USDC, no key.
Market data and web intelligence for AI agents, paid per call in USDC on Base via x402.
Money tools for AI agents over x402: USDC bridge to 16 chains, Polymarket data, stocks, USDC gas.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables 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.27 npm7MIT
- AlicenseBqualityNot gradedmaintenanceEnables 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.5927 npm-
- AlicenseNot gradedqualityDmaintenanceEnables real-time access to Polymarket prediction market odds, allowing AI agents to retrieve events, markets, and search for predictions with formatted outputs.5MIT
- AlicenseAqualityDmaintenanceProvides search, trending, odds, arbitrage, and category browsing for prediction markets (Polymarket & Kalshi) via the Model Context Protocol, enabling AI agents to access live market data without API keys.51MIT