Home › Prediction market APIs & agents › Kalshi API
Is Kalshi API safe to connect to an AI agent?
Can trade unattended. Safety 50%
What an AI agent can do
- Live vs paper: live; separate demo environment with mock funds (demo.kalshi.co) source
- Order approval: official REST and WebSocket Trade API with RSA-PSS or Ed25519 signed keys; demo credentials are separate from production; since Oct 15, registered MCP clients can be granted read access to your portfolio (balances, positions, orders, fills) through a read::mcp_portfolio OAuth grant that cannot execute orders or change funding; no official trading MCP (community MCPs exist) source
- Markets: prediction markets
- Pricing: API access free; exchange trading fees apply per contract
Safeguards that exist
- Paper, demo or testnet mode: Paper, demo or testnet mode available source
- Withdrawal permission needed or allowed: Transfers need a separate write::transfer key scope that trading keys don't need (official docs) source
- Scoped keys, permission scopes or IP whitelisting: Scoped access (scopes, read-only mode, dedicated or separate account) source
Safeguards that are missing
Safety score
| Input | From our listing | Points |
|---|---|---|
| Can it place live orders unattended? | Can place live orders with no documented approval step | 0 / 25 |
| Order approval or confirmation options | No approval or limit option in our listing | 0 / 15 |
| Paper, demo or testnet mode | Paper, demo or testnet mode available | 15 / 15 |
| Withdrawal permission needed or allowed | Transfers need a separate write::transfer key scope that trading keys don't need (official docs) source | 15 / 15 |
| Scoped keys, permission scopes or IP whitelisting | Scoped access (scopes, read-only mode, dedicated or separate account) | 10 / 10 |
| Open source or audited | No public source code in our listing | 0 / 10 |
| Sourced and verified facts | Facts from the vendor's official docs | 10 / 10 |
| Total | 50% of the points we could check | 50 / 100 |
Sources
- https://docs.kalshi.com/getting_started/demo_env
- https://docs.kalshi.com/getting_started/sub_users_vs_subaccounts
Full listing: Kalshi API · How the score works: Safety score method