 The Vásárosnamény–Nyíregyháza line of the Hungarian State Railways (MÁV) serves the village.The village is first recorded in the 13th Century as .Because of its convenient location, Apagy became an important place of commerce and for holding county meetings.