PurposeWith the advancement in technology, the day-to-day life of people has gone through an immense transformation. The use of smart devices for day-to-day life is greater than before, and people are moving towards smart work rather than doing hard work. In this paper, a novel framework is proposed named Online Service Provider in Metro City (OSPMC) for IoT. The purpose of this study is to provide a theoretical framework for the E-Government in order to sustain or minimize the unemployment rate.Design/methodology/approachThe utilization of the Web in the upcoming years would create further opportunities for smart work. Internet of Things (IoT) plays an essential part in a system of multiple networks that aims to connect all things in the world that are capable of being connected through the internet. OSPMC framework can be developed on ASP.NET through (visual C#) 3.0 and Microsoft SQL Server with frontend and backend languages, respectively, under a web-based environment built on .Net platform. This lucrative facility is available mainly for the people living in the smart city.FindingsRural people are coming to smart cities in search of jobs, better education and a healthy lifestyle. India is also coping up with the modern world. The Government of India has taken an initiative for the making of 100 smart cities where the residents are relied upon to use Information and Communication Technology with the assistance of web.Social implicationsOSPMC promises to eliminate multiple evils like social injustice, crime, unemployment, tax fraud and would promote women empowerment. Also, provide opportunities to start-ups in order to grow and enhance their skill work.Originality/valueThe objective of OSPMC can be found useful for opening new job opportunities for urban/rural people while also encouraging people to learn skill work. For smart cities’ success in developing nations, it is important to recognize the elements influencing it. The motivation behind OSPMC is to identify those variables influencing the successful usage of allowing IoT in the smart cities by E-Government of India and to use IoT to help urban smart cities.