How to use "has_icsd_exptl_id" property in pymatgen query function?

Hello all,

I just realized that Materials Project has updated the query at website to include matching for experimentally confirmed structures, by using the property has_icsd_exptl_id. However, I cant find a way to use this property to query using MPRester query in python. If I try, for example, mp.query({“has_icsd_exptl_id”: True"}, [“pretty_formula”]), the results are blank.

Is there anyway to use MPAPI with has_icsd_exptl_id, as I am looking for only experimentally matched structures?


There is no such field. What we added was a theoretical flag that is False when we have confidence the structure comes from an experimental source. We use that plus having a list of ICSD IDs to filter for experimental ICSD compounds. We’re building up a few more experimental data sets so this will likely change in the future.

@pbcst where did you find the “has_icsd_exptl_id” key?