Drug classes can give valuable insight into the properties of a drug.
Top 200 drugs spreadsheet: https://docs.google.com/spreadsheets/d/1CJvyQ6jCvE5fecvYOf2cLjqoMTv9y0qtKuF2t0ektio/edit?usp=sharing
Check out the classification systems:
https://www.whocc.no/atc_ddd_index/
https://www.fda.gov/regulatory-information/fdaaa-implementation-chart/usp-therapeutic-categories-model-guidelines
Information verified from the links above, Goodman and Gilman's Therapeutics, Clinical Pharmacology, and Micromedex.