If you want to update data in your App as soon as the data gets updated on server then you should use Web-Sockets instead of API, because an API only give response when you hit it with correct credentials.