/materialsproject/structures/search

POST /api/materialsproject/structures/search

Price: 20 credits

Search Materials Project crystal structures by composition. Filter by the elements a structure must, may or must not contain, by how many distinct elements and how many atomic sites it has, by exact reduced or anonymous formula, by a formula prefix or substring, or by a list of structure ids; order by id, site count, element count or last modification. Returns composition, all four chemical formulas, site and element counts, and formation energy and energy above hull per DFT functional. Atomic coordinates are not included — fetch materialsproject/structures for those.

How to use it

This is a crystal-structure and composition index, not the Materials Project property database: it answers 'which materials are made of these elements, in this stoichiometry, in a cell this size' and nothing else. Band gap, metallicity, density, volume, symmetry and space group, magnetism, elastic and dielectric constants, phonons, electrodes, synthesis routes and ICSD cross-references are absent from this mirror and cannot be filtered on or returned by any endpoint here; `thermodynamics` (formation energy, energy above hull) is the only property carried. The corpus is a frozen snapshot whose newest record is from March 2023, so a material published since then is missing rather than unstable. Composition filters combine with AND, so elements_all plus element_count is how you ask for a binary silicon oxide rather than anything containing Si and O. Formulas must be written the source's way — formula_reduced is alphabetical and divided down (O2Si, not SiO2), formula_anonymous replaces elements by A, B, C in descending count (A2B). There is no free-text or material-name search: a name such as 'quartz' returns nothing, so start from elements or a formula. Feed a result id to materialsproject/structures when you need the atomic positions. Two distinct structures can share the same formula and site count (different polymorphs of the same composition), so `immutable_id` is the field that uniquely identifies a structure, not the combination of formula and site count.

Parameters

Request body

Response

Errors

Response headers