{
  "openapi": "3.0.1",
  "info": {
    "title": "Flipkart Scraper: Products, Prices, Stock & Reviews",
    "description": "Flipkart scraper & API: every product from any search, category or brand, not just the first 1,000. Price, MRP, discount, 1–5★ ratings, \"Only N left\" stock, badges; add specs, variants, seller, offers, delivery by pincode and reviews. Track Flipkart prices daily.",
    "version": "1.0",
    "x-build-id": "Z7PktNBxOgpoVH0R8"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/smart_albatross~flipkart-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-smart_albatross-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/smart_albatross~flipkart-scraper/runs": {
      "post": {
        "operationId": "runs-sync-smart_albatross-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/smart_albatross~flipkart-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-smart_albatross-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": {
          "searchQueries": {
            "title": "Search keywords",
            "type": "array",
            "description": "Keywords exactly as you would type them in Flipkart's search bar, e.g. \"mobiles\", \"men tshirt\" or \"pressure cooker\". Each keyword is scraped separately.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Flipkart URLs",
            "type": "array",
            "description": "Any Flipkart search, category, brand or filtered listing URL (filters and sort in the URL are kept), or product page URLs. Example: https://www.flipkart.com/mobiles/pr?sid=tyy,4io",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "brands": {
            "title": "Brands",
            "type": "array",
            "description": "Brand names, e.g. \"Samsung\" or \"Roadster\". Searches the brand name and applies Flipkart's brand filter, so you get that brand's products only.",
            "items": {
              "type": "string"
            }
          },
          "productIds": {
            "title": "Product IDs",
            "type": "array",
            "description": "Flipkart product IDs (the pid in a product URL, e.g. MOBHPP59BYSJ98M8). Useful for tracking a fixed list of products.",
            "items": {
              "type": "string"
            }
          },
          "maxItemsPerSource": {
            "title": "Max products per search / URL / brand",
            "minimum": 0,
            "type": "integer",
            "description": "How many products to collect for each keyword, listing URL or brand. Set 0 for ALL products: big listings are split automatically so you get the whole catalogue, not just the first ~1,000 results Flipkart shows.",
            "default": 100
          },
          "maxItems": {
            "title": "Max products in total",
            "minimum": 0,
            "type": "integer",
            "description": "Optional overall cap across all inputs. 0 = no overall cap.",
            "default": 0
          },
          "sort": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "popularity",
              "price_asc",
              "price_desc",
              "newest"
            ],
            "type": "string",
            "description": "Flipkart sort order. With price sorting the first N results are exactly the N cheapest (or dearest). Leave empty to use the URL's sort or Flipkart's relevance. Note: Flipkart's own popularity/newest order repeats and skips some products after the first 120."
          },
          "minPrice": {
            "title": "Min price (₹)",
            "minimum": 1,
            "type": "integer",
            "description": "Only products priced at or above this amount (in rupees)."
          },
          "maxPrice": {
            "title": "Max price (₹)",
            "minimum": 1,
            "type": "integer",
            "description": "Only products priced at or below this amount (in rupees)."
          },
          "minRating": {
            "title": "Min customer rating",
            "enum": [
              "4",
              "3"
            ],
            "type": "string",
            "description": "Only products rated at least this many stars (Flipkart's rating filter)."
          },
          "minDiscount": {
            "title": "Min discount",
            "enum": [
              "10",
              "20",
              "30",
              "40",
              "50",
              "60",
              "70"
            ],
            "type": "string",
            "description": "Only products discounted by at least this much (Flipkart's discount filter)."
          },
          "fAssuredOnly": {
            "title": "F-Assured only",
            "type": "boolean",
            "description": "Only products with Flipkart's F-Assured badge.",
            "default": false
          },
          "inStockOnly": {
            "title": "In-stock only",
            "type": "boolean",
            "description": "Exclude out-of-stock products.",
            "default": false
          },
          "includeDetails": {
            "title": "Add product page details",
            "type": "boolean",
            "description": "Open each product page and add description, highlights, full specifications, variants, seller name/rating/tenure, F-Assured, Flipkart-fulfilled, return policy, cash on delivery, no-cost EMI, exchange price, offer labels, aspect ratings (e.g. Camera 3.7) and delivery by pincode. Charged as an extra product-details event per product.",
            "default": false
          },
          "pincodes": {
            "title": "Delivery pincodes",
            "maxItems": 3,
            "type": "array",
            "description": "Up to 3 Indian pincodes (6 digits) to check delivery days, delivery date and serviceability for. Used only with product page details.",
            "items": {
              "type": "string"
            }
          },
          "includeVariants": {
            "title": "Add all variants",
            "type": "boolean",
            "description": "Also scrape every colour/size/storage variant listed on each product page as its own product (each is a normal product result).",
            "default": false
          },
          "includeReviews": {
            "title": "Attach reviews",
            "type": "boolean",
            "description": "Attach customer reviews to each product (charged per review). Reviews are collected from all of Flipkart's review lists (sort orders and topics like Camera or Battery), so you get far more than the first pages.",
            "default": false
          },
          "maxReviewsPerProduct": {
            "title": "Max reviews per product",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "How many reviews to attach to each product (1–1,000).",
            "default": 100
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify Proxy is used by default (datacenter, with automatic fallback to Indian residential IPs if a request is blocked). Supply your own proxies to override.",
            "default": {
              "useApifyProxy": true
            }
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum parallel requests. Higher is faster; lower is gentler.",
            "default": 20
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}