Move API URL to a variable.