Prediction Market Data
Prediction markets data - Polymarket, Kalshi markets, prices, positions, and trades
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/chaimengphp/openclaw-aisa-prediction-marketCross-Platform Prediction Market Data 📈
Prediction markets data access for autonomous agents. Powered by AIsa.
One API key. Full Polymarket and Kalshi intelligence.
What Can You Do?
Probability Checks
"What are the odds of [event] happening?"
Market Sentiment
"Research the current market sentiment on the upcoming election."
Trading Analysis
"Analyze historical prices and orderbooks for this market."
Portfolio Tracking
"Track portfolio positions and P&L for wallet address X."
Arbitrage Detection
"Find arbitrage opportunities across Polymarket and Kalshi."
Quick Start
export AISA_API_KEY="your-key"
How to Look Up IDs
Most endpoints require an ID that comes from the /markets response. Always query markets first, then pass the relevant ID to downstream endpoints.
- Polymarket
token_id: Query/polymarket/markets, findside_a.idorside_b.idin the response, then pass it to/polymarket/market-price/{token_id}. - Polymarket
condition_id: Query/polymarket/markets, findcondition_idin the response, then pass it to/polymarket/candlesticks/{condition_id}. - Kalshi
market_ticker: Query/kalshi/markets, findmarket_tickerin the response, then pass it to/kalshi/market-price/{market_ticker}.
End-to-End Examples
Get the current price of a Polymarket market
Prices require a token_id, which comes from the /markets response. Always query markets first.
Step 1: Find a market and extract the token_id:
# Search for open election markets and grab a token_id
python scripts/prediction_market_client.py polymarket markets --search "election" --status open --limit 5
The response includes a side_a.id and side_b.id for each market; these are the token IDs for the Yes and No sides respectively:
{
"markets": [
{
"title": "Will Trump nationalize elections?",
"market_slug": "will-trump-nationalize-elections",
"condition_id": "0xe6522d64f35a6843ebdbccab2e3d4a1385350be6d40a3de766330e207b71a8ba",
"side_a": {
"id": "44482086252598348208660011972852804909957485351743405768768577675743702971026",
"label": "Yes"
},
"side_b": {
"id": "68987475491741167427045844503509447338405188188495224371188027929166363674438",
"label": "No"
}
}
]
}
Step 2: Fetch the current price using the token_id:
# Use side_a.id (Yes) or side_b.id (No) from Step 1
python scripts/prediction_market_client.py polymarket price 44482086252598348208660011972852804909957485351743405768768577675743702971026
The price is a decimal between 0 and 1 representing the probability (e.g.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-chaimengphp-openclaw-aisa-prediction-market": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
perplexity-search
Perplexity Sonar search and answer generation through AIsa. Use when the task is specifically to call Perplexity Sonar, Sonar Pro, Sonar Reasoning Pro, or Sonar Deep Research for citation-backed web answers, analytical reasoning, or long-form research reports.
MarketPulse
Query real-time and historical financial data across equities and crypto—prices, market moves, metrics, and trends for analysis, alerts, and reporting.
openclaw-media-gen
Generate images & videos with AIsa. Gemini 3 Pro Image (image) + Qwen Wan 2.6 (video) via one API key.
Prediction Market Arbitrage
Find and analyze arbitrage opportunities across prediction markets like Polymarket and Kalshi.
Twitter Command Center (Search + Post)
Searches and reads X (Twitter): profiles, timelines, mentions, followers, tweet search, trends, lists, communities, and Spaces. Publishes posts after the user completes OAuth in the browser. Use when the user asks about Twitter/X data, social listening, or posting without sharing account passwords.