Intergrated API with MainPage