Prediction Market Arbitrage
Find and analyze arbitrage opportunities across prediction markets like Polymarket and Kalshi.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/aisadocs/polymarket-arbCross-Platform Prediction Market Arbitrage ⚖️
Find arbitrage opportunities across prediction markets for autonomous agents. Powered by AIsa.
One API key. Match events across Polymarket and Kalshi to detect price discrepancies and potential risk-free profit opportunities.
What Can You Do?
Detect Price Discrepancies
"Find the current price difference for the US election market between Polymarket and Kalshi."
Match Cross-Platform Markets
"Find the Kalshi equivalent for this Polymarket sports event."
Track Arbitrage Spreads
"Monitor the price spread for the upcoming NBA game across all supported prediction markets."
Analyze Orderbook Depth
"Check the orderbook depth on both platforms to see if the arbitrage opportunity is actionable."
Quick Start
export AISA_API_KEY="your-key"
How to Look Up IDs
Most endpoints require an ID from the /markets or /matching-markets responses. 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 use that value in the market price and orderbook endpoints. - Kalshi
market_ticker: Query/kalshi/markets, findmarket_tickerin the response, then use that value in the market price and orderbook endpoints.
Core Capabilities
1. Find Matching Markets
The first step in arbitrage is finding the same event on multiple platforms.
Match by Event Ticker or Slug
# Find equivalent markets across platforms using a Polymarket slug
curl -X GET "https://api.aisa.one/apis/v1/matching-markets/sports?polymarket_market_slug={polymarket_market_slug}" \
-H "Authorization: Bearer $AISA_API_KEY"
# Or find equivalent markets using a Kalshi event ticker
curl -X GET "https://api.aisa.one/apis/v1/matching-markets/sports?kalshi_event_ticker={kalshi_event_ticker}" \
-H "Authorization: Bearer $AISA_API_KEY"
Match Sports by Date
# Find all matching sports markets across platforms for a specific date
curl -X GET "https://api.aisa.one/apis/v1/matching-markets/sports/{sport}?date={date}" \
-H "Authorization: Bearer $AISA_API_KEY"
2. Compare Prices
Once matching markets are found, fetch the current prices on both platforms to calculate the spread.
Get Polymarket Price
# token_id comes from side_a.id or side_b.id in /polymarket/markets response
curl -X GET "https://api.aisa.one/apis/v1/polymarket/market-price/{token_id}" \
-H "Authorization: Bearer $AISA_API_KEY"
Get Kalshi Price
# market_ticker comes from /kalshi/markets response
curl -X GET "https://api.aisa.one/apis/v1/kalshi/market-price/{market_ticker}" \
-H "Authorization: Bearer $AISA_API_KEY"
3. Verify Liquidity
A price discrepancy is only actionable if there is enough liquidity to execute the trades.
Polymarket Orderbook
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-aisadocs-polymarket-arb": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
aisa-tavily
AI-optimized web search via AIsa's Tavily API proxy. Returns concise, relevant results for AI agents through AIsa's unified API gateway.
openclaw-search
Intelligent search for agents. Multi-source retrieval with confidence scoring - web, academic, and Tavily in one unified API.
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.
openclaw-media-gen
Generate images & videos with AIsa. Gemini 3 Pro Image (image) + Qwen Wan 2.6 (video) via one API key.
openclaw-media-gen
Generate images & videos with AIsa. Gemini 3 Pro Image (image) + Qwen Wan 2.6 (video) via one API key.