# Get product

Return current Flipkart product detail, price, availability, ratings, policies, and attributes.

- Platform: [Flipkart Commerce](https://docs.upscrape.com/docs/platforms/flipkart)
- Capability ID: `flipkart.product.get`
- Cost: 1 credit per request
- Maximum runtime: 45 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": {
    "url": "https://www.flipkart.com/apple-iphone-16-black-128-gb/p/itmb07d67f995271?pid=MOBH4DQFG8NKFRDY"
  },
  "capability": "flipkart.product.get"
}'
```

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `pincode` | `string` | No | 6-digit Indian PIN code; adds location: serviceability, seller count and this listing's delivery date |
| `product_id` | `string` | No | Flipkart product id (pid), e.g. MOBGTAGPYYWZRUJX; used when url is not given |
| `url` | `string` | No | Public URL of the page to fetch. |

### Example input

```json
{
  "url": "https://www.flipkart.com/apple-iphone-16-black-128-gb/p/itmb07d67f995271?pid=MOBH4DQFG8NKFRDY"
}
```

## Response

Successful output is returned in `results[0].data`. Raw platform output is intentionally open-ended and may evolve with the upstream source.

### Illustrative sample output

This redacted fixture is an example, not a fixed response schema.

```json
{
  "review_count": 9805,
  "rating": 4.6,
  "attributes": {
    "color": "Green",
    "storage+ram": "128 GB"
  },
  "mrp": 59900,
  "rating_count": 248900,
  "variants": [
    {
      "name": "Color",
      "options": [
        {
          "availability": "in_stock",
          "name": "Black",
          "product_id": "MOBGTAGPSMHFKHT5",
          "selected": false,
          "url": "https://www.flipkart.com/apple-iphone-15-black-256-gb/p/itm6f0727e3e3b52?pid=MOBGTAGPSMHFKHT5"
        },
        {
          "availability": "in_stock",
          "name": "Blue",
          "product_id": "MOBGTAGPNEZZY2YR",
          "selected": false,
          "url": "https://www.flipkart.com/apple-iphone-15-blue-256-gb/p/itm986f66c53cae4?pid=MOBGTAGPNEZZY2YR"
        },
        {
          "availability": "low_stock",
          "name": "Green",
          "product_id": "MOBGTAGPYYWZRUJX",
          "selected": true,
          "url": "https://www.flipkart.com/apple-iphone-15-green-128-gb/p/itm235cd318bde73?pid=MOBGTAGPYYWZRUJX"
        }
      ],
      "selected": "Green"
    },
    {
      "name": "Variant",
      "options": [
        {
          "availability": "low_stock",
          "name": "128 GB",
          "product_id": "MOBGTAGPYYWZRUJX",
          "selected": true,
          "url": "https://www.flipkart.com/apple-iphone-15-green-128-gb/p/itm235cd318bde73?pid=MOBGTAGPYYWZRUJX"
        },
        {
          "availability": "out_of_stock",
          "name": "256 GB",
          "product_id": "MOBGTAGPGF8HJGS7",
          "selected": false,
          "url": "https://www.flipkart.com/apple-iphone-15-green-256-gb/p/itmc24db2484dee9?pid=MOBGTAGPGF8HJGS7"
        },
        {
          "availability": "out_of_stock",
          "name": "512 GB",
          "product_id": "MOBGTAGPZVBANCKG",
          "selected": false,
          "url": "https://www.flipkart.com/apple-iphone-15-green-512-gb/p/itmc31a023efd1a3?pid=MOBGTAGPZVBANCKG"
        }
      ],
      "selected": "128 GB"
    }
  ],
  "availability": "instock",
  "price_with_best_offer": 56905,
  "no_cost_emi": false,
  "seller_id": "bd91df39671142ca",
  "category_path": [
    "Mobiles & Accessories",
    "Mobiles",
    "APPLE Mobiles"
  ],
  "video_count": 1,
  "specifications": [
    {
      "name": "Battery & Power Features",
      "specs": [
        {
          "name": "Battery Capacity",
          "value": "3349 mAh"
        },
        {
          "name": "Dual Battery",
          "value": "No"
        }
      ]
    },
    {
      "name": "Dimensions",
      "specs": [
        {
          "name": "Width",
          "value": "71.6 mm (7.16 cm)"
        },
        {
          "name": "Depth",
          "value": "7.8 mm (0.78 cm)"
        },
        {
          "name": "Height",
          "value": "147.6 mm (14.76 cm)"
        }
      ]
    },
    {
      "name": "Display Features",
      "specs": [
        {
          "name": "Display Size",
          "value": "15.49 cm (6.1 inch)"
        },
        {
          "name": "Resolution",
          "value": "2556 x 1179 Pixels"
        },
        {
          "name": "Resolution Type",
          "value": "Super Retina XDR Display"
        }
      ]
    }
  ],
  "listing_state": "current",
  "image_count": 9,
  "delivery": [
    {
      "max_days": 3,
      "min_days": 3,
      "type": "regular"
    },
    {
      "fee": 399,
      "max_days": 6,
      "min_days": 6,
      "type": "installation_and_demo"
    }
  ],
  "description": "Buy Apple iPhone 15 online at best price with offers in India. Apple iPhone 15 (Green, 128 GB) features and specifications include 128 GB ROM, 3349 mAh Battery, 48 MP back camera and 12 MP front camera. Compare iPhone 15 by price and performance to shop at Flipkart",
  "answer_count": 3,
  "assured": true,
  "question_count": 3,
  "currency": "INR",
  "price": 59900,
  "rating_breakdown": {
    "1": 11093,
    "2": 3658,
    "3": 7515,
    "4": 32819,
    "5": 193815
  },
  "url": "https://www.flipkart.com/apple-iphone-15-green-128-gb/p/itm235cd318bde73?pid=MOBGTAGPYYWZRUJX",
  "brand": "APPLE",
  "cod_available": true,
  "highlights": [
    "128 GB ROM",
    "A16 Bionic Chip, 6 Core Processor | Hexa Core | 3.46 GHz Clock Speed",
    "48MP + 12MP Rear Camera"
  ],
  "image_urls": [
    "https://rukminim1.flixcart.com/image/1500/1500/xif0q/mobile/j/z/3/-original-imagtc5fqyz8tu4c.jpeg?q=70",
    "https://rukminim1.flixcart.com/image/1500/1500/xif0q/mobile/j/i/w/-original-imagtc5fkceaymbw.jpeg?q=70",
    "https://rukminim1.flixcart.com/image/1500/1500/xif0q/mobile/u/m/3/-original-imagtc5ffhbausfy.jpeg?q=70"
  ],
  "return_policy": "7_day_replacement_service_centre_action",
  "product_id": "MOBGTAGPYYWZRUJX",
  "aspect_ratings": [
    {
      "name": "Camera",
      "rating": 4.6
    },
    {
      "name": "Battery",
      "rating": 4.2
    },
    {
      "name": "Display",
      "rating": 4.6
    }
  ],
  "title": "Apple iPhone 15 (Green, 128 GB)",
  "gst_invoice": true,
  "fulfilled_by_flipkart": true,
  "listing_id": "LSTMOBGTAGPYYWZRUJX8CTXDU"
}
```
### Illustrative output fields

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

| Path | Observed type | Example |
| --- | --- | --- |
| `answer_count` | `integer` | 3 |
| `aspect_ratings` | `array` | 3 items |
| `aspect_ratings` | `array` | 3 items |
| `assured` | `boolean` | true |
| `attributes` | `object` | 2 fields |
| `attributes.color` | `string` | Green |
| `attributes.storage+ram` | `string` | 128 GB |
| `availability` | `string` | instock |
| `brand` | `string` | APPLE |
| `category_path` | `array` | 3 items |
| `category_path` | `array` | 3 items |
| `cod_available` | `boolean` | true |
| `currency` | `string` | INR |
| `delivery` | `array` | 2 items |
| `delivery` | `array` | 2 items |
| `description` | `string` | Buy Apple iPhone 15 online at best price with offers in India. Apple iP… |
| `fulfilled_by_flipkart` | `boolean` | true |
| `gst_invoice` | `boolean` | true |
| `highlights` | `array` | 3 items |
| `highlights` | `array` | 3 items |
| `image_count` | `integer` | 9 |
| `image_urls` | `array` | 3 items |
| `image_urls` | `array` | 3 items |
| `listing_id` | `string` | LSTMOBGTAGPYYWZRUJX8CTXDU |
| `listing_state` | `string` | current |
| `mrp` | `integer` | 59900 |
| `no_cost_emi` | `boolean` | false |
| `price` | `integer` | 59900 |
| `price_with_best_offer` | `integer` | 56905 |
| `product_id` | `string` | MOBGTAGPYYWZRUJX |
| `question_count` | `integer` | 3 |
| `rating` | `number` | 4.6 |
| `rating_breakdown` | `object` | 5 fields |
| `rating_breakdown.1` | `integer` | 11093 |
| `rating_breakdown.2` | `integer` | 3658 |
| `rating_breakdown.3` | `integer` | 7515 |
| `rating_breakdown.4` | `integer` | 32819 |
| `rating_breakdown.5` | `integer` | 193815 |
| `rating_count` | `integer` | 248900 |
| `return_policy` | `string` | 7_day_replacement_service_centre_action |
| `review_count` | `integer` | 9805 |
| `seller_id` | `string` | bd91df39671142ca |
| `specifications` | `array` | 3 items |
| `specifications` | `array` | 3 items |
| `title` | `string` | Apple iPhone 15 (Green, 128 GB) |
| `url` | `string` | https://www.flipkart.com/apple-iphone-15-green-128-gb/p/itm235cd318bde7… |
| `variants` | `array` | 2 items |
| `variants` | `array` | 2 items |
| `video_count` | `integer` | 1 |

## 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)
