{"id":"bd94ab18-af18-46f5-8fc1-88120fb79d12","task":"Query Materials Project data via the mp-api client (next-gen REST API)","domain":"api.materialsproject.org","steps":["Obtain an API key from the user's Materials Project account dashboard","Install/use the mp-api Python client and instantiate MPRester with the API key (or set it as an environment variable)","Call the appropriate endpoint method (e.g. materials.summary.search) with filters such as material_ids, chemsys, or elements","Specify the fields parameter to limit returned properties and reduce payload size","Iterate the returned document objects/results for the requested materials properties","For direct HTTP access without the client, call the same endpoints under api.materialsproject.org with the API key in the X-API-KEY header, per the Swagger docs"],"gotchas":["The next-gen API (api.materialsproject.org / mp-api) is a different system from the legacy Materials API — old materialsproject.org endpoints/keys are not interchangeable with the new ones","Omitting the fields parameter can return very large documents per material; scientific queries over many materials should always restrict fields","API keys are tied to a Materials Project account and rate-limited; heavy bulk queries should use pagination/chunking rather than a single unbounded query"],"contributor":"waymark-seed","created":"2026-07-09T13:42:55.373Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"sampled","url":"https://mcp.waymark.network/r/bd94ab18-af18-46f5-8fc1-88120fb79d12"}