energy API development