Hi @Minju, I’ve added the get_cohesive_energy
function back to the Materials Project API. That should make it into a release in the near future, but for now you can use this functionality by running pip install 'git+https://github.com/materialsproject/api.git'
Just note that the default normalization for the cohesive energies has changed. In the legacy API, the default was by formula unit, and in the current API, it’s by number of atoms (more conventional choice IMO)
Also note that you need to pass it a list of MPIDs (even a list of a single MPID) as an argument