Synthesis and characterization of new lacunar apatites KPb4−xCax(PO4)3 (0 ≤ x ≤ 1.5). Structural refinement of these compounds using Rietveld method. A study of Ca doping effect in lacunar apatites for detecting Cd (II). The electrochemical oxidation of Cd (II) was performed at CaLA-CPE using DPASV. The proposed method was evaluated to detect cadmium in seawater and mussel samples.