{
  "openapi": "3.0.1",
  "info": {
    "title": "Flipkart Product Scraper: Prices, Reviews & Seller Leads",
    "description": "Scrape Flipkart products, prices, ratings and reviews from searches, categories or product links. Track prices, study competitors and find sellers to contact.",
    "version": "0.1",
    "x-build-id": "O0QdfVScu7Tr4gEzr"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/cliqtomedia~flipkart-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-cliqtomedia-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/cliqtomedia~flipkart-scraper/runs": {
      "post": {
        "operationId": "runs-sync-cliqtomedia-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/cliqtomedia~flipkart-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-cliqtomedia-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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "What to collect",
            "enum": [
              "search",
              "product",
              "reviews"
            ],
            "type": "string",
            "description": "Choose products from a search, products from their URLs, or reviews for product URLs.",
            "default": "search"
          },
          "searchQueries": {
            "title": "Search terms",
            "maxItems": 50,
            "type": "array",
            "description": "Search Flipkart for each phrase. Used in Search products mode. Up to 1,000 terms, URLs and file links together.",
            "items": {
              "type": "string"
            }
          },
          "productUrls": {
            "title": "Product URLs",
            "maxItems": 50,
            "type": "array",
            "description": "Public flipkart.com product page URLs. Used in Product details and Product reviews modes. Up to 1,000 URLs. For a long list, use URL file below.",
            "items": {
              "type": "string"
            }
          },
          "categoryUrls": {
            "title": "Category or search URLs",
            "maxItems": 50,
            "type": "array",
            "description": "Public Flipkart category or filtered search URLs. Copy the URL after setting filters on Flipkart. Used in Search products mode.",
            "items": {
              "type": "string"
            }
          },
          "urlsFile": {
            "title": "URL file (optional)",
            "type": "array",
            "description": "Upload a .txt or .csv file, or paste a link to one. The Actor reads every flipkart.com link in it: product links (/p/itm…) go to product URLs, other links go to category URLs. Up to 2 MB.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "includeReviews": {
            "title": "Include reviews with products",
            "type": "boolean",
            "description": "Also collect public review rows for each product found in Search products or Product details mode.",
            "default": false
          },
          "maxReviewsPerProduct": {
            "title": "Reviews per product",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum review rows for each product when Include reviews is enabled, up to 500. Flipkart shows about 400–600 unique reviews per product across all review orders.",
            "default": 10
          },
          "maxItems": {
            "title": "Maximum products",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum product rows across all searches or URLs, up to 10,000. Each search page has about 24–40 products, so set Max search pages high enough.",
            "default": 10
          },
          "maxPagesPerSearch": {
            "title": "Maximum search pages",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Stop each search after this many pages (up to 50), even when more products exist.",
            "default": 5
          },
          "maxReviews": {
            "title": "Maximum reviews",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum review rows across all products, up to 10,000. One product usually gives up to about 400–600 unique reviews, so large totals need several products.",
            "default": 100
          },
          "sort": {
            "title": "Search order",
            "enum": [
              "relevance",
              "price_asc",
              "price_desc",
              "recency_desc",
              "popularity",
              "rating_desc"
            ],
            "type": "string",
            "description": "How Flipkart sorts search results. Applies only to search terms.",
            "default": "relevance"
          },
          "minPrice": {
            "title": "Minimum price (INR)",
            "minimum": 0,
            "type": "integer",
            "description": "Include products priced at or above this amount. Leave blank for no minimum."
          },
          "maxPrice": {
            "title": "Maximum price (INR)",
            "minimum": 0,
            "type": "integer",
            "description": "Include products priced at or below this amount. Leave blank for no maximum."
          },
          "minRating": {
            "title": "Minimum rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Include products with this rating or higher. Unrated products do not match."
          },
          "brand": {
            "title": "Brand",
            "maxLength": 100,
            "type": "string",
            "description": "Show only this brand in keyword searches, e.g. Logitech. Leave blank for all brands."
          },
          "includeDetails": {
            "title": "Open each product page",
            "type": "boolean",
            "description": "Add seller, full description and more images from the product page. Search cards alone are faster and already contain prices, ratings and basic specifications.",
            "default": true
          },
          "includeSellerLeads": {
            "title": "Add seller leads",
            "type": "boolean",
            "description": "Add one row for each seller found: seller rating, years on Flipkart, quality and speed scores, brands seen, and a lead score. Opens each product page, so Open each product page is turned on.",
            "default": false
          },
          "onlyNew": {
            "title": "Only new products",
            "type": "boolean",
            "description": "On repeated runs with the same monitor name, return products whose IDs have not been saved before. The first run returns current products.",
            "default": false
          },
          "monitorName": {
            "title": "Monitor name",
            "maxLength": 80,
            "type": "string",
            "description": "A short name that keeps the saved product IDs separate from your other searches. Used with Only new products.",
            "default": "default"
          },
          "deliveryConnector": {
            "title": "Send results to (optional)",
            "type": "string",
            "description": "Your Slack, Notion or other MCP connector. After the run the Actor posts a short summary there. Connect services once in Apify Console → MCP connectors."
          },
          "deliveryTarget": {
            "title": "Notion page or channel (optional)",
            "type": "string",
            "description": "Where to post the summary: a Notion page link (each run is added on top of that page) or a Slack channel ID. Notion needs a page here; without it the summary is not sent and the run summary says why."
          },
          "reviewSort": {
            "title": "Review order",
            "enum": [
              "MOST_HELPFUL",
              "MOST_RECENT",
              "POSITIVE_FIRST",
              "NEGATIVE_FIRST"
            ],
            "type": "string",
            "description": "Which public reviews come first. Flipkart shows about 20 pages per order. When this order runs out, the Actor goes on with the other orders and skips repeats.",
            "default": "MOST_HELPFUL"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}