These results indicated that the developed aptasensor offered a promising platform for selective and sensitive HER2 detection in breast cancer diagnostics. Here, ERBB2 is linked to breast carcinoma.