Agreed. My api script, you have to foreach ($org in $orgs) then foreach ($network in $networks) which takes many, MANY API calls.
I have over 60 orgs+ 250+ networks and this takes about 1-2 minutes.
Better to store the value in a file somewhere to search manually if you need to.
You can always export-csv and sort per your own parameters.