Accessing all Batteries using Materials Project API (or all possible battids)

Hi, is there a way to use an mpquery or a similar command to get all the battery materials in the battery explorer (note, I want to do this without inputting any battid or formulas as in the answer using mpr.get_battery_data = get_battery_data(compound))

Sure. Try mpr._make_request('/battery/all_ids') to get a list of battids.

2 Likes

Thanks! Is there also a comparable request to get all the ids (mp and mvc) from the materials explorer? I tried to extrapolate the batteryid request but no success.