In this work, a portable optical fiber-based "microextraction sensing" platform coupled with gold nanostars (Au NSRs) was designed for the detection of kanamycin (Kana). Replaceable optical fibers were used as solid-phase microextraction (SPME) devices and sensing probes. Au NSRs and Kana aptamers were sequentially modified onto a fiber core as sensing elements. The evanescent wave generated from the fiber interacted with the surface of the Au NSR, and the localized surface plasmon resonance (LSPR) effect was triggered. In the presence of Kana, the refractive index of the Au NSR surface changed, causing the LSPR characteristic peak to shift, thereby enabling the quantitative detection of Kana. Benefiting from the strong "hot spot" effect produced by the sharp branches of the Au NSR, the intensity of the signals was greatly increased. Under optimal conditions, the sensing platform exhibited high selectivity toward Kana. The calibration linear range was 0.5-500 nM (