# $0.9/1k Zepto Grocery Search Scraper | Prices, MRP India (`architjn/zepto-search-scraper`) Actor

Scrape Zepto (zepto.com) search by keyword: names, prices, MRP, discounts, ratings, images & stock by delivery address in India. Quick-commerce data for price monitoring and retail analytics. Set area + city (e.g. Koramangala Bangalore).

- **URL**: https://apify.com/architjn/zepto-search-scraper.md
- **Developed by:** [Archit Jain](https://apify.com/architjn) (community)
- **Categories:** Automation, E-commerce
- **Stats:** 5 total users, 3 monthly users, 58.3% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.90 / 1,000 results

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.md):

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

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.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/platform/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 Search Scraper | Prices, MRP & Stock India

Scrape [Zepto](https://www.zepto.com) keyword search results and export grocery product data—prices, MRP, discounts, stock, ratings, and images—for any delivery address in India. Built for price monitoring, assortment tracking, and quick-commerce market research.

Prices and availability depend on **where you order from**. Set **Delivery location** to an area and city Zepto can service (for example `Koramangala Bangalore` or `Bandra West Mumbai`). The actor selects the **first address suggestion** from Zepto’s picker—use a specific area name, not only a pincode.

### Input

| Field | Type | Required | Default | Description |
|-------|------|----------|---------|-------------|
| `queries` | array | Yes | — | Search terms (e.g. `milk`, `amul butter`, `bread`). |
| `locationQuery` | string | Yes | — | Delivery area and city (e.g. `Koramangala Bangalore`). |
| `maxItems` | integer | No | `50` | Maximum total products saved across all queries. |
| `maxItemsPerQuery` | integer | No | `50` | Maximum products per search term (also limited by `maxItems`). |
| `proxyConfiguration` | object | No | Residential proxy on | Apify residential proxy (recommended on Apify cloud). |

### Output

Results are saved to the run **dataset**—one JSON object per product card in search results.

Each item includes:

| Field | Description |
|-------|-------------|
| `searchQuery` | Keyword that found this product |
| `locationQuery` | Address text used to set delivery |
| `locationLabel` | Label from the selected suggestion, when available |
| `rank` | Position in results for that query (1 = first) |
| `name`, `brand`, `quantity` | Product title, brand, pack size |
| `price`, `mrp`, `currency` | Selling price and MRP in INR |
| `inStock` | Availability on the card |
| `rating`, `ratingCount` | Customer rating when shown |
| `sponsored` | Paid ad placement when detectable |
| `discountText` | Offer label on the card, if any |
| `imageUrl`, `images` | Product image(s) |
| `productUrl` | Link to the product on Zepto |
| `productId`, `variantId` | Zepto variant identifiers |
| `scrapedAt` | When the row was collected (ISO time) |

Download as JSON, CSV, or Excel from the dataset tab, or connect via API / integrations.

### Pricing Structure

**Pay per usage** — you are charged for Apify compute (runtime, memory) for each run. Proxy traffic for reliable access to Zepto is included in the actor setup on cloud runs.

### Examples

#### Example 1: Milk in Bangalore

**Input:**

```json
{
  "queries": ["milk"],
  "locationQuery": "Koramangala Bangalore",
  "maxItems": 20
}
````

**Output (sample row):**

```json
{
  "platform": "zepto",
  "searchQuery": "milk",
  "locationQuery": "Koramangala Bangalore",
  "rank": 1,
  "name": "Nandini Toned Milk",
  "brand": "Nandini",
  "quantity": "500 ml",
  "price": 28,
  "mrp": 30,
  "currency": "INR",
  "inStock": true,
  "productUrl": "https://www.zepto.com/pn/..."
}
```

#### Example 2: Multiple queries in Mumbai

**Input:**

```json
{
  "queries": ["bread", "butter"],
  "locationQuery": "Bandra West Mumbai",
  "maxItems": 50,
  "maxItemsPerQuery": 30
}
```

**Output:** Up to 30 products per query, 50 total across both keywords.

### Best Practices

1. **Be specific with `locationQuery`** — include area and city (`Sector 18 Noida`), not only a pincode.
2. **Start with low limits** — use `maxItems: 10` to test cost and output before large runs.
3. **Set a spending limit** in the Apify Console before long runs.
4. **One location per run** — all queries use the same delivery address.
5. If the run fails with “not serviceable”, Zepto does not deliver to that address—try a nearby serviced area.

# Actor input Schema

## `queries` (type: `array`):

Search keywords (e.g. milk, oil) or a Zepto search URL. Not category /cn/ links — use the Zepto Category actor for those.

## `locationQuery` (type: `string`):

Area and city for Zepto delivery (e.g. Koramangala Bangalore, Bandra West Mumbai). The first address suggestion is selected.

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

Maximum total products in the dataset across all queries.

## `maxItemsPerQuery` (type: `integer`):

Maximum products per search query (also capped by max dataset items).

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

Apify residential proxy on cloud (enabled by default there). For local runs, leave disabled or set useApifyProxy to false.

## Actor input object example

```json
{
  "queries": [
    "milk"
  ],
  "locationQuery": "Koramangala Bangalore",
  "maxItems": 50,
  "maxItemsPerQuery": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `products` (type: `string`):

Browse Zepto search results with price, MRP, pack size, stock, ratings, and product links.

## `dataset` (type: `string`):

All product records from this run in JSON format.

## `runInput` (type: `string`):

Copy of the Actor input used for this run (queries and delivery location).

# 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 = {
    "queries": [
        "milk"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("architjn/zepto-search-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 = {
    "queries": ["milk"],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("architjn/zepto-search-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 '{
  "queries": [
    "milk"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call architjn/zepto-search-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "$0.9/1k Zepto Grocery Search Scraper | Prices, MRP India",
        "description": "Scrape Zepto (zepto.com) search by keyword: names, prices, MRP, discounts, ratings, images & stock by delivery address in India. Quick-commerce data for price monitoring and retail analytics. Set area + city (e.g. Koramangala Bangalore).",
        "version": "0.2",
        "x-build-id": "nIrMyPWbexdfF80ym"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/architjn~zepto-search-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-architjn-zepto-search-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/architjn~zepto-search-scraper/runs": {
            "post": {
                "operationId": "runs-sync-architjn-zepto-search-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/architjn~zepto-search-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-architjn-zepto-search-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",
                "required": [
                    "queries",
                    "locationQuery"
                ],
                "properties": {
                    "queries": {
                        "title": "Search queries",
                        "type": "array",
                        "description": "Search keywords (e.g. milk, oil) or a Zepto search URL. Not category /cn/ links — use the Zepto Category actor for those.",
                        "default": [
                            "milk"
                        ],
                        "items": {
                            "type": "string"
                        }
                    },
                    "locationQuery": {
                        "title": "Delivery location",
                        "type": "string",
                        "description": "Area and city for Zepto delivery (e.g. Koramangala Bangalore, Bandra West Mumbai). The first address suggestion is selected.",
                        "default": "Koramangala Bangalore"
                    },
                    "maxItems": {
                        "title": "Max dataset items",
                        "minimum": 1,
                        "maximum": 500,
                        "type": "integer",
                        "description": "Maximum total products in the dataset across all queries.",
                        "default": 50
                    },
                    "maxItemsPerQuery": {
                        "title": "Max items per query",
                        "minimum": 1,
                        "maximum": 500,
                        "type": "integer",
                        "description": "Maximum products per search query (also capped by max dataset items).",
                        "default": 50
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Apify residential proxy on cloud (enabled by default there). For local runs, leave disabled or set useApifyProxy to 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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
