Skip to main content
View on GitHub → Prediction-market discovery data for autonomous agents. One AISA_API_KEY reads mounted Polymarket and Kalshi endpoints for market discovery, event lookup, activity, and Kalshi trade history.

Install

Start a new agent session after installing so the skill loads.

What can agents do with it?

Market discovery

“Find Polymarket and Kalshi markets related to a topic.”

Event lookup

“Browse Polymarket event groups and associated markets.”

Trade history

“Pull recent Kalshi trade records with optional ticker and block-trade filters.”

Activity checks

“Inspect Polymarket activity for a specific user over a time range.”

Liquidity triage

“Use volume and liquidity fields from market discovery responses to prioritize deeper venue checks.”

Research workflows

“Build candidate sets before using venue-native tools for pricing, orderbooks, or execution.”

Core capabilities

  • Market discovery — fetch Polymarket and Kalshi markets with provider-supported filters.
  • Event index — fetch Polymarket event/group data.
  • Trade history — fetch Kalshi trades using limit, cursor, ticker, min_ts, max_ts, and is_block_trade.
  • Activity lookup — fetch Polymarket user activity with user and optional time/market filters.
AIsa currently mounts the endpoints listed below. Older examples for AIsa-hosted price, orderbook, wallet, candlestick, and matching-market endpoints were removed because authenticated probes returned api endpoint not found.

Quick start

Polymarket

Kalshi

Python client

Endpoint reference

Get started

  1. Sign up at aisa.one and create an API key in the console.
  2. Set it in your shell: export AISA_API_KEY="your-key".
  3. Install the skill with one of the commands under Install, then start a new agent session.

Prediction Market API reference

Mounted Polymarket and Kalshi discovery endpoints.

Arbitrage skill

Candidate discovery for cross-platform market research.

Error Codes

Handling upstream exchange errors.