ONDC, the Open Network for Digital Commerce, is an attempt to do for online shopping what UPI did for payments. On a marketplace, the buyer, the sellers and the delivery all sit inside one company's platform. On ONDC, a shopper using one company's app can buy from a seller listed through a different company's app, with delivery from a third. ONDC itself isn't a shopping app. It sets the protocol, rules and registry that let these apps work together.
Who runs it
ONDC is an initiative of the Government of India's Department for Promotion of Industry and Internal Trade (DPIIT). It is run by a not-for-profit Section 8 company, incorporated in December 2021, with the Quality Council of India and Protean eGov Technologies as founding members. Banks and other institutions have since invested. The network covers retail, logistics, mobility and travel, and financial services.
Network participants
- Buyer apps (buyer network participants) face the customer. They take search requests, show results from across the network, run a multi-seller cart and checkout, and handle buyer support.
- Seller apps (seller network participants) bring sellers' catalogues, inventory and prices onto the network, and accept and fulfil orders.
- Logistics service providers join as participants too, so a seller app can book delivery over the network.
- Gateways broadcast a buyer's search to the relevant seller apps.
- The registry lists every participant and its public keys.
- Technology service providers build and run the software that many buyer and seller apps sit on. A business with an existing app or customer base can join as a buyer app. A small shop usually joins through a seller app instead of integrating itself.
How it works
ONDC's APIs are based on the open Beckn protocol. Each step is an asynchronous pair: the caller sends a request, and the other side replies later on a matching on_ callback.
Example: ordering groceries across two apps
A customer in Pune searches for "atta 5 kg" in a buyer app.
- search: the buyer app sends the request to an ONDC gateway, which forwards it to seller apps active in grocery for that city.
- on_search: several seller apps reply with matching items, prices and delivery options from their stores.
- select, init, confirm: the buyer picks an item, the seller app quotes the final price and delivery terms, and the order is placed with an order ID.
- status and track: updates flow back to the buyer app until delivery. A simplified request context looks like this:
{
"context": {
"domain": "ONDC:RET10",
"action": "search",
"country": "IND",
"city": "std:020",
"core_version": "1.2.0",
"bap_id": "buyer-app.example.in",
"transaction_id": "8f1c...",
"message_id": "a92e...",
"timestamp": "2026-11-21T10:15:00.000Z",
"ttl": "PT30S"
},
"message": {
"intent": { "item": { "descriptor": { "name": "atta 5 kg" } } }
}
}
ONDC:RET10 is the grocery domain. Every request and callback is digitally signed, and the receiver checks the signature against the sender's key in the registry.
Building for ONDC
To join, a company registers as a participant, implements the APIs for its domain and role, passes ONDC's pre-production testing and then goes live. The work that takes longest is usually catalogue quality, inventory sync, cancellation and return flows, and settlement between parties, not the API calls themselves. We build marketplace, catalogue and order systems for Indian e-commerce businesses. See our marketplace app development cost guide.