abstract api call urls