yuval.ein since: 08 May 2020;
Is there a way to know a symbol's type (Forex, commodety, etc.)?
amusleh since: 01 Mar 2021;
No, there is no API function for getting a symbol category.
You can open a thread on suggestions section for this feature if you want to.