Fibromyalgia (FM) is a syndrome characterized by chronic musculoskeletal pain. Its clinical symptoms include both somatic and psychiatric symptoms, making the treatment of FM extremely challenging. The cause of FM is still unknown, and some patients do not improve their symptoms even after long-term active treatment. Thus, the development of new targeted therapies is important to reduce pain and improve quality of life for FM patients. In this study, we screened genes and secreted factors that play key roles in FM through bioinformatics and big data analysis. Furthermore, we performed CCK-8, qRT-PCR, glucose, ATP and lactate content testing, dual luciferase reporter gene assay to investigate the potential mechanism of complement factor D in fibromyalgia development. In bioinformatics and big data analysis, we identified CFD was negatively correlated with the pro-inflammatory factor IL-6 and positively correlated with the anti-inflammatory factor IL-4, which suggested that CFD may be an anti-inflammatory factor. Through cellular assays, we verified that CFD reversed the decrease in IL-4 expression and the increase in IL-6 expression in BV2 cells caused by ATP. In summary, based on bioinformatic methods and big data mining we obtained a new target CFD for FM, and further experiments verified that CFD has significant inhibition of ATP-induced neuropathic pain. These findings provide a new theoretical basis for the clinical translation of CFD.