Amidst a backdrop of global economic challenges and shifting market dynamics, this study highlights the transformative role of data elements in enhancing enterprise performance within capital markets, particularly focusing on China’s leading position in the digital economy as a model with implications for global markets. This study utilized a panel data set consisting of 10,493 observations from 2687 listed enterprises in Shanghai and Shenzhen A-shares from 2015 to 2023. An econometric analysis was conducted using a two-way fixed effects model to explore the impact of enterprise data elements on capital market performance in the digital economy and its underlying mechanisms. The research reveals that the digitization of enterprise production factors can significantly enhance performance in the capital market. The study further suggests that enterprise innovation and enterprise value play a crucial role in mediating this effect. This paper introduces a new concept called “data elements”, which expands the definition and assessment methods of enterprise data capabilities. It goes beyond just digital transformation at the application level and includes data governance at the basic ability level. This approach provides a more accurate and comprehensive understanding of the different elements of data. Moreover, the research expands the research scope of microeconomic entities’ economic benefits, thereby extending the value contributed by enterprise data elements to their performance in the capital market. Additionally, this study reveals the relationship between enterprise data elementization and capital market performance through intermediary analysis of enterprise innovation performance and enterprise value, which unveils the “black box” and clarifies the transmission pathway. The findings of this research hold considerable theoretical value and have far-reaching practical implications for government policies concerning data elements and the development of high-quality enterprises, suggesting pathways for global markets to leverage data for enhanced enterprise performance and economic resilience. The results are particularly useful for policymakers, enterprise managers, and scholars in understanding and implementing data-driven strategies in capital markets.