Digital Economy in recent years, especially in Southeast Asia, including Indonesia, is growing rapidly. E-commerce is one part of the Digital Economy. Badan Pusat Statistik (BPS-Statistics) as a Non-ministerial Government Agency responsible directly to the president has conducted an E-commerce Survey in 2019. From this publication it is concluded that the interest of Indonesian traders using the internet in selling in recent years has increased. So, the urgency of using e-commerce data in its application in official Statistics is increasingly needed. Several studies have carried out the application of e-commerce data in the calculation of Consumer Price Index (CPI). In this research, e-commerce data is applied with a case study using data from one of the online marketplaces in Indonesia in calculating CPI at the city level CPI in Java. The purpose of this study is to compare the marketplace CPI data and BPS-Statistics CPI. Data collection is done through web scraping techniques and followed by preprocessing data and analyzed descriptively. Web scraper that is built can be used in obtaining data. Commodity-level CPI with marketplace data tends to have relatively large prices which results in higher CPI being compared to BPS-Statistics CPI. While at the expenditure group level, the CPI between the two approaches is broadly similar in general.