Normalized the api calls