Open Network for Digital Commerce (ONDC) is an initiative by the government of India to promote an open e-commerce network that connects shoppers, platforms and retailers.
The goal of ONDC is to create an inclusive e-commerce environment through an open protocol developed on open-source specifications, making it independent of any one platform.1
Specifically, ONDC is a set of protocols and specifications that allow different e-commerce platforms to connect and interoperate with each other. This ability improves price discovery and provides consumers with more service providers to choose from.
ONDC represents a step toward digital commerce democratization, shifting it from a platform-centric model—where a few e-commerce giants dominate the market—to an open, interoperable platform where buyers and sellers can interact regardless of the platforms they’re using. It aims to move e-commerce away from walled gardens (closed, siloed, highly stratified ecosystems) to a more accessible environment that fosters competition, inclusivity and innovation.
ONDC was developed amid growing power concentration concerns in the e-commerce market during an era of rapid digital transformation. In India, as in many other countries, a small cohort of large e-commerce platforms grew into digital monopolies. This trend raised concerns about unfair trade practices, data monopolization and the marginalization of smaller, local businesses struggling to compete.
To address these challenges and democratize the space, the government of India (under the auspices of the Ministry of Commerce and Industry) began exploring the possibility of creating an open network for digital commerce. The goal was to build a framework that allows buyers and sellers to transact—regardless of the respective platforms they use—similar to how the Unified Payments Interface (UPI)2 revolutionized digital payments by making them platform-agnostic.
In July 2021, the Department for Promotion of Industry and Internal Trade (DPIIT) set up a nine-member advisory council to steer the initiative and guide pilot programs in New Delhi NCR, Bengaluru, Mumbai, Bangalore, Coimbatore, Hyderabad, Pune and other cities. Within a few months, ONDC received its certification as a private sector-led, Section 8 nonprofit organization, after which several private sector organizations began integrating their apps and services with the ONDC network.
Since its launch, ONDC platforms have processed nearly 7 million orders, and the ONDC network has grown to more than 370,000 sellers and service providers across 588 “countable cities” (accounting for roughly 70% of Indian cities).3 ONDC protocols have been adopted by companies like Flipkart, Paytm, Pincode by PhonePe, Amazon, State Bank of India (SBI) and Meta (among others), with use cases that range from healthcare to fintech and agribusiness.
ONDC is also poised to become a game-changer in the food delivery sector, where it can drastically reduce commission rates compared to platforms like Zomato and Swiggy, which charge restaurants—many of which are small businesses—up to 25% commission.4
ONDC is not a single platform or app; it’s a series of protocols that enable disparate entities to transact, creating a level playing field for entrepreneurs, startups, small and medium enterprises, corporations and consumers.
The ONDC comprises three major components:
ONDC is designed with a microservices architecture, meaning that each component of the network is an independent service that can communicate with other services through APIs (especially AsyncAPIs). This modular approach makes it easier for different platforms to integrate with ONDC. However, the open, accessible nature of ONDC requires certain IT components and processes to function optimally, hence the ONDC system’s reliance on the Beckn protocol.
The Beckn protocol—which is sponsored by the Beckn Foundation and owned by the Open Shared Mobility Foundation—is an open protocol that enables decentralized e-commerce and interoperability between online marketplaces, service providers and consumers.
Beckn gateways aggregate data and uncouple packet transmission layers from user experience layers so that transactions (such as order booking, payment, delivery and fulfillment) are standardized across the network. As such, they power the backend of the ONDC infrastructure.
The Beckn protocol includes:
Beckn uses decentralized technologies, like blockchain, to enable peer-to-peer interactions between different entities in the e-commerce ecosystem. This decentralized approach helps eliminate the need for intermediaries, reducing costs and improving transaction efficiency. It also gives users more control over their data and transactions, fostering a more transparent environment for commerce.
APIs allow third-party developers and service providers to create apps and services that can integrate with an ONDC infrastructure. The Beckn protocol puts forth a set of standards and policies for all network APIs to facilitate seamless data exchange and process integration between entities. These standards and policies enable network components to interact without compatibility issues.
Standardized APIs also simplify the development process for businesses that want to implement Beckn, as teams can use pre-defined interfaces to connect with other network participants.
Beckn protocols provide users with a single, consistent identity that works across multiple services and platforms within the network, enabling them to access myriad services without using multiple logins or account setups. These protocols can also help users access personalized recommendations and manage their IT preferences more effectively.
Governance frameworks establish the rules, regulations and policies that dictate how participants can interact with the network. A well-defined governance framework helps maintain the integrity of the network, ensuring transparency, equity and accountability among stakeholders.
Beckn incorporates mechanisms—like reputation systems, smart contracts and cryptographic techniques—to establish trust between participants in the e-commerce ecosystem. These mechanisms help mitigate risks that are associated with decentralized commerce. Beckn also deploys security features to protect users' sensitive data and assets, creating a secure environment for conducting transactions within the protocol.
The nature of Beckn enables new participants to join ONDC networks without friction, even when the network is onboarding lots of new participants simultaneously. These features ensure that the protocol can handle increased transaction volumes and accommodate the overall expansion of decentralized commerce networks.
Furthermore, Beckn's scalability means that the protocol can support a diverse range of use cases and applications, promoting innovation across sectors and driving the global adoption of decentralized commerce solutions.
As is the case with any complex system, maintaining the health and performance of ONDC platforms and services is essential. Application observability and API management solutions can be helpful in this regard, especially when used in concert with observability best practices. When deploying an ONDC infrastructure, organizations might consider:
This includes technical metrics (such as CPU usage, memory consumption and request latency) and business metrics (such as the number of transactions and success rates).
Logging practices include capturing detailed information (such as timestamps, error messages, stack traces and contextual data) about system behavior and errors. Each microservice, database and supporting service should also have its logs aggregated and stored in a centralized logging system for easy access and analysis.
Given the distributed, expansive nature of ONDC, distributed tracing—which tracks requests as they flow through various services—can prove invaluable to troubleshooting and optimization efforts.
Service-level indicators (SLIs) are the metrics that an organization measures for a particular service (such as uptime and error rate), while service-level objectives (SLOs) are the targets businesses set for these metrics (like 99.9% uptime). These measurements are defined and agreed upon in service-level agreements (SLAs). Defining relevant SLIs and SLOs can help teams establish expectations for system performance and availability, measure progress along the way and uphold client agreements.
Proactively testing the resilience of ONDC platforms by introducing chaos experiments (chaos engineering) enables teams to understand how the system reacts to unexpected failures and identify opportunities for improvement.
Artificial intelligence for IT operations (AIOps) can automate data correlation across monitoring tools, provide predictive system alerts and automate root cause analysis, all of which enhance ONDC observability.
Experience IBM API Connect with a free trial or connect with our experts to discuss your needs. Whether you're ready to optimize your API management or want to learn more, we're here to support your digital transformation.
Discover the full potential of your integration processes with AI-powered solutions. Schedule a meeting with our experts or explore our product documentation to get started.
Supercharge your business with IBM MQ secure, high-performance messaging solutions. Start your free trial or connect with our experts to explore how IBM MQ can transform your operations.
Experience faster, more secure file transfers—any size, any distance. Try IBM Aspera today and streamline your data workflows with high-speed efficiency.
Transform your business by effortlessly connecting apps and data. Start your free trial today and see how IBM App Connect can streamline your integration journey.
Explore how IBM DataPower Gateway enhances security, control and performance for your cloud and on-premises applications. Book a meeting now to get started with a free container evaluation.
Implement a complete solution for modernizing integrations across hybrid environments, allowing your team to accelerate application deployment while cutting down costs and complexity.
Streamline your digital transformation with IBM’s hybrid cloud solutions, built to optimize scalability, modernization and seamless integration across your IT infrastructure.
IBM Cloud Infrastructure Center is an OpenStack-compatible software platform for managing the infrastructure of private clouds on IBM zSystems and IBM LinuxONE.
1 “About ONDC,” (link resides outside ibm.com), ONDC.org
2 "Unified Payments Interface,” (link resides outside ibm.com), NCPI.org
3 "ONDC completes more than 7.1 million cumulative orders in February since inception a year ago," (link resides outside ibm.com), The Economic Times, 5 March 2024
4 "ONDC explained: What is it, top buyer and seller apps, how to order food & groceries, and more," (link resides outside ibm.com), Forbes.com, 18 September 2023