Compare prices across Indian quick commerce platforms β Zepto, Blinkit, and Swiggy Instamart.
- π Paste any product URL from supported platforms
- π Pincode-based pricing β get location-specific prices
- β‘ Real-time scraping β prices fetched live from platforms
- π Best price highlight β instantly see the cheapest option
- π± Mobile responsive β works on all devices
| Platform | Status |
|---|---|
| Zepto | β Active |
| Blinkit | π Coming Soon |
| Swiggy Instamart | π Coming Soon |
- Node.js 18+
- npm
# Clone the repo
git clone https://github.com/yourusername/quick-commerce-compare.git
cd quick-commerce-compare
# Install dependencies
npm install
# Install Playwright browsers
npx playwright install chromium
# Start development server
npm run devOpen http://localhost:3000 in your browser.
- Paste a product URL from Zepto (other platforms coming soon)
- Enter your pincode for location-specific pricing
- Click Compare β the app scrapes the platforms in real-time
- See results sorted by price with the best deal highlighted
βββββββββββββββ βββββββββββββββ βββββββββββββββ
β Next.js ββββββΆβ API Route ββββββΆβ Playwright β
β Frontend β β /api/compareβ β Scraper β
βββββββββββββββ βββββββββββββββ βββββββββββββββ
β
βΌ
βββββββββββββββ
β Quick β
β Commerce β
β Platforms β
βββββββββββββββ
src/
βββ app/
β βββ api/
β β βββ compare/
β β βββ route.ts # API endpoint
β βββ page.tsx # Main page
βββ components/
β βββ CompareForm.tsx # Input form
β βββ ResultsTable.tsx # Results display
βββ lib/
β βββ parsers/
β β βββ index.ts
β β βββ zepto.ts # URL parser
β βββ scrapers/
β βββ base.ts # Base scraper class
β βββ index.ts
β βββ zepto.ts # Zepto scraper
βββ types/
βββ index.ts # TypeScript types
Compare prices across platforms.
Request:
{
"url": "https://www.zepto.com/pn/amul-butter-500-g/pvid/...",
"pincode": "400001"
}Response:
{
"sourceProduct": {
"name": "butter",
"brand": "amul",
"size": "500 g"
},
"results": [
{
"platform": "zepto",
"productName": "Amul Butter 500g",
"price": 295,
"mrp": 310,
"discount": 5,
"available": true,
"productUrl": "https://...",
"confidence": 90
}
],
"requestedAt": "2024-01-01T00:00:00.000Z",
"completedAt": "2024-01-01T00:00:05.000Z"
}- Zepto only for now β other platforms coming soon
- Scraping may be slow β each request takes 5-15 seconds
- Anti-bot measures β some platforms may block requests
- Pincode coverage β not all pincodes are serviceable
- Add Blinkit support (with stealth measures)
- Add Swiggy Instamart support
- Add Redis queue for async scraping
- Add price history tracking
- Add price alerts
- Mobile app
- Framework: Next.js 14 (App Router)
- Language: TypeScript
- Styling: Tailwind CSS
- Scraping: Playwright
- Validation: Zod
MIT
This tool is for personal use only. It scrapes publicly available data for price comparison. We do not store or resell any data. Please use responsibly and respect the platforms' terms of service.