Energy API development