Retrieving All IP Addresses via WAPI v2

Is there a more efficient way to retrieve a list of all networks and their used IP addresses other than the scripted approach below?

  1. Call /network endpoint to get a list of all networks
  2. For each network, call /ipv4address?network=…&network_view=…&status=USED

If the 1st call returns tens of thousands of networks, this whole process will take hours to complete.

Tagged: