Using Materials Project API to Compute MOF Data

I’m a relatively new user of the Materials Project Database, and I’m trying to use Pymatgen and the Materials Project API to analyze data from MOFs. However, I have noticed that, in the Nanoporous Materials page, none of the listed materials have an mp-ID, and I read that the API doesn’t currently support Nanoporous. Does anyone have experience using python to access MOF data, in a similar manner to using the API? How would I go about doing that?

Hi emcamis,

I don’t think there are endpoints for the mesoporous data yet on MP. You might try, which has an api that’s documented.

See API access to nanoporous materials database. In particular, I linked to a small gist for accessing a MOF material’s data via python. This doesn’t support search, but you can get at all of the data on a detail page.

1 Like