difference API and Winbox for getting wireless interface data

I am writing my controller programs
in the field of wireless interface problems

How Can i like Winbox information “band” and "Channel width " use with CLI or API getting ?