Phosphotungstic and silicotungstic acid salt catalysts (CuPW, CuSiW, FePW, FeSiW) were synthesized by substitution of protons with ferric and copper ions through a simple replacement reaction. The structure and thermal stability were characterized by IR, XRD and TG, and the salts showed a keggin structure and a thermal tolerance near 450 °C. Temperature programmed reactions indicated that the four catalysts showed similar trends in the change of methanol conversion, DME selectivity, and light olefins selectivity at 100–400 °C. Copper salt catalysts showed a 100% DME selectivity at temperatures ranging from 100–250 °C, while FeSiW and FePW catalysts had a 100% DME selectivity near 250 °C. Moreover, the heteropolyacid salt catalysts also produced a certain number of light olefins at the temperature ranging from 250–350 °C, and the CuSiW catalyst exhibited the highest ethylene and propylene selectivity of 44%. In the stability test evaluated at 200 °C, the catalysts showed different tendencies during the induction period and the same trends during the reduction period for the methanol conversion to DME, due to the differences in the strengths of the strong acid sites. Finally, the silicotungstic acid salt catalysts showed the longest lifetime of 120 h, much longer than the heteropolyacids. This approach provides an effective way to synthesize hydrocarbons through methanol, especially DME, at different temperatures using one catalyst.