1. Create an Account
Sign up at app.rivermarkets.com to create your account.2. Generate an API Key
- Log in to your dashboard
- Navigate to Settings → API Keys
- Click Create API Key
- Copy the key_id and private_key — the private key is shown only once
3. Install the SDK
4. Make Your First Request
Test your credentials by searching for markets. We support ticker search (Kalshi ticker, Polymarket condition_id/slug, river_id) and fuzzy search (“bitcoin”, “fed rates”).5. Set Up a Subaccount
Subaccounts let you organize trading activity into separate containers — useful for segregating strategies, clients, or portfolios. You can create them via the UI at Settings → Subaccounts or programmatically:6. Add Exchange Credentials
Exchange credentials can be added via the UI under Settings → SubaccountsWe use asymmetric encryption — your credentials are never transferred between services or stored in plain text. Credentials are deleted when you delete a subaccount.
7. Place Your First Order
Use the River ID from your market search to place an order:8. Check Order Status
| Status | Description |
|---|---|
pending_submission | Order received, awaiting processing |
submitted | Order sent to exchange |
partially_filled | Order partially executed |
filled | Order fully executed |
cancelled | Order cancelled |
rejected | Order rejected (see reject_reason) |
9. Cancel an Order
Rate Limits
- Standard: 10 requests/second
- Premium: Contact support for higher limits

