An easy way is go to Organization > Overview. Go to devices tab, you can filter on MX to parse the results, make sure Uplink IP port 1 (and 2 if you use them) are selected. That will show the public IP. You can export this into csv.
Ryan If you found this post helpful, please give it
Kudos. If my answer solves your problem please click
Accept as Solution so others can benefit from it.