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

# Instamart Products

> Extract Instamart product details — MRP, selling price, stock — from product URLs

`$1 / 1k products`

Extract Instamart product details — MRP, selling price, stock — from product URLs

## Endpoint

`POST /api/v1/agents/instamart/products/run`

## Parameters

<ParamField body="urls" type="array" required>
  **List** · Instamart product page URLs. One per line.
</ParamField>

<ParamField body="stores" type="array">
  **Multi-select** · Pick one or more dark-store locations (city - pincode - store ID).

  [View all 1206 options →](/agents/instamart/products/values#stores)
</ParamField>

<ParamField body="cities" type="array">
  **Multi-select** · Or expand by city — pick one or more cities and we'll include all their stores.

  [View all 145 options →](/agents/instamart/products/values#cities)
</ParamField>

<ParamField body="pincodes" type="array">
  **Multi-select** · Or expand by pincode — pick one or more pincodes and we'll include all their stores.

  [View all 820 options →](/agents/instamart/products/values#pincodes)
</ParamField>

## Response columns

| Field         | Display name | Type       |
| ------------- | ------------ | ---------- |
| `productUrl`  | Product URL  | url        |
| `city`        | City         | text       |
| `pincode`     | Pincode      | text       |
| `productName` | Product Name | text       |
| `brand`       | Brand        | text       |
| `image`       | Image        | url        |
| `price`       | Price        | currency   |
| `mrp`         | MRP          | currency   |
| `discount`    | Discount %   | percentage |
| `quantity`    | Quantity     | text       |
| `rating`      | Rating       | rating     |
| `ratingCount` | Rating Count | number     |
| `inStock`     | In Stock     | boolean    |
| `inventory`   | Inventory    | number     |
| `category`    | Category     | text       |
| `subCategory` | Sub-Category | text       |
| `platform`    | Platform     | text       |
| `productId`   | Product ID   | text       |

## Example

<CodeGroup>
  ```bash curl theme={null}
  curl -X POST https://api.mindcase.co/api/v1/agents/instamart/products/run \
    -H "Authorization: Bearer mk_live_abc123def456" \
    -H "Content-Type: application/json" \
    -d '{
    "params": {
      "platform": "instamart",
      "urls": [
        "https://www.swiggy.com/instamart/item/LB3ZS2R9VC",
        "https://www.swiggy.com/instamart/item/FDLL0YWLB0",
        "https://www.swiggy.com/instamart/item/J8I0IN3V2G",
        "https://www.swiggy.com/instamart/item/7JPJELLPZZ",
        "https://www.swiggy.com/instamart/item/MZ6NT1SJU2",
        "https://www.swiggy.com/instamart/item/13JKWIC8ZS",
        "https://www.swiggy.com/instamart/item/15K7MDNGNV",
        "https://www.swiggy.com/instamart/item/74KD2IZQ9S",
        "https://www.swiggy.com/instamart/item/3CI8EGWBXT",
        "https://www.swiggy.com/instamart/item/1B5JES1NQQ"
      ],
      "store_id": "1313712"
    }
  }'
  ```

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

  resp = requests.post(
      "https://api.mindcase.co/api/v1/agents/instamart/products/run",
      headers={"Authorization": "Bearer mk_live_abc123def456"},
      json={"params": {
      "platform": "instamart",
      "urls": [
          "https://www.swiggy.com/instamart/item/LB3ZS2R9VC",
          "https://www.swiggy.com/instamart/item/FDLL0YWLB0",
          "https://www.swiggy.com/instamart/item/J8I0IN3V2G",
          "https://www.swiggy.com/instamart/item/7JPJELLPZZ",
          "https://www.swiggy.com/instamart/item/MZ6NT1SJU2",
          "https://www.swiggy.com/instamart/item/13JKWIC8ZS",
          "https://www.swiggy.com/instamart/item/15K7MDNGNV",
          "https://www.swiggy.com/instamart/item/74KD2IZQ9S",
          "https://www.swiggy.com/instamart/item/3CI8EGWBXT",
          "https://www.swiggy.com/instamart/item/1B5JES1NQQ"
      ],
      "store_id": "1313712"
  }},
  )
  data = resp.json()
  ```
</CodeGroup>

### Example response

```json Response theme={null}
{
  "job_id": "job_7f3a2b1c",
  "status": "completed",
  "data": [
    {
      "productUrl": "https://www.swiggy.com/instamart/item/61WDNU5G4B",
      "city": "Bengaluru",
      "pincode": "560001",
      "productName": "Nandini Pasteurised Toned Milk",
      "brand": "Nandini",
      "image": [
        "https://instamart-media-assets.swiggy.com/swiggy/image/upload/coxeba6jvi6vnjkktboa",
        "https://instamart-media-assets.swiggy.com/swiggy/image/upload/jl81zkqan2ld2re3l0kc",
        "https://instamart-media-assets.swiggy.com/swiggy/image/upload/cjl4znipiyzzleo53qfj"
      ],
      "price": 96.0,
      "mrp": 96.0,
      "discount": 0.0,
      "quantity": "500 ml x 4",
      "rating": 4.5,
      "ratingCount": 81200,
      "inStock": true,
      "inventory": 6,
      "category": "Milk",
      "subCategory": "Toned Milk",
      "platform": "Instamart",
      "productId": "61WDNU5G4B"
    }
  ]
}
```
