There isn't a standard that is broadly-adopted, but NUT (https://networkupstools.org/) has reverse-engineered drivers for nearly every UPS out there, usually each brand has their standard so as long as the brand is supported it will work. (NUT is also what TrueNAS, Synology, QNAP, etc use internally for their UPS support)
I've had good luck with using NUT with APC UPSes (both consumer models and buying used enterprise rack-mount models).
One cool thing you can do with NUT is share the UPS state over the network, so that multiple machines can respond to the power state instead of just the machine that is plugged in via USB directly.