# Zepto Grocery Scraper (`axlymxp/zepto-grocery-scraper`) Actor

Scrape Zepto product data by keyword or product URL for any delivery location in India: name, brand, pack size, MRP, selling price, Super Saver price, discount, stock, category and image — priced per store. No signing or unblocking subscription needed.

- **URL**: https://apify.com/axlymxp/zepto-grocery-scraper.md
- **Developed by:** [axly](https://apify.com/axlymxp) (community)
- **Categories:** E-commerce, AI, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 dataset items

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js/docs.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Zepto Grocery Scraper

Extract real-time grocery product data from **Zepto** — India's quick-commerce
platform — for **any delivery location**. Search by keyword or paste product
URLs/IDs and get clean, structured rows with **live prices, discounts, pack
sizes, stock and images**, each priced for the store that serves your chosen
coordinates.

Because Zepto prices and availability vary by store, you can pass **multiple
locations** and compare the exact same product across cities in one run.

### Why this scraper

- **Location-accurate pricing** — every row is priced for a real serving store, not a generic national price.
- **Rich fields** — MRP, selling price, Super Saver price, Zepto Pass price, discount %, category tree, manufacturer, FSSAI license, and images.
- **Keyword search that actually works** — built on Zepto's mobile product-search API, so a plain keyword returns the full paginated grid.
- **Reliable & self-contained** — no browser, no unblocking subscription, no login.

### What you get (output fields)

| Field                                                     | Description                    |
| --------------------------------------------------------- | ------------------------------ |
| `name`, `brand`, `pack_size`                              | Product identity               |
| `mrp`, `selling_price`, `discounted_selling_price`        | Pricing in INR                 |
| `super_saver_price`, `zepto_pass_price`                   | Membership/bulk pricing in INR |
| `discount_amount`, `discount_percent`                     | Savings                        |
| `in_stock`, `available_quantity`, `max_allowed_quantity`  | Live availability              |
| `category`, `subcategory` (+ ids)                         | Taxonomy                       |
| `manufacturer_name`, `country_of_origin`, `fssai_license` | Compliance/provenance          |
| `image`, `images`                                         | Product imagery                |
| `product_variant_id`, `product_id`                        | Stable identifiers             |
| `store_id`, `location_label`, `latitude`, `longitude`     | Delivery context               |
| `source_query`, `scraped_at`                              | Provenance                     |

### Use cases

- **Price & discount intelligence** — track competitor and own-brand pricing across Zepto stores and cities.
- **FMCG / brand monitoring** — monitor availability, pack sizes and MRP compliance for your SKUs.
- **Quick-commerce analytics** — build dashboards on assortment, stock-outs and discount depth by location.
- **Market research** — snapshot category assortment and pricing spread across metros.

### Input

| Field              | Type    | Description                                                                                                             |
| ------------------ | ------- | ----------------------------------------------------------------------------------------------------------------------- |
| `searchQueries`    | array   | Keywords to search (one search per keyword).                                                                            |
| `productUrls`      | array   | Zepto product URLs (`/pn/<slug>/pvid/<id>`) or bare product-variant IDs.                                                |
| `locations`        | array   | Delivery points. Each item: `label` + `latitude`/`longitude`, or a `location` string (Indian city name or `"lat,lng"`). |
| `maxPagesPerQuery` | integer | Search pages per keyword (~30 products/page). Default 3.                                                                |
| `maxItems`         | integer | Global cap on rows. Default 500.                                                                                        |

#### Example input

```json
{
    "searchQueries": ["milk", "amul butter"],
    "locations": [
        { "label": "Mumbai", "latitude": 19.076, "longitude": 72.8777 },
        { "label": "Bengaluru", "location": "bangalore" }
    ],
    "maxPagesPerQuery": 2,
    "maxItems": 500
}
````

#### Example output row

```json
{
    "name": "Country Delight Cow Fresh Milk | Pouch",
    "brand": "Country Delight",
    "pack_size": "1 pack (450 ml)",
    "mrp": 48.0,
    "selling_price": 46.0,
    "super_saver_price": 46.0,
    "discount_percent": 4,
    "in_stock": true,
    "available_quantity": 6,
    "category": "Dairy, Bread & Eggs",
    "subcategory": "Milk",
    "image": "https://ik.imagekit.io/jupdt2k6txi/cms/product_variant/....jpeg",
    "store_id": "6ad459f8-927e-4a94-8a80-432502af0e8c",
    "location_label": "Mumbai",
    "scraped_at": "2026-07-19T05:00:00Z"
}
```

### Scheduling & integration

Run on a **schedule** to build a price-history dataset, or trigger via **webhook**
/ the Apify API. Results export to JSON, CSV, Excel, or push straight to your
database or BI tool through Apify integrations.

### AI assistants (MCP)

Prefer to query Zepto live from Claude, Cursor or ChatGPT? Use the companion
**Zepto MCP Server** actor, which exposes search and product lookup as MCP tools.

### FAQ

**Which locations are supported?** Any serviceable point in India. Pass explicit
coordinates for precision, or a known city name. Non-serviceable coordinates are
skipped with a log message.

**How fresh is the data?** Every run fetches live prices and stock at request time.

**Do I need proxies or a login?** No. The actor talks to Zepto's public mobile API
directly — no login, no unblocking subscription. An optional Indian proxy is
available if you want requests to egress from India.

**Is scraping this legal?** You are responsible for how you use the data. Scrape
publicly available information and comply with Zepto's terms and applicable law.

**Why do prices differ between locations?** Zepto is store-based quick commerce;
each store sets its own assortment, price and stock — which is exactly what this
actor captures.

# Actor input Schema

## `searchQueries` (type: `array`):

Keywords to search on Zepto (one search per keyword). Returns the full priced product grid, paginated.

## `productUrls` (type: `array`):

Direct Zepto product URLs (/pn/<slug>/pvid/<id>) or bare product-variant IDs to fetch full detail for.

## `locations` (type: `array`):

One or more delivery points to price products for. Each item is an object with optional 'label' and either 'latitude'+'longitude' or a 'location' string (a known Indian city name or 'lat,lng'). Zepto prices vary by store, so each location produces its own rows.

## `maxPagesPerQuery` (type: `integer`):

Search pages per keyword query (about 30 products per page).

## `maxItems` (type: `integer`):

Global cap across all locations, queries and URLs. The run stops once this many product rows are pushed.

## `proxyConfiguration` (type: `object`):

Optional. The Zepto mobile API is not IP-gated, so proxies are usually unnecessary. Enable an Indian proxy only if you want requests to egress from India.

## Actor input object example

```json
{
  "searchQueries": [
    "milk",
    "parle-g biscuit",
    "amul butter"
  ],
  "productUrls": [
    "ed495088-935c-44a9-919b-b667fde1ac87"
  ],
  "locations": [
    {
      "label": "Mumbai",
      "latitude": 19.076,
      "longitude": 72.8777
    },
    {
      "label": "Bengaluru",
      "location": "bangalore"
    }
  ],
  "maxPagesPerQuery": 3,
  "maxItems": 500,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "searchQueries": [
        "milk"
    ],
    "locations": [
        {
            "label": "Mumbai - Bandra West",
            "latitude": 19.0595596,
            "longitude": 72.8295287
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("axlymxp/zepto-grocery-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "searchQueries": ["milk"],
    "locations": [{
            "label": "Mumbai - Bandra West",
            "latitude": 19.0595596,
            "longitude": 72.8295287,
        }],
}

# Run the Actor and wait for it to finish
run = client.actor("axlymxp/zepto-grocery-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchQueries": [
    "milk"
  ],
  "locations": [
    {
      "label": "Mumbai - Bandra West",
      "latitude": 19.0595596,
      "longitude": 72.8295287
    }
  ]
}' |
apify call axlymxp/zepto-grocery-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=axlymxp/zepto-grocery-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Zepto Grocery Scraper",
        "description": "Scrape Zepto product data by keyword or product URL for any delivery location in India: name, brand, pack size, MRP, selling price, Super Saver price, discount, stock, category and image — priced per store. No signing or unblocking subscription needed.",
        "version": "1.0",
        "x-build-id": "4LgzTR9F77fj90dyV"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/axlymxp~zepto-grocery-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-axlymxp-zepto-grocery-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/axlymxp~zepto-grocery-scraper/runs": {
            "post": {
                "operationId": "runs-sync-axlymxp-zepto-grocery-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/axlymxp~zepto-grocery-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-axlymxp-zepto-grocery-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "searchQueries": {
                        "title": "Search queries",
                        "type": "array",
                        "description": "Keywords to search on Zepto (one search per keyword). Returns the full priced product grid, paginated.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "productUrls": {
                        "title": "Product URLs or IDs",
                        "type": "array",
                        "description": "Direct Zepto product URLs (/pn/<slug>/pvid/<id>) or bare product-variant IDs to fetch full detail for.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "locations": {
                        "title": "Delivery locations",
                        "type": "array",
                        "description": "One or more delivery points to price products for. Each item is an object with optional 'label' and either 'latitude'+'longitude' or a 'location' string (a known Indian city name or 'lat,lng'). Zepto prices vary by store, so each location produces its own rows.",
                        "default": []
                    },
                    "maxPagesPerQuery": {
                        "title": "Max search pages per query",
                        "minimum": 1,
                        "maximum": 50,
                        "type": "integer",
                        "description": "Search pages per keyword query (about 30 products per page).",
                        "default": 3
                    },
                    "maxItems": {
                        "title": "Max items (total)",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Global cap across all locations, queries and URLs. The run stops once this many product rows are pushed.",
                        "default": 500
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Optional. The Zepto mobile API is not IP-gated, so proxies are usually unnecessary. Enable an Indian proxy only if you want requests to egress from India.",
                        "default": {
                            "useApifyProxy": false
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
