We measured the in situ polarization-dependent X-ray absorption fine structure of PtNPs deposited on a flat HOPG substrate.