Although you can request multiple markets from listMarketBook and /wiki/spaces/BFAPIBETA/pages/1212460, there are limits on the amount of data requested in one request.
The following table explains the "weighting" of data for each MarketProjection. If you exceed the maximum weighting of 200 points, the API will return a TOO_MUCH_DATA error.
sum(Weight) * number market ids must not exceed 200 points
MarketProjection | Weight |
---|---|
MARKET_DESCRIPTION | 3 |
RUNNER_DESCRIPTION | 0 |
EVENT | 0 |
EVENT_TYPE | 0 |
COMPETITION | 0 |
RUNNER_METADATA | 1 |
SP_AVAILABLE | 3 |
SP_TRADED | 7 |
EX_BEST_OFFERS | 5 |
EX_ALL_OFFERS | 17 |
EX_TRADED | 17 |
MARKET_START_TIME | 0 |