API and distillation