Similar to the Booking Engine, the Booking Engine API only supports single units and multi-units. Therefore, when requesting "all listings", Booking Engine API responses will only include the "parent" unit of the multi-unit (and not each of its sub-units).
However, you can use the Booking Engine API to request a list of your available listings according to some selected dates. The response will include the sub-units that are available (meaning, not assigned to reservations).