In light of accumulating evidences highlighting the major role of operational conditions (gas composition, pressure, temperature) on the surface/bulk structure of catalytic materials, their characterization should involve more and more in-situ methods. We constructed a synchrotronbased high-pressure XPS (X-ray photoelectron spectroscopic) instrument, allowing us to investigate the surface and near-surface state of a catalyst in the mbar pressure range. We discuss here the surface characteristics of palladium samples as a function of gas-phase (hydrogen, oxygen) and temperature. We demonstrate that the surface region of catalytic materials behaves dynamically in its composition, always reflecting on its environment. For example, surface oxide can be formed on Pd(111) in oxygen which decomposes rapidly as the gas supply is switched off. The chemical nature of carbonaceous deposits depends also strongly on the operational conditions (gas-phase hydrogen, temperature). It is the first time that XPS investigation on palladium β-hydride was performed at RT. The possible drawbacks of using non-UHV setup e.g. fast carbon accumulation are also discussed.