How do I download CB and VB of materials?

The bandgap of the material is provided but how to download the CB and VB of the material? thank you.

Does this get you where you want to be?

with MPRester(<your_api_key>) as mpr:
    res = mpr.materials.summary.search(material_ids=["mp-149"], fields=["cbm", "vbm"])

I would recommend consulting the api docs for further examples and tips:

Happy to help if anything still isn’t clear

1 Like