ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

prediction-market-data

Cross-platform prediction market data via AIsa API. Query Polymarket and Kalshi markets, prices, orderbooks, candlesticks, positions, and trades. Use when user asks about: prediction market odds, election betting, event probabilities, market sentiment, Polymarket prices, Kalshi prices, sports betting odds, wallet PnL, or cross-platform market comparison.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/bibaofeng/prediction-market-data
Or

Prediction Market Data

Query Polymarket and Kalshi prediction markets via AIsa API.

Setup

export AISA_API_KEY="your-key"

Get a key at aisa.one ($0.01/query, pay-as-you-go).

Workflow

Querying prediction market data involves these steps:

  1. Search markets to find IDs (always start here)
  2. Extract the ID from the response (token_id, condition_id, or market_ticker)
  3. Query details using the extracted ID (price, orderbook, candlesticks, etc.)

Quick Examples

Polymarket: search → get price

# Step 1: Search — find markets and extract token_id (side_a.id or side_b.id)
python3 {baseDir}/scripts/prediction_market_client.py polymarket markets --search "election" --status open --limit 5

# Step 2: Get price using token_id from Step 1
python3 {baseDir}/scripts/prediction_market_client.py polymarket price <token_id>

Kalshi: search → get price

# Step 1: Search — find markets and extract market_ticker
python3 {baseDir}/scripts/prediction_market_client.py kalshi markets --search "fed rate" --status open --limit 5

# Step 2: Get price using market_ticker from Step 1
python3 {baseDir}/scripts/prediction_market_client.py kalshi price <market_ticker>

Cross-platform sports

python3 {baseDir}/scripts/prediction_market_client.py sports by-date nba --date 2025-04-01

ID Reference

Most commands need an ID from the markets response. Always search first.

PlatformID FieldWhere to Find
Polymarkettoken_idside_a.id or side_b.id in markets output
Polymarketcondition_idcondition_id in markets output
Kalshimarket_tickermarket_ticker in markets output

Commands

Polymarket

Metadata

Author@bibaofeng
Stars4473
Views0
Updated2026-05-01
View Author Profile
AI Skill Finder

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 skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-bibaofeng-prediction-market-data": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.