GET /api/v2/events/{eventID}/markets/history requires affiliate_ids. Pass 1 to 3 sportsbook ids.
Repeated ids count once and do not increase the count.
affiliate_ids=0 is not a scores-only sentinel on this route. The request is rejected before any history read.
market_ids still defaults to 1,2,3 (maximum 12). from and to are optional RFC 3339 bounds. limit defaults to 1000 and accepts up to 5000.
Chart history (GET /api/v2/events/{eventID}/markets/{marketID}/history), opening lines, and closing lines still treat affiliate_ids as an optional filter. Examples such as affiliate_ids=19,23 on those routes are unchanged. 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. The Historical Odds guide example affiliate_ids=19,23 on event market history is a valid two-book request.
WebSocket connection caps are documented on Connection limits.