api2 endpoint instead of local