The analysis of crude oil by means of different atmospheric pressure ionization (API) techniques is described. Crude oil is analysed without any separation prior to API-Fourier transform mass spectrometry. The use of a quadrupole/hexapole device to selectively enhance a certain mass range is demonstrated. Automated generation of molecular formulas from accurate mass measurements enables rapid compound identification.