Solids and NOT Molecules using MPRester

Dear forum, please is there a way I can extract only solids and not molecules from the Materials Project using the MPRester?

I will appreciate your help please.