> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mindcase.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Flipkart Minutes Products API

> Live product data from Flipkart Minutes - search, browse a category, or fetch specific product URLs, for the store serving any Indian pincode.

`POST /v1/data/flipkart-minutes/products/run`

**Pricing:** $0.001 per product ($1.00 per 1,000).

A search query, a category + sub-category, or product URLs - plus a pincode, city or lat/lon.

## Ways to call it

* **Search**: set `query` (optional: `city`, `pincode`, `lat`, `lon`, `maxResults`)
* **Category**: set `category`, `sub_category` (optional: `city`, `pincode`, `lat`, `lon`, `maxResults`)
* **URL**: set `urls` (optional: `city`, `pincode`, `lat`, `lon`)

## Request

Send the inputs under `params`. Only the keys below are accepted; any other key returns `422 invalid_params`.

**query** `string`

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

**category** `string`

Top-level category (e.g. Antiseptics).

39 allowed values, for example `Antiseptics`, `Asgard SnB HyperLocal 3.0 (0056)`, `Asgard SnB HyperLocal 3.0 (0065)`, `Atta Rice Dal`, `Bakery Biscuits`, `Batteries`, `Bedsheets`, `Breads And Buns`, `Chips`, `Cleaning Essentials`. Fetch the full list with `GET /v1/data/flipkart-minutes/products?expand=options`.

**sub\_category** `string`

Sub-category within it (e.g. Adult Diapers).

451 allowed values, for example `Adult Diapers`, `Antiseptic`, `Ayurveda`, `Baby Cleaners & Detergents`, `Baby Common Cold`, `Baby Fever Medicine`, `Baby Food`, `Baby Health & Hygiene`, `Baby Personal Care`, `Band-aid and Pain Relief`. Fetch the full list with `GET /v1/data/flipkart-minutes/products?expand=options`.

**urls** `string[]`

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

**lat** `number`

Or target by coordinates: latitude (use with longitude).

Min `-90`; max `90`; use together with `lon`.

**lon** `number`

Or target by coordinates: longitude (use with latitude).

Min `-180`; max `180`; use together with `lat`.

**city** `string`

City - filters the pincode list.

384 allowed values, for example `New Delhi`, `Delhi`, `Faridabad`, `Greater Faridabad`, `Palwal`, `Gurugram`, `Gurgaon`, `Rewari`, `Rohtak`, `Jhajjar`. Fetch the full list with `GET /v1/data/flipkart-minutes/products?expand=options`.

**pincode** `string`

Pincode - pick a city first.

1927 allowed values, for example `110001` (110001 (New Delhi)), `110002` (110002 (New Delhi)), `110003` (110003 (New Delhi)), `110005` (110005 (New Delhi)), `110006` (110006 (New Delhi)), `110007` (110007 (New Delhi)), `110008` (110008 (New Delhi)), `110009` (110009 (New Delhi)), `110010` (110010 (New Delhi)), `110012` (110012 (New Delhi)). Fetch the full list with `GET /v1/data/flipkart-minutes/products?expand=options`.

**maxResults** `integer`

How many products to return. Use 0 for all.

## Example

```bash cURL theme={null}
curl -X POST "https://api.mindcase.co/v1/data/flipkart-minutes/products/run?wait=true" \
  -H "Authorization: Bearer $MINDCASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "params": {
    "query": "chocolate",
    "city": "New Delhi",
    "pincode": "110001"
  }
}'
```

```python Python theme={null}
import os, requests

r = requests.post(
    "https://api.mindcase.co/v1/data/flipkart-minutes/products/run",
    params={"wait": "true"},
    headers={"Authorization": f"Bearer {os.environ['MINDCASE_API_KEY']}"},
    json={"params": {
    "query": "chocolate",
    "city": "New Delhi",
    "pincode": "110001"
}},
)
job = r.json()
rows = job.get("data", [])  # if job["status"] == "running", poll /v1/jobs/{job_id}/results
```

```javascript Node.js theme={null}
const r = await fetch("https://api.mindcase.co/v1/data/flipkart-minutes/products/run?wait=true", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MINDCASE_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ params: {
  "query": "chocolate",
  "city": "New Delhi",
  "pincode": "110001"
} }),
});
const job = await r.json();
const rows = job.data ?? []; // if job.status === "running", poll /v1/jobs/{job_id}/results
```

## Response fields

Each row in `data` is one product, keyed by these fields.

| Field | Name | Type |
| - | - | - |
| `productName` | Product Name | text |
| `brand` | Brand | text |
| `variantId` | Variant ID | text |
| `productId` | Product ID | text |
| `price` | Price | currency |
| `mrp` | MRP | currency |
| `discount` | Discount % | percentage |
| `packSize` | Pack Size | text |
| `inStock` | In Stock | boolean |
| `stockCount` | Stock Count | number |
| `rating` | Rating | rating |
| `ratingCount` | Rating Count | number |
| `category` | Category | text |
| `rank` | Rank | number |
| `sponsored` | Sponsored | boolean |
| `images` | Images | array |
| `productUrl` | Product URL | url |
| `description` | Description | text |
| `countryOfOrigin` | Country of Origin | text |
| `manufacturer` | Manufacturer | text |
| `seller` | Seller | text |
| `specifications` | Specifications | object\_array |
| `storeId` | Store ID | text |
| `latitude` | Latitude | number |
| `longitude` | Longitude | number |

## Example response

Abridged: long text and lists are shortened.

```json theme={null}
{
  "job_id": "7f3a1c2e-0b9d-4c55-9a51-3f2e8d1b6a40",
  "agent": "flipkart-minutes/products",
  "status": "completed",
  "row_count": 1,
  "truncated": false,
  "data": [
    {
      "rating": null,
      "productId": "CHCHNVPH",
      "countryOfOrigin": null,
      "images": [
        "https://rukminim1.flixcart.com/image/800/800/xif0q/minutes_enrichment_original/-enriched-original-CHCHNVPHHZEMMNYV_0.jpg?q=90"
      ],
      "mrp": 550.0,
      "brand": null,
      "variantId": "CHCHNVPHHZEMMNYV",
      "rank": 1,
      "manufacturer": null,
      "sponsored": false,
      "seller": null,
      "inStock": true,
      "ratingCount": null,
      "packSize": "140 g",
      "description": null,
      "stockCount": null,
      "longitude": 77.2205,
      "category": "ConfectioneriesSweets",
      "specifications": [],
      "latitude": 28.6285,
      "productName": "Cadbury Dairy Milk Silk Dubai Kunafa Chocolate Bar Gift Pack",
      "productUrl": "https://www.flipkart.com/x/p/LSTCHCHNVPHHZEMMNYVV32OBU?pid=CHCHNVPHHZEMMNYV",
      "discount": 14.73,
      "storeId": "del_183_wh_hl_01",
      "price": 469.0
    }
  ]
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.