Nano‐molybdenum trioxide was prepared from nano‐molybdenum disulfide by simple firing in muffle furnace. Nano‐molybdenum trioxide was used as the extraction coating on the stainless steel wire. Four wires were filled in a polyetheretherketone tube to get an extraction tube. The tube was connected to the six‐port valve of a high performance liquid chromatograph, and the online analysis system was constructed. Extraction selectivity of the tube for different types of compounds, including polycyclic aromatic hydrocarbons, plasticizers, estrogens, anilines and neonicotinoids, was studied. Good enrichment ability for polycyclic aromatic hydrocarbons, but the extraction efficiency of others was not satisfactory. Using eight polycyclic aromatic hydrocarbons as the targets, an analytical method was established after optimizing main factors such as sampling volume, sampling rate, methanol content, and desorption time. The established method exhibited wide linear range to 0.016–20.00 μg/L and low limits of detection to 0.005 μg/L, and the enrichment factors can be up to 2443. The method was applied to the detection of trace polycyclic aromatic hydrocarbons in tap water and river water, and a good recovery was obtained. The tube showed good durability and chemical stability, and it still remained good extraction effect after more than 140 run.