add Api method to return API instance