How do I get the address components in mass for nearby places?

I'm building an app which needs to list the places on a given floor of a building. I'm using Google Place Nearby search API. Unfortunately I have call getdetails on each place to get the unit number which should indicate floor. Does anyone have a smarter way to get unit numbers in mass?