Retrieve API URL from environment