Working api and generatite category list