Platforms
Platform Overview
Supported platforms and their capabilities
Prediction Router supports two real-money prediction market exchanges: Polymarket and Kalshi. Capabilities differ slightly depending on what each platform's native API exposes.
Capability matrix
| Platform | Search Markets | Place Orders | Balance | Positions | History | Credential |
|---|---|---|---|---|---|---|
| Kalshi | ✓ | ✓ | ✓ | ✓ | ✓ | API key |
| Polymarket | ✓ | ✓ | ✓ | ✓ | ✓ | Deposit Wallet + signer key |
Connecting a platform
Credentials are managed as platform accounts. To trade or read account data, connect an account with POST /v1/platform-accounts:
curl -X POST "https://prediction-router-api.kalashshah47.workers.dev/v1/platform-accounts" \
-H "Authorization: Bearer pr_..." \
-H "Content-Type: application/json" \
-d '{
"platform": "kalshi",
"label": "Main account",
"credential": "<your-credential>"
}'The credential format depends on the platform — see each platform's page or the credential formats table. The response includes an account id:
{ "account": { "id": "8f3c1a2b-...", "platform": "kalshi", "label": "Main account" } }You can connect more than one account per platform. Pass an account's id as the account_id query param on orders/account requests to target it; omit it to use that platform's most recently added account.
Listing connected accounts
curl "https://prediction-router-api.kalashshah47.workers.dev/v1/platform-accounts" \
-H "Authorization: Bearer pr_..."{
"accounts": [
{
"id": "8f3c1a2b-...",
"platform": "kalshi",
"label": "Main account",
"credentialType": "user_provided",
"createdAt": "2026-06-19T10:00:00.000Z"
}
]
}Filter to one platform with ?platform=kalshi.
Removing an account
curl -X DELETE "https://prediction-router-api.kalashshah47.workers.dev/v1/platform-accounts/8f3c1a2b-..." \
-H "Authorization: Bearer pr_..."