Refactor API address into a variable.