base client api