energy API use cases