# Flipkart Products

Extract Flipkart product details — title, price, MRP, discount, ratings, specifications, seller info — from product URLs, with optional per-pincode delivery and pricing

**Pricing:** $1 / 1k products

**Endpoint:** `POST /api/v1/agents/flipkart/products/run`

**Auth:** `Authorization: Bearer mk_live_...`

## Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `products` | array | Yes | List of Flipkart product URLs to scrape. Use param name 'Products' in confirm widget. |
| `pincodes` | array | No | Delivery pincodes (6 digits each). Optional — uses default if blank. |

## Example

```bash
curl -X POST https://api.mindcase.co/api/v1/agents/flipkart/products/run \
  -H "Authorization: Bearer mk_live_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"params":{"products":["..."]}}'
```

```python
import requests

resp = requests.post(
    "https://api.mindcase.co/api/v1/agents/flipkart/products/run",
    headers={"Authorization": "Bearer mk_live_YOUR_API_KEY"},
    json={"params": {
    "products": [
        "..."
    ]
}},
)
data = resp.json()
```

## Get the results

`run` is async and returns a `job_id`. Poll until `status` is `completed`, then read the rows:

```bash
# 1) check status
curl https://api.mindcase.co/api/v1/jobs/JOB_ID \
  -H "Authorization: Bearer mk_live_YOUR_API_KEY"

# 2) when status == completed, fetch the rows
curl https://api.mindcase.co/api/v1/jobs/JOB_ID/results \
  -H "Authorization: Bearer mk_live_YOUR_API_KEY"
```

Full API reference (auth, jobs, balance, endpoints): https://mindcase.co/skills.md

## Response columns

| Field | Display name | Type |
|-------|--------------|------|
| `productUrl` | Product URL | url |
| `productId` | Product ID | text |
| `pincode` | Pincode | text |
| `title` | Title | text |
| `brand` | Brand | text |
| `description` | Description | text |
| `highlights` | Highlights | array |
| `modelName` | Model Name | text |
| `color` | Color | text |
| `price` | Price | currency |
| `mrp` | MRP | currency |
| `discount` | Discount % | number |
| `available` | Available | boolean |
| `rating` | Rating | rating |
| `ratingCount` | Rating Count | number |
| `reviewCount` | Review Count | number |
| `sellerName` | Seller Name | text |
| `sellerRating` | Seller Rating | rating |
| `otherSellers` | Other Sellers | object_array |
| `deliverable` | Deliverable | boolean |
| `deliveryDate` | Delivery Date | text |
| `returnPolicy` | Return Policy | text |
| `warranty` | Warranty | text |
| `error` | Error | text |
