Use abstracted API URL in graph