Move API address to environment variable