The dataset contains 2D reconstructions of the Ag catalyst obtained using $in$ $situ$ ptychography. The Ag catalyst specimens were mounted on MEMS-based and TEM chips and studied under reaction conditions. Ptychography was performed at the NanoMAX beamline of the MAX IV Laboratory in Lund, Sweden. The specimens were treated in various gas mixtures and heated up to 500 $^{\circ}$C under atmospheric pressures. The gas environments for each specimen and its treatment conditions have been elaborately discussed within the published manuscript. A detailed description of the datasets can also be found in the corresponding readme text.