bit api