Understanding the astrophysical nature of the first stars remains an unsolved problem in cosmology. The redshifted global 21-cm signal (T21) acts as a treasure trove to probe the cosmic dawn era – when the intergalactic medium was mostly neutral. Many experiments, like SARAS 3, EDGES, and DARE, have been proposed to probe the cosmic dawn era. However, extracting the faint cosmological signal buried inside a brighter foreground, O(104 ), remains challenging. Additionally, an accurate modelling of foreground and T21 signal remains the heart of any extraction technique. In this work, we constructed the foreground signal (T_FG) from the global sky model and star formation history using the Press–Schechter formalism to determine the T21 signal with excess radio background following ARCADE 2 detection. Further, we incorporated static ionospheric distortion into the total signal and calculated the signal measured by an ideal antenna. We then trained an artificial neural network (ANN) for the extraction of a T_21 signal parameter measured by an antenna with an R-square score (0.5523−0.9901). Lastly, we used a Bayesian technique to extract T_21 signal and compared the findings with the ANN’s extraction.