As global food demand intensifies alongside growing environmental sustainability concerns, aquaponics has emerged as a smart agriculture model integrating recirculating aquaculture with soilless hydroponics. In this balanced ecosystem, fish metabolic waste is converted by nitrifying bacteria into bioavailable nutrients for plant growth, reducing water consumption and environmental discharge. However, nitrate and nitrite are essential nutrients that can become toxic when accumulated beyond critical thresholds, while their continuous on-site monitoring remains challenging with conventional analytical methods. Here, we developed two amperometric biosensors incorporating nitrate reductase (NaR) and horseradish peroxidase (HRP) for sensitive and reliable nitrate and nitrite detection, respectively. Green-synthesized melanin-like nanoparticles (MeLNPs) served as dual-function platforms for enzyme immobilization and electrochemical mediation, enabling efficient electron transfer without H₂O₂. A Design of Experiments (DoE) approach was employed to systematically optimize key parameters, reducing experimental effort while improving sensor performance and reproducibility. Under optimized conditions, the HRP-based biosensor exhibited a linear nitrite detection range of 0.05–1 µM, with a detection limit (LOD) of 0.03 µM and sensitivity of 0.547 µA/µM. The NaR-based biosensor demonstrated a linear nitrate range of 0.05–2 µM, with an LOD of 0.058 µM and sensitivity of 0.2697 µA/µM. Validation using water from an operational aquaponic tank yielded recovery rates of 89.3–100.13%, confirming the accuracy and reliability of the proposed biosensors. These findings demonstrate their potential as low-cost, on-site analytical tools for sustainable aquaponic monitoring.