One of the most captivating properties of polaritons is their capacity to confine light at the nanoscale. This confinement is even more extreme in two-dimensional (2D) materials. 2D polaritons have been investigated by optical measurements using an external photodetector. However, their effective spectrally resolved electrical detection via far-field excitation remains unexplored. This hinders their exploitation in crucial applications such as sensing, hyperspectral imaging, and optical spectrometry, banking on their potential for integration with silicon technologies. Herein, we present the electrical spectroscopy of polaritonic nanoresonators based on a high-quality 2D-material heterostructure, which serves at the same time as the photodetector and the polaritonic platform. Subsequently, we electrically detect these mid-infrared resonators by near-field coupling to a graphene pn-junction. The nanoresonators simultaneously exhibit extreme lateral confinement and high-quality factors. This work opens a venue for investigating this tunable and complex hybrid system and its use in compact sensing and imaging platforms.