REST and WebSocket APIs give full control via /buyenergy, /refill, /balance, and /cost.
This is because some Energy service providers obtain large amounts of Energy by staking TRX for a limited period.
Using delegated Energy instantly reduces your fees to as low as 4.55 or 9.45 TRX per transaction, with no hidden costs.