API url should be used for API calls only