We constructed a carbon-based polymer dot (CPD) sensor to detect breast cancer based on the differences of peripheral blood cells, providing a new minimally invasive method for cancer diagnosis. This simple and extensible system exhibits clinically relevant accuracy in terms of cancer identification, making it an attractive strategy for diagnosis and prognosis.