{
  "openapi": "3.0.1",
  "info": {
    "title": "Flipkart Scraper | Products, Prices and Sellers",
    "description": "Flipkart scraper for products, prices and sellers: 20 products in 25 seconds, 52 fields each. Search by keyword, category link or product id and get price, MRP, discount, stock, rating, specifications, reviews and every seller's price with the delivery date to your PIN code. No Flipkart login.",
    "version": "1.0",
    "x-build-id": "ZrY6pY5llgeVskxvC"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/silentflow~flipkart-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-silentflow-flipkart-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/silentflow~flipkart-scraper/runs": {
      "post": {
        "operationId": "runs-sync-silentflow-flipkart-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/silentflow~flipkart-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-silentflow-flipkart-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "searchTerms": {
            "title": "🔎 Search keywords",
            "type": "array",
            "description": "Keywords to search on Flipkart, one per line, such as <code>bluetooth earbuds</code>, <code>iphone 15</code> or <code>running shoes men</code>. Each keyword is its own search, read in Flipkart's order. A popular keyword gives hundreds of products; a keyword Flipkart does not recognise returns nothing (Flipkart then shows unrelated suggestions, which are skipped).",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "🔗 Flipkart links",
            "type": "array",
            "description": "Search pages (<code>flipkart.com/search?q=…</code>), category pages (<code>flipkart.com/mobiles/pr?sid=tyy,4io</code>) or product pages (<code>flipkart.com/…/p/itm…?pid=…</code>). Paste the address straight from your browser: the filters you picked on Flipkart are kept. Add as many as you need, or upload a text file with one link per line.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "productIds": {
            "title": "🆔 Product ids or product links",
            "type": "array",
            "description": "Flipkart product ids (the <code>pid</code> in a product link, such as <code>MOBHQV9YZGYG64U7</code>) or full product links, one per line. Every id returns its own row, whatever the result cap: use it to track a fixed list of products.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "🔢 Max products per search or link",
            "minimum": 1,
            "type": "integer",
            "description": "How many products to read from each keyword and each search or category link. Product ids are never cut. Set it to what you need: the run time and the number of results grow with it.",
            "default": 50
          },
          "pincode": {
            "title": "📍 Delivery PIN code",
            "type": "string",
            "description": "The Indian PIN code prices, sellers and delivery dates are read for, such as <code>110001</code> (New Delhi), <code>400001</code> (Mumbai) or <code>560001</code> (Bengaluru). The seller in the buy box, the price and the stock can change from one PIN code to another.",
            "default": "110001"
          },
          "sort": {
            "title": "↕️ Sort by",
            "enum": [
              "relevance",
              "popularity",
              "price_asc",
              "price_desc",
              "recency_desc"
            ],
            "type": "string",
            "description": "The order Flipkart lists the results in. Flipkart pins a few promoted products on top of a sorted list: sort the dataset by <code>price</code> if you need a strict order.",
            "default": "relevance"
          },
          "minPrice": {
            "title": "💰 Min price (₹)",
            "minimum": 0,
            "type": "integer",
            "description": "Only products selling at this price or above, in Indian rupees, such as <code>10000</code>. Checked again on the price at your PIN code: a product outside the range is never returned."
          },
          "maxPrice": {
            "title": "💰 Max price (₹)",
            "minimum": 0,
            "type": "integer",
            "description": "Only products selling at this price or below, in Indian rupees, such as <code>30000</code>. Checked again on the price at your PIN code: a product outside the range is never returned."
          },
          "brands": {
            "title": "🏷️ Brands",
            "type": "array",
            "description": "Only products of these brands, written as Flipkart shows them, such as <code>Samsung</code>, <code>boAt</code> or <code>Apple</code>. Several brands are combined (any of them).",
            "items": {
              "type": "string"
            }
          },
          "minDiscount": {
            "title": "🔥 Min discount",
            "enum": [
              "any",
              "10",
              "20",
              "30",
              "40",
              "50"
            ],
            "type": "string",
            "description": "Only products sold at least this far below their MRP, using Flipkart's discount filter, then checked again on the discount at your PIN code.",
            "default": "any"
          },
          "maxReviewsPerProduct": {
            "title": "⭐ Reviews per product",
            "minimum": 0,
            "type": "integer",
            "description": "The newest buyer reviews nested in each product row: rating, title, text, author, date, helpful and unhelpful votes, certified buyer, city, variant bought and photos. 10 by default; <code>0</code> skips reviews and keeps the run fast; each 10 reviews take one more page per product.",
            "default": 10
          },
          "includeProductDetails": {
            "title": "📄 Include product details",
            "type": "boolean",
            "description": "On by default: each product is opened for its specifications, description, sellers, delivery to your PIN code and reviews. Turn it off for a fast price list: keyword and link results then come straight from Flipkart's result pages (title, price, MRP, discount, images, key specs and badges, with brand, rating and stock where the results show them), up to 40 products per page read, without sellers, delivery or reviews. Product ids still get their price, sellers and delivery for your PIN code.",
            "default": true
          },
          "monitorMode": {
            "title": "👀 Only new products and changes",
            "type": "boolean",
            "description": "Remembers the products of this exact input (keywords, links, ids, PIN code and filters) between runs and returns only new products and products whose price or stock changed, with <code>changeType</code> and <code>previousPrice</code>. Pair it with a Schedule to get price drops and restocks every day. The first run returns everything.",
            "default": false
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}