STXMarketService— individual markets and market countsSTXEventService— events (a match/game), with its markets attached
List markets
GetMarketInfosAsync returns STXMarketInfosResponse<STXMarketInfo> — the full market object. For lightweight lookups by ID, use the Short variant:
Pagination & counts
GetMarketInfosWithCountAsync returns a paginated list plus the total count — use it for “showing N of M” views or to drive offset/limit scans:
Filter
STXMarketInfosFilter combines the common filter fields:
| Field | Type | |
|---|---|---|
Status | STXMarketInfosStatus | OPEN / CLOSED / etc. |
Trading | STXMarketInfosTrading | TRUE / FALSE / ALL |
Sport | string | Sport filter ("basketball", "baseball", …) |
Competition | string | Competition filter ("NBA", "MLB", …) |
EventId | string | Only markets for a given event |
Limit / Offset | int | Pagination |
Sports & competitions
Events
STXEventService bundles an event with its markets — one call instead of one-markets-per-event:
Real-time updates
For live price ticks on open markets, subscribe via theSTXMarketChannel websocket wrapper — see WebSockets → Market updates. REST polling is fine for snapshots; channels are required for latency-sensitive use cases.
See also
- Reference → Market data — full method signatures
- Enums — all filter values

