AISA_API_KEY reads mounted Polymarket and Kalshi endpoints for market discovery, event lookup, activity, and Kalshi trade history.
Install
First, install the AIsa CLI if you have not already: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, andis_block_trade. - Activity lookup — fetch Polymarket user activity with
userand optional time/market filters.
Quick start
Polymarket
Kalshi
Python client
Endpoint reference
| Endpoint | Method | Purpose |
|---|---|---|
/polymarket/markets | GET | Polymarket markets |
/polymarket/events | GET | Polymarket events |
/polymarket/activity | GET | Activity |
/kalshi/markets | GET | Kalshi markets |
/kalshi/trades | GET | Kalshi trades |
Get started
- Sign up at aisa.one (new accounts start with $2 free credit).
- Generate an API key from the console.
export AISA_API_KEY="your-key"and install the skill:
Related
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.