calling category api