# $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, 44.0% runs succeeded, 0 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/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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(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 '{
  "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": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,architjn/blinkit-category-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/xs4TgkpMgUXCR0bDp/builds/mNHzoHvuIZuVaJrCi/openapi.json
