# Swiggy Instamart Products Scraper (`mindcase-co/swiggy-instamart-products-scraper`) Actor

Live Swiggy Instamart product data for any Indian pincode: prices, MRP, stock, ratings, search rank and images. By Mindcase.

- **URL**: https://apify.com/mindcase-co/swiggy-instamart-products-scraper.md
- **Developed by:** [Mindcase](https://apify.com/mindcase-co) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 products

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/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Swiggy Instamart Products Scraper

Get live product data from **Swiggy Instamart**, India's quick-commerce app, for the dark store that serves any pincode or location: prices, MRP, discounts, stock, ratings, search rank, images and product details.

Built and maintained by [Mindcase](https://mindcase.co), which runs these quick-commerce feeds daily for large Indian brands and retailers.

### What you can do

- **Search**: set `query`
- **Category**: set `category`, `sub_category`
- **Brand**: set `brand`
- **URL**: set `urls`

Add a **pincode** (or **city**, or **lat**/**lon**) to see the assortment, prices and stock of the store that serves that location. Prices and availability on Swiggy Instamart change by location, so always set one.

### Use cases

- Price and discount tracking across pincodes
- Out-of-stock and availability monitoring for your brand
- Search rank (share of shelf) for your keywords
- Assortment and competitor research
- Feeding live grocery data to AI agents

### Input example

```json
{
  "query": "chocolate",
  "city": "Agra",
  "pincode": "282002",
  "store_id": "1401076"
}
```

### Output

One row per product. Fields include: `brand`, `category`, `countryOfOrigin`, `description`, `discount`, `images`, `inStock`, `latitude`, `longitude`, `manufacturer`, `mrp`, `packSize`, `price`, `productId`, `productName`, `productUrl`, `rank`, `rating`, `ratingCount`, `seller`, `specifications`, `sponsored`, `stockCount`, `storeId`, `variantId`.

```json
{
  "countryOfOrigin": "India",
  "rank": 1,
  "images": [
    "https://instamart-media-assets.swiggy.com/swiggy/image/upload/fl_lossy,f_auto,q_auto,h_600/NI_CATALOG/IMAGES/ciw/2026/2/18/960fc1b4-9a1b-4f7c-8391-62205152fd94_5WD1YYFSHZ_MN_18022026.png",
    "https://instamart-media-assets.swiggy.com/swiggy/image/upload/fl_lossy,f_auto,q_auto,h_600/NI_CATALOG/IMAGES/CIW/2025/4/12/38016198-a96d-4de7-86ce-2d968d92aa62_4055_2.png"
  ],
  "specifications": [
    {
      "name": "Ingredients",
      "value": "Milk Chocolate (Sugar, Milk Solids, Cocoa Butter, Cocoa Solids, Emulsifiers (442, 476)) Cocoa Solids 20% minimum Milk Solids 20% minimum Contains added Flavors (Artificial Flavouring Substances)"
    },
    {
      "name": "Nutritional Information",
      "value": "Energy: 533 kcal Protein: 8.1g Carbohydrate: 57.7g Total Fat: 29.8g Saturated Fat: 18.8g Trans Fat: 0.1g Cholesterol: 9mg Sodium: 59mg Dietary Fiber: 3.5g Sugars: 53.2g"
    }
  ],
  "rating": 4.5,
  "longitude": 77.998,
  "category": "Milk Chocolates",
  "packSize": "16 g x 2",
  "inStock": true,
  "storeId": "1401076",
  "sponsored": false,
  "description": "Boost your snack time with the delightful Cadbury Shots Chocolate Multi Pack Of 3 online ! Indulge in the rich, creamy taste of Cadbury chocolate in convenient bite-sized pieces. Perfect for sharing with friends or enjoying solo, these chocolate shots are sure to satisfy your sweet cravings any time of the day. Ordering online is a breeze when you choose Cadbury Shots Chocolate Multi Pack Of 3. With just a few clicks, you can have these delicious treats delivered right to your doorstep, saving you time and hassle. Whether you're stocking up for a movie night or looking for a tasty snack to keep at your desk, this multi-pack is a must-have. Buy Cadbury Shots Chocolate Multi Pack Of 3 online and experience the joy of unwrapping each piece to reveal smooth, melt-in-your-mouth chocolate. The multi-pack format ensures you have plenty on hand for yourself or to share with loved ones, making it a versatile and convenient choice. For those seeking convenience, Cadbury Shots Chocolate Multi Pack Of 3 near me option offers a hassle-free way to enjoy your favorite chocolate. Simply order online and enjoy the convenience of having your snacks delivered straight to you. No need to visit multiple stores or worry about running out of treats Cadbury has you covered. Why settle for ordinary snacks when you can elevate your snacking experience with Cadbury Sh
```

### Pricing

**$1.50 per 1,000 products** delivered, charged per product. No start fee. You can cap spend with the run's maximum cost, and the Actor never fetches more products than your limit allows.

### Use it as an API or from AI agents

This Actor is powered by the [Mindcase API](https://docs.mindcase.co/apis/instamart/products). If you want the same data from a REST API or an MCP server for Claude, ChatGPT or Cursor, see [docs.mindcase.co](https://docs.mindcase.co).

### Support

Questions or a custom feed (more stores, scheduled snapshots, bulk pincodes): tech@mindcase.co.

# Actor input Schema

## `query` (type: `string`):

What to search for (e.g. milk, chocolate).

## `category` (type: `string`):

Top-level category (e.g. Cold Drinks & Juices).

## `sub_category` (type: `string`):

Sub-category within it (e.g. Soft Drinks). Examples: Atta, Basmati Rice, Besan, Sooji and Maida, High Protein Atta, Millets & Daliya, Other Flours, Poha & Puffed Rice, Premium Brands.

## `brand` (type: `string`):

Brand as spelled on Instamart. Pick from the list. The brand's URL slug is accepted too. Examples: \&Circus, 1000 Farms, 10on, 10on10foods, 1868 BY TATA Tea, 1950 Origins, 1st Step, 24 Mantra.

## `urls` (type: `array`):

One or more product page URLs (one per line).

## `store_id` (type: `string`):

Dark store - pick a city and pincode first. Examples: 1386719, 1261842, 1383851, 1403207, 1404594, 1402776, 1381835, 816651.

## `lat` (type: `string`):

Or target by coordinates: latitude (use with longitude). Decimal degrees, e.g. 28.6139.

## `lon` (type: `string`):

Or target by coordinates: longitude (use with latitude). Decimal degrees, e.g. 28.6139.

## `city` (type: `string`):

City - filters the pincode and store lists.

## `pincode` (type: `string`):

Pincode - pick a city first; filters the store list. Examples: 110002, 110003, 110005, 110007, 110008, 110009, 110012, 110014.

## `maxResults` (type: `integer`):

How many products to return. You pay only for products delivered.

## Actor input object example

```json
{
  "query": "chocolate",
  "store_id": "1401076",
  "city": "Agra",
  "pincode": "282002",
  "maxResults": 100
}
```

# Actor output Schema

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

No description

# 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 = {
    "query": "chocolate",
    "store_id": "1401076",
    "city": "Agra",
    "pincode": "282002",
    "maxResults": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("mindcase-co/swiggy-instamart-products-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 = {
    "query": "chocolate",
    "store_id": "1401076",
    "city": "Agra",
    "pincode": "282002",
    "maxResults": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("mindcase-co/swiggy-instamart-products-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "query": "chocolate",
  "store_id": "1401076",
  "city": "Agra",
  "pincode": "282002",
  "maxResults": 100
}' |
apify call mindcase-co/swiggy-instamart-products-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mindcase-co/swiggy-instamart-products-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/oK3742uahbEUtHLTE/builds/MN2ux5cUvfET71jb0/openapi.json
