# Get product

Read one Instamart product by ID or supported item URL, including pack variations, price and availability fields plus published product details where present.

- Platform: [Swiggy Instamart](https://docs.upscrape.com/docs/platforms/swiggy-instamart)
- Capability ID: `swiggy-instamart.product.get`
- Cost: 1 credit per request
- Maximum runtime: 120 seconds
- Execute endpoint: `POST https://data.upscrape.com/execute`

## Request

Use the exact public capability ID in the shared execute envelope.

```bash
curl --request POST \
  --url https://data.upscrape.com/execute \
  --header "Authorization: Bearer $UPSCRAPE_API_KEY" \
  --header "Content-Type: application/json" \
  --header "Prefer: wait=30" \
  --data '{
  "input": {
    "primary_store_id": "1392421",
    "product_id": "8XUTKS0CZ3",
    "store_id": "1392421"
  },
  "capability": "swiggy-instamart.product.get"
}'
```

## Input

Provide store_id, a six-digit pincode, or both lat and lng. Store takes precedence over pincode, which takes precedence over coordinates. Prefer one selector and retain the returned store and delivery point; one pincode does not describe every address in its area.

Provide product_id or product_url. Item links use https://www.swiggy.com/instamart/item/{id}; copied tracking parameters do not identify the product.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `lat` | `number` | No | Latitude in decimal degrees. From -90 to 90. |
| `lng` | `number` | No | Longitude in decimal degrees. From -180 to 180. |
| `pincode` | `string` | No | 6-digit Indian PIN code; the store serving it is resolved automatically (alternative to store_id) |
| `primary_store_id` | `string` | No | Primary store ID; defaults to store_id |
| `product_id` | `string` | No | Instamart product ID (the id field of listing results, or the /instamart/item/{id} path) |
| `product_url` | `string` | No | Instamart item link; tracking parameters are ignored |
| `secondary_store_id` | `string` | No | Secondary store ID when the location has one |
| `store_id` | `string` | No | Instamart store ID (alternative to pincode; takes precedence when both are given) |

### Example input

```json
{
  "primary_store_id": "1392421",
  "product_id": "8XUTKS0CZ3",
  "store_id": "1392421"
}
```

## Response

Successful output is returned in `results[0].data`.

Use offer_price_paise, mrp_paise and discount_paise for price arithmetic, dividing by 100 to display rupees. Missing monetary fields remain unknown; a real zero stays zero. Compare the same SKU and pack size, and inspect in_stock separately from price.

Product descriptions, highlights, images and other published information vary by product. Variations have their own SKU, quantity, price and availability.

### Illustrative sample output

This example shows one response. Values and optional fields vary with the data available.

```json
{
  "brand": "Fruits & Vegetables Category",
  "description": "Distinctive Flavor: Experience the unique sweetness that sets Ooty Carrot apart from the rest. Grown in the lush valleys of the Ooty region, it offers a delightful taste like no other.",
  "id": "8XUTKS0CZ3",
  "in_stock": true,
  "name": "Ooty Carrot",
  "other_information": "Country Of Origin is India. EAN code: 4601. Store the product in refrigerated conditions. The image(s) shown are representative of the actual product. While every effort has been made to maintain accurate and up to date product related content, it is recommended to read product labels, batch and manufacturing/packing details along with warnings and directions before using or consuming a packed pro…",
  "product_url": "https://www.swiggy.com/instamart/item/8XUTKS0CZ3",
  "seller_details": "Seller Name: Greenmania Modern Retail Pvt Ltd - Carmelaram\nFSSAI Number: 11224333001432\nAddress: SY no- 23/5,GF Doddakannelli village, Varthur Hobli Bangalore, Karnataka -560035\nCustomer Care: [redacted:email]",
  "similar_products": [
    {
      "id": "YEWFLNADBX",
      "name": "nectr Ooty Carrot With Leaves"
    },
    {
      "id": "JPCLG50ME4",
      "name": "Healthy Salad Combo"
    },
    {
      "id": "EMX5WPEN6C",
      "name": "Carrot"
    }
  ],
  "variations": [
    {
      "category": "Vegetables",
      "discount": "16",
      "discount_label": "23% OFF",
      "discount_paise": 1600,
      "highlights": [
        {
          "description": "Supports Eye Health, Boosts Immunity",
          "title": "Health Benefits"
        },
        {
          "description": "1 x Ooty Carrot ( 250 g )",
          "title": "Box Contents"
        },
        {
          "description": "2 x 250 g",
          "title": "Pack Size"
        }
      ],
      "image_urls": [
        "https://instamart-media-assets.swiggy.com/swiggy/image/upload/fl_lossy,f_auto,q_auto/NI_CATALOG/IMAGES/ciw/2025/12/18/[redacted:token].png",
        "https://instamart-media-assets.swiggy.com/swiggy/image/upload/fl_lossy,f_auto,q_auto/c9b9f394e9e1d8e64e1a1bd84fd7d90b",
        "https://instamart-media-assets.swiggy.com/swiggy/image/upload/fl_lossy,f_auto,q_auto/900a402fbc4a570045137509591e1478"
      ],
      "images": [
        "NI_CATALOG/IMAGES/ciw/2025/12/18/[redacted:token].png",
        "c9b9f394e9e1d8e64e1a1bd84fd7d90b",
        "900a402fbc4a570045137509591e1478"
      ],
      "in_stock": true,
      "max_per_order": 2,
      "mrp": "68",
      "mrp_paise": 6800,
      "name": "Ooty Carrot",
      "offer_price": "52",
      "offer_price_paise": 5200,
      "quantity": "250 g x 2",
      "short_description": "Sweet mountain-grown carrot with vibrant color!",
      "sku": "8RC1S4B1U4",
      "sub_category": "Carrot",
      "super_category": "Fruits and Vegetables",
      "unit_price": "10.4/100 g"
    },
    {
      "category": "Vegetables",
      "discount": "7",
      "discount_label": "20% OFF",
      "discount_paise": 700,
      "highlights": [
        {
          "description": "Supports Eye Health, Boosts Immunity",
          "title": "Health Benefits"
        },
        {
          "description": "1 x Ooty Carrot ( 250 g )",
          "title": "Box Contents"
        },
        {
          "description": "250 g",
          "title": "Pack Size"
        }
      ],
      "image_urls": [
        "https://instamart-media-assets.swiggy.com/swiggy/image/upload/fl_lossy,f_auto,q_auto/NI_CATALOG/IMAGES/ciw/2025/12/18/[redacted:token].png",
        "https://instamart-media-assets.swiggy.com/swiggy/image/upload/fl_lossy,f_auto,q_auto/c9b9f394e9e1d8e64e1a1bd84fd7d90b",
        "https://instamart-media-assets.swiggy.com/swiggy/image/upload/fl_lossy,f_auto,q_auto/900a402fbc4a570045137509591e1478"
      ],
      "images": [
        "NI_CATALOG/IMAGES/ciw/2025/12/18/[redacted:token].png",
        "c9b9f394e9e1d8e64e1a1bd84fd7d90b",
        "900a402fbc4a570045137509591e1478"
      ],
      "in_stock": true,
      "max_per_order": 5,
      "mrp": "34",
      "mrp_paise": 3400,
      "name": "Ooty Carrot",
      "offer_price": "27",
      "offer_price_paise": 2700,
      "quantity": "250 g",
      "short_description": "Sweet mountain-grown carrot with vibrant color!",
      "sku": "PJ06BD3YD5",
      "sub_category": "Carrot",
      "super_category": "Fruits and Vegetables",
      "unit_price": "10.8/100 g"
    }
  ]
}
```
### Illustrative output fields

Derived from the sample above for orientation only. These fields are not a fixed response schema.

| Path | Observed type | Example |
| --- | --- | --- |
| `brand` | `string` | Fruits & Vegetables Category |
| `description` | `string` | Distinctive Flavor: Experience the unique sweetness that sets Ooty Carr… |
| `id` | `string` | 8XUTKS0CZ3 |
| `in_stock` | `boolean` | true |
| `name` | `string` | Ooty Carrot |
| `other_information` | `string` | Country Of Origin is India. EAN code: 4601. Store the product in refrig… |
| `product_url` | `string` | https://www.swiggy.com/instamart/item/8XUTKS0CZ3 |
| `seller_details` | `string` | Seller Name: Greenmania Modern Retail Pvt Ltd - Carmelaram FSSAI Number… |
| `similar_products` | `array` | 3 items |
| `similar_products` | `array` | 3 items |
| `variations` | `array` | 2 items |
| `variations` | `array` | 2 items |

## Execution behavior

A `200` response completed inline. A `202` response was queued; poll `GET /jobs/{id}` until the job reaches `completed` or `failed`. Use an `Idempotency-Key` when retrying must not create a duplicate logical job.

## Related documentation

- [Authentication](https://docs.upscrape.com/docs/api/authentication)
- [Jobs and results](https://docs.upscrape.com/docs/api/jobs)
- [Errors and retries](https://docs.upscrape.com/docs/api/errors)
- [Idempotency](https://docs.upscrape.com/docs/api/idempotency)
