Affinity between WS2 and ssDNA was used to construct stable sensing interface. These two sensors showed high sensitivity, selectivity and stability. This sensing strategy can also be expanded to other analogous of WS2. A promising approach for designing high-performance electrochemical aptasensors.