Prediction Markets
Polymarket
Section titled “Polymarket”ID: polymarket | Markets: Prediction market CLOB | Chain: Polygon
Polymarket is a prediction market using a central limit order book (CLOB) on Polygon. Trade binary outcomes on real-world events.
| Parameter | Type | Description |
|---|---|---|
api_key | string | Polymarket API key. |
api_secret | string | Polymarket API secret. |
passphrase | string | Polymarket API passphrase. |
curl -X POST https://agents.systemr.ai/v1/broker/connect \ -H "X-API-Key: sr_agent_..." \ -H "Content-Type: application/json" \ -d '{ "broker_type": "polymarket", "connection_params": { "api_key": "YOUR_API_KEY", "api_secret": "YOUR_API_SECRET", "passphrase": "YOUR_PASSPHRASE" } }'Market types
Section titled “Market types”Polymarket offers binary outcome contracts. Each market has YES and NO shares that trade between $0 and $1. Markets resolve to $1 (correct outcome) or $0 (incorrect outcome).
Example markets: election outcomes, economic data releases, sports events, technology milestones.
Kalshi
Section titled “Kalshi”ID: kalshi | Markets: CFTC-regulated event contracts | Regulation: US regulated
Kalshi is a CFTC-regulated exchange for event contracts. Fully compliant with US regulations.
| Parameter | Type | Description |
|---|---|---|
email | string | Kalshi account email. |
password | string | Kalshi account password. |
api_key | string | Optional. Kalshi API key (alternative to email/password). |
curl -X POST https://agents.systemr.ai/v1/broker/connect \ -H "X-API-Key: sr_agent_..." \ -H "Content-Type: application/json" \ -d '{ "broker_type": "kalshi", "connection_params": { "email": "[email protected]", "password": "your_password" } }'Or using API key authentication:
curl -X POST https://agents.systemr.ai/v1/broker/connect \ -H "X-API-Key: sr_agent_..." \ -H "Content-Type: application/json" \ -d '{ "broker_type": "kalshi", "connection_params": { "api_key": "YOUR_KALSHI_API_KEY" } }'Market types
Section titled “Market types”Kalshi offers event contracts on weather, economics, politics, finance, and more. Contracts trade between $0.01 and $0.99, settling at $1.00 or $0.00.
Placing orders on prediction markets
Section titled “Placing orders on prediction markets”After connecting, use the standard order endpoint:
curl -X POST https://agents.systemr.ai/v1/broker/order \ -H "X-API-Key: sr_agent_..." \ -H "Content-Type: application/json" \ -d '{ "symbol": "PRES-2028-DEM", "side": "buy", "quantity": "100", "order_type": "limit", "limit_price": "0.45" }'The symbol format depends on the prediction market. Check each platform’s market identifiers.
Each order placement costs $0.015 and runs risk validation before submission.