Complete reverse-engineered API documentation for Stockbit (stockbit.com), covering REST, WebSocket, and trading protocols.
| Document | Description |
|---|---|
| Architecture | Service map, domains, tech stack, data flow diagrams |
| Authentication | Full auth flows (main token, sekuritas, trading, WS key, PIN) |
| REST APIs | |
| Exodus (Main API) | User, social, watchlist, chart, company data, auth/utility |
| Chat API | Chat rooms, messages, groups, invitations |
| Carina (Trading) | Orders, portfolio, balance, bonds, margin, account management |
| REST Reference | Enums, error responses, HTTP status codes |
| WebSocket | |
| Trading WS | Auth, two-step handshake, decode, orderbook text format, chart WS |
| General WS | Reconnection, heartbeat, error handling |
| Social WS | Social feed & chat real-time updates |
| Protobuf Schemas | All message definitions and enums |
| Operations | |
| Trading Operations | Order flow, lifecycle, fees, limits, examples |
| Python Client | API wrapper guide, examples, error handling |
| Broker Analysis | Evidence that Sinarmas Sekuritas is the underlying broker |
https://exodus.stockbit.comhttps://carina.stockbit.comwss://wss-trading.stockbit.com/wswss://wssocial.stockbit.comwss://ws-gen.stockbit.com/v1exodus.stockbit.com and carina.stockbit.com use JSON request/response."web" sub-protocol and optional ?type=chart query.liveprice + iepiev channels and sends periodic PingRequest { message: "ping" } every ~30s.