Move common API url to variable