analyze api