A novel and cost-efficient electrochemical sensor was designed by immobilizing IL/Ni-MOF/Co3O4 nanodiamonds on the graphite (GE) electrode, marking the first application for the detection of aspartame. The graphite electrode was extracted and recycled from discharged batteries to serve as a working electrode. The nanocomposite features unique Co3O4 nanodiamonds, generated using Coriandrum sativum seed extract, alongside Ni-metal organic framework (MOF), which were synthesized through a solvothermal method. The conductivity and stability of the electrochemical sensor were enhanced through the incorporation of the ionic liquid (IL) ([BMIM][MeSO4]. The phytochemical profile of Coriandrum sativum seed extract, analyzed by GC-MS, identified key compounds involved in the synthesis of Co3O4 nanodiamonds. A comprehensive characterization of the nanocomposite was performed using UV-Vis, FTIR, DLS, Zeta potential, XRD, XPS, FE-SEM, TEM, optical profilometry, and AFM to confirm the structural and elemental modifications. Electrochemical characterization of the bare and modified electrodes was conducted through cyclic voltammetry (CV) and electrochemical impedance spectroscopy (EIS). The GE/IL/Ni-MOF/Co3O4 nanodiamonds modified electrode displayed enhanced electroanalytical performance for aspartame detection, characterized by signal amplification at +7.0V. Quantitative analysis by Differential Pulse Voltammetry (DPV) and Square Wave Voltammetry (SWV) revealed a linear detection range of 3-15µM for aspartame. A comparison of SWV and DPV revealed superior analytical performance for SWV, with limits of detection (LOD) and limit of quantification (LOQ) values of 1.02µM and 3.1µM (R2 = 0.993) compared to 1.81µM and 5.5µM (R2 = 0.986) for DPV. This study reveals the excellent adsorption capabilities of Ni-MOF and Co3O4 nanodiamonds (Co3O4 NDs), attributed to their high porosity and large surface area, paving the way for the development of affordable sensing devices for artificial sweeteners.