# $0.9/1k Blinkit Category Products Scraper (`architjn/blinkit-category-scraper`) Actor

Scrape Blinkit grocery category pages by URL. Export product prices, MRP, stock, ratings, and images for any delivery location in India (latitude/longitude). Built for price monitoring, assortment analysis, and market research.

- **URL**: https://apify.com/architjn/blinkit-category-scraper.md
- **Developed by:** [Archit Jain](https://apify.com/architjn) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% 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

## Blinkit Category Products Scraper | Prices, MRP & Stock India

Scrape product listings from [Blinkit](https://blinkit.com) **category pages** in India (not keyword search). Export prices, MRP, discounts, stock, ratings, and images for any delivery location using **latitude** and **longitude**.

For keyword search, use the **Blinkit Search Scraper** actor instead.

Prices and availability depend on **where you order from**. Set coordinates for the delivery area you care about (for example central Delhi or Koramangala, Bangalore). All categories in one run use the same location.

### Input

| Field | Type | Required | Default | Description |
|-------|------|----------|---------|-------------|
| `categoryUrls` | array | Yes | Sample milk category | Full Blinkit category URLs with `/cid/{l0}/{l1}`. |
| `latitude` | number | Yes | `28.6139` | Delivery latitude (decimal degrees, -90 to 90). |
| `longitude` | number | Yes | `77.209` | Delivery longitude (decimal degrees, -180 to 180). |
| `maxItems` | integer | No | `50` | Maximum total products saved across all categories. |
| `maxItemsPerCategory` | integer | No | `50` | Maximum products per category (also limited by `maxItems`). |
| `proxyConfiguration` | object | No | Residential proxy on | Apify residential proxy (recommended on Apify cloud). |

#### Finding category URLs

Open a **leaf** subcategory on Blinkit (one that shows a product grid) and copy the URL from your browser, for example:

`https://blinkit.com/cn/milk/cid/14/922`

The two numbers after `/cid/` are category IDs (`14` = top level, `922` = leaf). Parent categories that only show subcategory tiles may return few or no products.

If a URL is wrong, the run **fails immediately** and the log shows the expected format and an example URL.

### Output

After a successful run, open **Output** in the Apify Console:

- **Product listings (table)** — quick overview of name, brand, price, MRP, stock, and links.
- **Full dataset (JSON)** — every field for export or API use.

Results are saved to the run **dataset**—one JSON object per product on the category page.

| Field | Description |
|-------|-------------|
| `platform` | Always `blinkit`. |
| `categoryL0`, `categoryL1` | Category IDs from your URL. |
| `categoryName` | Display name of the category page when available. |
| `categoryUrl` | Category page URL that was scraped. |
| `rank` | Position on the listing (1 = first). |
| `productId`, `variantId` | Blinkit product identifiers. |
| `name`, `brand`, `quantity` | Product title, brand, and pack size. |
| `price`, `mrp`, `currency` | Selling price and MRP in INR. |
| `discountText` | Offer label on the card, if shown. |
| `inStock`, `inventory` | Availability and stock when reported. |
| `rating`, `ratingCount` | Customer rating and count label (e.g. `7.9 lac`). |
| `merchantId`, `merchantType`, `eta` | Fulfilment and delivery hints when shown. |
| `imageUrl`, `images` | Product image URL(s). |
| `productUrl` | Link to the product on Blinkit. |
| `latitude`, `longitude` | Coordinates used for this result. |
| `scrapedAt` | ISO timestamp when the row was collected. |

**Example dataset item**

```json
{
  "platform": "blinkit",
  "categoryL0": "14",
  "categoryL1": "922",
  "categoryName": "Milk",
  "categoryUrl": "https://blinkit.com/cn/milk/cid/14/922",
  "rank": 1,
  "productId": "19512",
  "name": "Amul Taaza Toned Milk",
  "brand": "Amul",
  "quantity": "500 ml",
  "price": 30,
  "mrp": 30,
  "currency": "INR",
  "inStock": true,
  "rating": 4.6,
  "productUrl": "https://blinkit.com/prn/amul-taaza-toned-milk/prid/19512",
  "latitude": 28.6139,
  "longitude": 77.209,
  "scrapedAt": "2026-05-28T10:15:00.000Z"
}
````

### Pricing Structure

**Pay per usage** — you are charged for Apify compute (runtime, memory) for each run. Residential proxy is used by default on Apify cloud for reliable access to Blinkit.

### Examples

#### Example 1: Milk category in Delhi

**Input**

```json
{
  "categoryUrls": ["https://blinkit.com/cn/milk/cid/14/922"],
  "latitude": 28.6139,
  "longitude": 77.209,
  "maxItems": 30
}
```

**Output:** Up to 30 products from the Milk category, ordered as on Blinkit for that location, with prices and stock for each row.

#### Example 2: Multiple categories, same location

**Input**

```json
{
  "categoryUrls": [
    "https://blinkit.com/cn/milk/cid/14/922",
    "https://blinkit.com/cn/bread-pav/cid/14/28"
  ],
  "latitude": 19.076,
  "longitude": 72.8777,
  "maxItems": 100,
  "maxItemsPerCategory": 50
}
```

**Output:** Products from both categories for Mumbai coordinates, capped at 50 per category and 100 total.

#### Example 3: Invalid URL (run fails)

**Input:** `https://blinkit.com/cn/milk` (missing `/cid/{l0}/{l1}`)

**Output:** Run fails with a message showing the correct URL format and example: `https://blinkit.com/cn/milk/cid/14/922`

### Best Practices

1. Use **leaf** category URLs that display products, not only subcategory navigation.
2. Set **latitude and longitude** for the delivery pin you care about—prices and stock change by area.
3. Start with `maxItems: 10` to check output and cost before large runs.
4. One location per run—all `categoryUrls` share the same coordinates.
5. For search by keyword (e.g. “amul butter”), use the **Blinkit Search Scraper** actor instead of this one.

# Actor input Schema

## `categoryUrls` (type: `array`):

Blinkit category page URLs containing /cid/{l0}/{l1} (e.g. https://blinkit.com/cn/milk/cid/14/922). Use leaf categories that show products.

## `latitude` (type: `number`):

Delivery location latitude (decimal degrees).

## `longitude` (type: `number`):

Delivery location longitude (decimal degrees).

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

Maximum total products in the dataset across all categories.

## `maxItemsPerCategory` (type: `integer`):

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

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

Apify residential proxy (enabled by default; required for Blinkit on Apify cloud).

## Actor input object example

```json
{
  "categoryUrls": [
    "https://blinkit.com/cn/milk/cid/14/922"
  ],
  "latitude": 28.6139,
  "longitude": 77.209,
  "maxItems": 50,
  "maxItemsPerCategory": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

Browse category products with price, MRP, pack size, stock, ratings, and product links.

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

All product records from this run in JSON format.

# 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 = {
    "categoryUrls": [
        "https://blinkit.com/cn/milk/cid/14/922"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("architjn/blinkit-category-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 = {
    "categoryUrls": ["https://blinkit.com/cn/milk/cid/14/922"],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("architjn/blinkit-category-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 '{
  "categoryUrls": [
    "https://blinkit.com/cn/milk/cid/14/922"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call architjn/blinkit-category-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "$0.9/1k Blinkit Category Products Scraper",
        "description": "Scrape Blinkit grocery category pages by URL. Export product prices, MRP, stock, ratings, and images for any delivery location in India (latitude/longitude). Built for price monitoring, assortment analysis, and market research.",
        "version": "0.3",
        "x-build-id": "mNHzoHvuIZuVaJrCi"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/architjn~blinkit-category-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-architjn-blinkit-category-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~blinkit-category-scraper/runs": {
            "post": {
                "operationId": "runs-sync-architjn-blinkit-category-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~blinkit-category-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-architjn-blinkit-category-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": [
                    "categoryUrls",
                    "latitude",
                    "longitude"
                ],
                "properties": {
                    "categoryUrls": {
                        "title": "Category URLs",
                        "minItems": 1,
                        "type": "array",
                        "description": "Blinkit category page URLs containing /cid/{l0}/{l1} (e.g. https://blinkit.com/cn/milk/cid/14/922). Use leaf categories that show products.",
                        "default": [
                            "https://blinkit.com/cn/milk/cid/14/922"
                        ],
                        "items": {
                            "type": "string"
                        }
                    },
                    "latitude": {
                        "title": "Latitude",
                        "type": "number",
                        "description": "Delivery location latitude (decimal degrees).",
                        "default": 28.6139
                    },
                    "longitude": {
                        "title": "Longitude",
                        "type": "number",
                        "description": "Delivery location longitude (decimal degrees).",
                        "default": 77.209
                    },
                    "maxItems": {
                        "title": "Max dataset items",
                        "minimum": 1,
                        "maximum": 500,
                        "type": "integer",
                        "description": "Maximum total products in the dataset across all categories.",
                        "default": 50
                    },
                    "maxItemsPerCategory": {
                        "title": "Max items per category",
                        "minimum": 1,
                        "maximum": 500,
                        "type": "integer",
                        "description": "Maximum products per category (also capped by max dataset items).",
                        "default": 50
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Apify residential proxy (enabled by default; required for Blinkit on Apify cloud).",
                        "default": {
                            "useApifyProxy": true,
                            "apifyProxyGroups": [
                                "RESIDENTIAL"
                            ]
                        }
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
