API integration dynamic prices electricity