A near-infrared magnetic aptasensor for Ochratoxin A based on near-infrared upconversion nanoparticles and magnetic nanoparticles.