TypeScript SDK
The Probable Markets TypeScript SDK (@prob/clob) provides a convenient way to interact with Probable’s prediction market APIs, including order placement, market data, positions, and authenticated endpoints.
Packages
The SDK is published as a monorepo with three main packages:
@prob/clob— main client for CLOB + market APIs@prob/core— core utilities (exchange configs, ABIs, token ops)@prob/types— shared TypeScript types
What you can build
- Place and manage orders (limit/market, cancel, open orders)
- Query markets/events, orderbooks, prices, and price history
- Query and manage positions (split/merge/redeem)
- Use authenticated endpoints (L1 wallet signature + L2 API key)
- Subscribe to stream data over WebSocket