Skip to content
Scrappa Get API key
Flipkart API 1 credit / request

Flipkart Product API Documentation

GET https://scrappa.co/api/flipkart/product

Flipkart Product API Documentation Get one Flipkart product by id or url. The answer has title, brand, category path (empty or only the top category when the page has no breadcrumb), sale price, list price (MRP) and discount in rupees from the buy box of the listing sold by the seller named in the answer, the page url, full size photos, the average rating with the 1 to 5 star breakdown and ratings per aspect (camera, battery and so on), highlights, grouped specifications, variants (colour, storage) with their own id, url, price and list price, the selected variant, the seller with rating, return policy, cash on delivery, no cost EMI and a preview of reviews with ISO dates. Variant stock is not included: send the variant id to this endpoint to see its stock. Flipkart answers a short overload on about half of the first tries; Scrappa repeats the lookup on a new connection for you. Cost: 1 credit per request, only for successful requests. Failed requests are not billed.

Flipkart Product API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/flipkart/product
Auth header
x-api-key
Cost
1 credit / request
Response preview
200 OK
{
    "data": {
        "item": {
            "id": "MOBHQV9YDG7CGRAM",
            "url": "https://www.flipkart.com/apple-iphone-17-lavender-256-gb/p/itm5c650337c09ee?pid=MOBHQV9YDG7CGRAM&marketplace=FLIPKART&lid=LSTMOBHQV9YDG7CGRAMOQWOKL",
            "brand": "APPLE",
            "color": "Lavender",
            "price": 95000,
            "title": "Apple iPhone 17 (Lavender, 256 GB)",
            "images": [
                "https://rukmini1.flixcart.com/image/1500/1500/xif0q/mobile/0/a/f/-original-imahqvadmn9uydqz.jpeg?q=70",
                "https://rukmini1.flixcart.com/image/1500/1500/xif0q/mobile/f/y/t/-original-imahqvad8fgah9gf.jpeg?q=70"
            ],
            "rating": {
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

This endpoint has no required query parameters.

2 optional filters available.

pid string Optional

Flipkart product id as the search returns it in id, for example MOBHQV9YDG7CGRAM. Send pid or url.

Example value example
url string Optional
Open example

Flipkart product page url. Scrappa reads the pid from it. Send pid or url.

Example value https://example.com/product

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "item": {
            "id": "MOBHQV9YDG7CGRAM",
            "url": "https://www.flipkart.com/apple-iphone-17-lavender-256-gb/p/itm5c650337c09ee?pid=MOBHQV9YDG7CGRAM&marketplace=FLIPKART&lid=LSTMOBHQV9YDG7CGRAMOQWOKL",
            "brand": "APPLE",
            "color": "Lavender",
            "price": 95000,
            "title": "Apple iPhone 17 (Lavender, 256 GB)",
            "images": [
                "https://rukmini1.flixcart.com/image/1500/1500/xif0q/mobile/0/a/f/-original-imahqvadmn9uydqz.jpeg?q=70",
                "https://rukmini1.flixcart.com/image/1500/1500/xif0q/mobile/f/y/t/-original-imahqvad8fgah9gf.jpeg?q=70"
            ],
            "rating": {
                "count": 48972,
                "score": 4.6,
                "breakdown": [
                    {
                        "count": 38812,
                        "stars": 5
                    },
                    {
                        "count": 6388,
                        "stars": 4
                    },
                    {
                        "count": 1271,
                        "stars": 3
                    },
                    {
                        "count": 479,
                        "stars": 2
                    },
                    {
                        "count": 2022,
                        "stars": 1
                    }
                ],
                "parameters": [
                    {
                        "name": "Camera",
                        "score": 4.7
                    },
                    {
                        "name": "Battery",
                        "score": 4.3
                    },
                    {
                        "name": "Display",
                        "score": 4.8
                    },
                    {
                        "name": "Design",
                        "score": 4.7
                    },
                    {
                        "name": "Performance",
                        "score": 4.7
                    },
                    {
                        "name": "Build Quality",
                        "score": 4.7
                    },
                    {
                        "name": "Value for Money",
                        "score": 4.4
                    }
                ],
                "review_count": 3111
            },
            "seller": {
                "id": "f6d15b4a4f304426",
                "name": "TrueComRetail",
                "rating": 4.8,
                "tenure": "10 years with Flipkart",
                "flipkart_assured": true,
                "fulfilled_by_flipkart": true
            },
            "returns": {
                "code": "7_day_replacement_service_centre_action",
                "policy": "Returns are not permitted. We offer a 7 days replacement-only policy."
            },
            "currency": "INR",
            "in_stock": true,
            "variants": [
                {
                    "options": [
                        {
                            "id": "MOBHQV9YCUG4ZQZK",
                            "url": "https://www.flipkart.com/apple-iphone-17-black-256-gb/p/itmc61b40459dd98?pid=MOBHQV9YCUG4ZQZK&marketplace=FLIPKART&lid=LSTMOBHQV9YCUG4ZQZKUTWGGY",
                            "label": null,
                            "price": null,
                            "currency": null,
                            "selected": false,
                            "original_price": null
                        },
                        {
                            "id": "MOBHQV9YDG7CGRAM",
                            "url": "https://www.flipkart.com/apple-iphone-17-lavender-256-gb/p/itm5c650337c09ee?pid=MOBHQV9YDG7CGRAM&marketplace=FLIPKART&lid=LSTMOBHQV9YDG7CGRAMOQWOKL",
                            "label": "Lavender",
                            "price": null,
                            "currency": null,
                            "selected": true,
                            "original_price": null
                        }
                    ],
                    "attribute": "color"
                },
                {
                    "options": [
                        {
                            "id": "MOBHQV9YDG7CGRAM",
                            "url": "https://www.flipkart.com/apple-iphone-17-lavender-256-gb/p/itm5c650337c09ee?pid=MOBHQV9YDG7CGRAM&marketplace=FLIPKART&lid=LSTMOBHQV9YDG7CGRAMOQWOKL",
                            "label": "256 GB",
                            "price": 95000,
                            "currency": "INR",
                            "selected": true,
                            "original_price": 99900
                        },
                        {
                            "id": "MOBHQV9YGGQJRZ39",
                            "url": "https://www.flipkart.com/apple-iphone-17-lavender-512-gb/p/itm4129c66363e5b?pid=MOBHQV9YGGQJRZ39&marketplace=FLIPKART&lid=LSTMOBHQV9YGGQJRZ391YHPLM",
                            "label": "512 GB",
                            "price": 120000,
                            "currency": "INR",
                            "selected": false,
                            "original_price": 124900
                        }
                    ],
                    "attribute": "variant"
                }
            ],
            "highlights": [
                "256 GB ROM",
                "A19 Chip, 6 Core Processor | Hexa Core | 4.26 GHz Clock Speed",
                "48MP + 48MP Rear Camera",
                "18MP Front Camera",
                "6.3 inch All Screen OLED Display"
            ],
            "listing_id": "LSTMOBHQV9YDG7CGRAMOQWOKL",
            "description": "Buy Apple iPhone 17 online at best price with offers in India. Apple iPhone 17 (Lavender, 256 GB) features and specifications include 256 GB ROM, 48 MP back camera and 18 MP front camera. Compare iPhone 17 by price and performance to shop at Flipkart",
            "no_cost_emi": false,
            "availability": "IN_STOCK",
            "images_count": 11,
            "videos_count": 1,
            "category_path": [
                "Mobiles & Accessories",
                "Mobiles",
                "APPLE Mobiles"
            ],
            "original_price": 99900,
            "specifications": [
                {
                    "group": "Battery & Power Features",
                    "items": [
                        {
                            "name": "Battery Type",
                            "value": "Lithium Ion"
                        }
                    ]
                },
                {
                    "group": "Dimensions",
                    "items": [
                        {
                            "name": "Width",
                            "value": "71.5 mm (7.15 cm)"
                        },
                        {
                            "name": "Depth",
                            "value": "7.95 mm (0.8 cm)"
                        },
                        {
                            "name": "Height",
                            "value": "149.6 mm (14.96 cm)"
                        },
                        {
                            "name": "Weight",
                            "value": "177 g"
                        }
                    ]
                }
            ],
            "reviews_preview": [
                {
                    "date": "2026-05-24",
                    "text": "Best phone under this price. All over performance is excellent.",
                    "title": "Wonderful",
                    "author": "Harsh Jethiwal",
                    "rating": 5
                }
            ],
            "cash_on_delivery": true,
            "discount_percent": 5,
            "selected_attributes": {
                "color": "Lavender",
                "storage+ram": "256 GB"
            }
        },
        "currency": "INR"
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "product"
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

Validation Error

A query parameter is missing or invalid. This response is not billable.

{
    "errors": {
        "pid": [
            "Send a product id (pid) or a product url."
        ]
    },
    "message": "The request validation failed"
}
404

Not Found

Flipkart has no product with this id. This response is not billable.

{
    "meta": {
        "billable": false,
        "retryable": false,
        "endpoint_family": "product"
    },
    "error": {
        "code": "NOT_FOUND",
        "message": "Flipkart has no product with this id."
    },
    "success": false
}
503

Upstream Unavailable

Flipkart did not answer or sent data Scrappa cannot read. This response is not billable. Retry later.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "product"
    },
    "error": {
        "code": "upstream_unavailable",
        "message": "Flipkart is temporarily unavailable. Please retry."
    },
    "success": false
}

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.