GET /api/v2/events/{eventID}/markets/history reads each market on its own, so one request can cover every sportsbook.
limit applies to each market: every requested market returns up to limit of its newest rows (default 1000, maximum 5000). One response carries at most 15,000 rows, so with more than 3 markets each market’s limit is 15,000 divided by the number of markets. With main_line=true, limit caps the whole response.
Repeated ids count once. affiliate_ids=0 is not a scores-only sentinel on this route. market_ids still defaults to 1,2,3 (maximum 12). from and to are optional RFC 3339 bounds.
Chart history (GET /api/v2/events/{eventID}/markets/{marketID}/history), opening lines, and closing lines also treat affiliate_ids as an optional filter. Chart history with participant_id, line, or main_line=true reads at most 40,000 recorded prices per request. If limit is not filled by then, it returns HTTP 400 asking for fewer affiliate_ids or a shorter from/to window. See Single Market History.
WebSocket connection caps are documented on Connection limits.