Workflow
Alerts
Alerts convert market signals into workflow triggers.
POST
/api/v2/alertsCreate alert
Creates an alert rule for a user.
Request
curl -X POST 'https://api.thepredictionmarkets.com/api/v2/alerts' \
-H 'Content-Type: application/json' \
-H 'X-User-Id: user_123' \
-d '{"trigger_type":"spread_threshold","threshold":0.05,"channel":"email","scope":{}}'Response
{ "trigger_type": "spread_threshold", "threshold": 0.05, "status": "active" }Build with TPM
Get your API key
Start with Kalshi and Polymarket market data, then add unified spreads, signals, alerts, and watchlists as your workflow grows.