Move Apstrata's endpoint into a variable