Kalshi API and Polymarket data for AI agents: odds, markets and trades
For researchers, analysts and builders who follow prediction markets, the markets that price real events from elections to central bank decisions. Your AI agent reads Kalshi and Polymarket markets, odds, order books, trades, volume and open interest, and matches the same event across both. No exchange account or API key. Market data, not advice.
61 tools and 1 skill that uses them. Pay per use from one balance, no API keys.
- Search prediction markets
$0.065 per 10 results
Valyu89% success - BlockRun Filter Polymarket wallets
$0.0111 per call
blockrun-aiNew - BlockRun Kalshi markets
$0.0111 per call
blockrun-aiNew - BlockRun Kalshi orderbooks
$0.0111 per call
blockrun-aiNew - BlockRun Kalshi trades
$0.0111 per call
blockrun-aiNew - BlockRun Limitless markets
$0.0111 per call
blockrun-aiNew - BlockRun Markets
$0.0111 per call
blockrun-aiNew - BlockRun Opinion markets
$0.0111 per call
blockrun-aiNew - BlockRun Orderbooks
$0.0111 per call
blockrun-aiNew - BlockRun Orderbooks
$0.0111 per call
blockrun-aiNew - BlockRun Orderbooks
$0.0111 per call
blockrun-aiNew - BlockRun Pm: :address (polymarket wallet positions)
$0.0111 per call
blockrun-aiNew - BlockRun Pm: :address (polymarket wallet)
$0.0111 per call
blockrun-aiNew - BlockRun Pm: :condition id (polymarket leaderboard market)
$0.0111 per call
blockrun-aiNew - BlockRun Pm: :hash (polymarket candlesticks)
$0.0111 per call
blockrun-aiNew - BlockRun Polymarket activity
$0.0111 per call
blockrun-aiNew - BlockRun Polymarket cohort stats
$0.0111 per call
blockrun-aiNew - BlockRun Polymarket crypto up/down
$0.0111 per call
blockrun-aiNew - BlockRun Polymarket events
$0.0111 per call
blockrun-aiNew - BlockRun Polymarket events (keyset page)
$0.0111 per call
blockrun-aiNew - BlockRun Polymarket leaderboard
$0.0111 per call
blockrun-aiNew - BlockRun Polymarket leaderboard by market
$0.0111 per call
blockrun-aiNew - BlockRun Polymarket markets
$0.0111 per call
blockrun-aiNew
Starting prices. Prices can vary with length and quality. Your AI Agent works out the exact price, runs the tool from your balance and tells you what it cost. Failed uses are free.
What do you want your agent to do?
Find a market
Search Polymarket and Kalshi by topic and get the matching events with their current prices.
Best pick: Search prediction markets, $0.065 per 10 results
Read Polymarket odds
A Polymarket market's price over time, one point per interval, up to the latest.
Best pick: Surf Polymarket Price History, $0.0312 per call
Read Kalshi odds
The latest price from recent trades, or daily and hourly price bars for a Kalshi market.
Best pick: Surf Kalshi Price History, $0.0312 per call
Compare the same event on both
Pair an event listed on Polymarket and Kalshi and see the price gap between them.
Best pick: Surf Cross-Platform Prediction Market Matcher (Polymarket <> Kalshi), $0.0312 per call
Look at order books and trades
Order book snapshots and trade history, to see how deep a market really is.
Best pick: BlockRun Polymarket orderbooks, $0.0111 per call
Follow volume and open interest
Daily volume and open interest over time, to judge how much a price means.
Best pick: Surf Polymarket Volume History, $0.0312 per call
Our prediction market tools and MCPs
| Source | Best for | Example, today's price |
|---|---|---|
| Polymarket | Events, markets, outcome prices, order books, trades, wallets and leaderboards | BlockRun Polymarket markets, $0.0111 per call |
| Kalshi | Events, markets, price history, order books, trades, volume and open interest | Surf Kalshi Price History, $0.0312 per call |
| Kalshi and Polymarket matched | The same event on both platforms, with the price spread and daily volume | Surf Cross-Platform Prediction Market Matcher (Polymarket <> Kalshi), $0.0312 per call |
| Limitless, Opinion and Predict.fun | Markets and order books on other prediction markets, searchable together with Kalshi and Polymarket | BlockRun Search prediction markets, $0.0111 per call |
These tools read public market data through third-party data providers. They don't place trades or hold positions for you.
Kalshi vs Polymarket: how to choose the data you need
How each platform works
Kalshi is a US exchange regulated by the CFTC, and names its events and markets with tickers. Polymarket runs on a blockchain and finds markets by slug or condition id. Our tools take the ids each platform uses, so your agent can read either.
Public wallets or private accounts
Polymarket trades settle on chain, so wallet positions, top holders and trader leaderboards are public, and our tools can read them. Kalshi accounts are private: you get prices, order books, trades, volume and open interest, not who holds what.
Same question, different price
One event often trades on both platforms with a gap between the prices. The matcher pairs them and shows the spread. Read each market's rules first, because the resolution wording can differ.
Odds are not forecasts
A price is what traders pay right now. Thin markets move on small trades, so check volume and open interest before you quote a price as what the market expects.
| If you need | Choose | Today's price |
|---|---|---|
| Markets on a topic, with current prices | Prediction market search | $0.065 per 10 results |
| Polymarket odds over time | Polymarket price history | $0.0312 per call |
| Kalshi odds over time | Kalshi price history | $0.0312 per call |
| The gap between Kalshi and Polymarket | Cross-platform matcher | $0.0312 per call |
| How much money sits in a market | Open interest history | $0.0312 per call |
| What a Polymarket wallet holds | Wallet positions | $0.0312 per call |
Quick picks: search to find markets, the matcher for Kalshi vs Polymarket gaps, and volume and open interest before you trust a price.
Why use Agensi instead of separate prediction market MCPs?
Kalshi and Polymarket both have public APIs, but they name markets differently and return different formats, so reading both means writing glue code twice. With Agensi your agent reads both through one connection, with no exchange account or API key, and can put the odds next to news or market data in the same answer. It pays per call from your balance and runs without asking while the balance covers it. Set limits or have it ask first in Dashboard → Balance.
| What you get | Official MCP per brand | Own API key or community server | Agensi |
|---|---|---|---|
| Accounts | One per brand | One per brand | One |
| API keys | Per brand, or a sign-in | Per brand, kept by you | None |
| Payment | A plan or credits per brand | Per brand | One balance, per use |
| Spending control | Varies | Up to you | Limits per use, day and month, or ask first |
| Several sources in one answer | Connect several servers | Several servers and keys | One connection |
| Skills for the whole job | No | No | Yes, from the marketplace |
When another way is the better choice. If you want to place orders or run a bot that reacts to every price change, use the platforms' own APIs with your own account: our tools only read data and don't stream live updates. If you just want to glance at one market, the Kalshi and Polymarket websites are enough.
Set up in your AI agent
Connect your AI agent to Agensi once, sign in and click Allow. After that it can use every tool: it runs one from your balance and tells you what it cost. No API keys or provider accounts.
- Open Settings, then Connectors, then Browse connectors and add Agensi (or Add custom connector and paste https://mcp.agensi.io/mcp/auth).
- Sign in to Agensi and click Allow. One agent per account: connecting a new one disconnects the old one.
- Ask for what you want, for example: "Use Agensi to show the live Polymarket and Kalshi odds on the Fed's next rate decision, the gap between them and the volume behind each." Top up from $5 if your balance is low; failed uses are free.
- Run: claude mcp add agensi --transport http --url https://mcp.agensi.io/mcp/auth
- Sign in to Agensi and click Allow. One agent per account: connecting a new one disconnects the old one.
- Ask for what you want, for example: "Use Agensi to show the live Polymarket and Kalshi odds on the Fed's next rate decision, the gap between them and the volume behind each." Top up from $5 if your balance is low; failed uses are free.
- Open chatgpt.com/plugins, click Add, then Add custom MCP server. Paste https://mcp.agensi.io/mcp/auth and choose OAuth. Create it, click Connect, then sign in to Agensi and click Allow.
- Sign in to Agensi and click Allow. One agent per account: connecting a new one disconnects the old one.
- Ask for what you want, for example: "Use Agensi to show the live Polymarket and Kalshi odds on the Fed's next rate decision, the gap between them and the volume behind each." Top up from $5 if your balance is low; failed uses are free.
- Add an HTTP MCP server named "agensi" with url https://mcp.agensi.io/mcp/auth to .cursor/mcp.json.
- Sign in to Agensi and click Allow. One agent per account: connecting a new one disconnects the old one.
- Ask for what you want, for example: "Use Agensi to show the live Polymarket and Kalshi odds on the Fed's next rate decision, the gap between them and the volume behind each." Top up from $5 if your balance is low; failed uses are free.
- Add to ~/.codex/config.toml: [[mcp]] name = "agensi", type = "url", url = "https://mcp.agensi.io/mcp/auth"
- Sign in to Agensi and click Allow. One agent per account: connecting a new one disconnects the old one.
- Ask for what you want, for example: "Use Agensi to show the live Polymarket and Kalshi odds on the Fed's next rate decision, the gap between them and the volume behind each." Top up from $5 if your balance is low; failed uses are free.
Grok, VS Code, GitHub Copilot, Cline, Kiro and other agents with remote MCP and sign-in work too: see the setup guide.
What it costs: a worked example
"Use Agensi to show the live Polymarket and Kalshi odds on the Fed's next rate decision, the gap between them and the volume behind each."
- $0.065
1 × search across both platforms
Search prediction markets, $0.065 per 10 results
- $0.0312
1 × match the same market
Surf Cross-Platform Prediction Market Matcher (Polymarket <> Kalshi), $0.0312 per call
- $0.0312
1 × Polymarket volume
Surf Polymarket Volume History, $0.0312 per call
- $0.0312
1 × Kalshi volume
Surf Kalshi Volume History, $0.0312 per call
At today's starting prices. Your agent works out the exact price for your request and tells you what it cost.