{
  "openapi": "3.0.1",
  "info": {
    "title": "Snapdeal Scraper: Products, Prices, Sellers",
    "description": "Scrape Snapdeal searches, categories, links or product ids: price, MRP, discount, rating, seller and seller rating, stock per size and colour, delivery days, key features and specs. Optional details with every seller offer and reviews. No login; JSON, CSV or Excel; pay per product.",
    "version": "0.1",
    "x-build-id": "4dmorYGW5mAjWchhg"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/automation_craft~snapdeal-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-automation_craft-snapdeal-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/automation_craft~snapdeal-scraper/runs": {
      "post": {
        "operationId": "runs-sync-automation_craft-snapdeal-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/automation_craft~snapdeal-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-automation_craft-snapdeal-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 words",
            "type": "array",
            "description": "Words to search on Snapdeal, one search per entry (as in snapdeal.com/search?keyword=kurti). Snapdeal serves 2,050 products of one search in one order; more are read in price bands. A word Snapdeal does not carry is answered with products of a category it guesses: see keywordMatch. A Snapdeal link given here is read as a link.",
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Whole Snapdeal categories to read: pick from the list, or type any Snapdeal category path (the part after snapdeal.com/products/ in a category link, as in men-apparel-tshirts), or paste a category link.",
            "items": {
              "type": "string",
              "enumSuggestedValues": [
                "men-apparel",
                "men-apparel-tshirts",
                "mens-footwear",
                "watches-men",
                "perfumes-beauty-mens-grooming",
                "women-apparel",
                "women-apparel-stiched-kurtis",
                "women-apparel-sarees",
                "womens-footwear",
                "handbags-clutches",
                "watches-women",
                "jewellery-fashion",
                "bags",
                "eyewear",
                "boys-clothing",
                "girls-clothing",
                "baby-clothing",
                "electronic-headphones-earphones",
                "mobiles-cases-covers",
                "computers-computer-accessories",
                "appliances-kitchen",
                "home-kitchen-kitchen-storage",
                "home-kitchen-cookware-bakeware",
                "home-kitchen-bed-linen",
                "home-kitchen-home-decor",
                "perfumes-beauty-skin-care",
                "perfumes-beauty-hair-care",
                "make-up-lips",
                "health-nutrition",
                "household-essentials-house-kitchen-cleaners",
                "sports-hobbies-fitness",
                "automotive-car-interior",
                "books-fiction-literature",
                "stationery-colors-paints"
              ],
              "enumTitles": [
                "Men's clothing",
                "Men's T-shirts",
                "Men's footwear",
                "Men's watches",
                "Men's grooming",
                "Women's clothing",
                "Kurtis",
                "Sarees",
                "Women's footwear",
                "Handbags and clutches",
                "Women's watches",
                "Fashion jewellery",
                "Bags and luggage",
                "Eyewear",
                "Boys' clothing",
                "Girls' clothing",
                "Baby clothing",
                "Headphones and earphones",
                "Mobile cases and covers",
                "Computer accessories",
                "Kitchen appliances",
                "Kitchen storage",
                "Cookware",
                "Bed linen",
                "Home decor",
                "Skin care",
                "Hair care",
                "Lip makeup",
                "Proteins and sports nutrition",
                "Home cleaners",
                "Fitness",
                "Car accessories",
                "Fiction books",
                "Colours and paints"
              ]
            }
          },
          "startUrls": {
            "title": "Snapdeal links",
            "type": "array",
            "description": "Links copied from snapdeal.com or m.snapdeal.com: a search (https://www.snapdeal.com/search?keyword=saree&sort=plth), a category with Snapdeal's own filters and order (https://www.snapdeal.com/products/men-apparel-tshirts?sort=plrty&q=Neck_s%3ARound%7C) or a product (https://www.snapdeal.com/product/some-name/620841080832). Tracking parts such as utm_source are ignored; a part whose effect the Actor cannot reproduce refuses that link, free. Through the API, give each link as a text (an object {\"url\": \"...\"} is read too).",
            "items": {
              "type": "string"
            }
          },
          "productIds": {
            "title": "Product ids",
            "type": "array",
            "description": "Snapdeal product ids to read as given (the number at the end of a product link, as in 620841080832). An id Snapdeal does not know is a free status row.",
            "items": {
              "type": "string"
            }
          },
          "sort": {
            "title": "Sort",
            "enum": [
              "relevance",
              "popularity",
              "price_low_to_high",
              "price_high_to_low",
              "discount",
              "fresh_arrivals"
            ],
            "type": "string",
            "description": "Snapdeal's own six orders. Left out: the order in the link, else relevance. Past Snapdeal's 2,050 products of one search, the walk goes on by price."
          },
          "minPrice": {
            "title": "Min price (rupees)",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Only products at or above this price in rupees (Snapdeal's price filter, checked again on every row)."
          },
          "maxPrice": {
            "title": "Max price (rupees)",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Only products at or below this price in rupees (Snapdeal's price filter, checked again on every row)."
          },
          "minRating": {
            "title": "Min customer rating",
            "enum": [
              "4",
              "3",
              "2",
              "1"
            ],
            "type": "string",
            "description": "Only products rated this many stars or more (Snapdeal's rating filter, checked again on every row)."
          },
          "discounts": {
            "title": "Discount bands",
            "type": "array",
            "description": "Snapdeal's discount bands in percent (several mean any of them).",
            "items": {
              "type": "string",
              "enumSuggestedValues": [
                "0 - 10",
                "10 - 20",
                "20 - 30",
                "30 - 40",
                "40 - 50",
                "50 - 60",
                "60 - 70",
                "70 - 80",
                "80 - 90",
                "90 - 100"
              ]
            }
          },
          "brands": {
            "title": "Brands",
            "type": "array",
            "description": "Brand names as Snapdeal lists them in its brand filter (several mean any of them; case does not matter). Checked again on every row.",
            "items": {
              "type": "string"
            }
          },
          "colours": {
            "title": "Colours",
            "type": "array",
            "description": "Colours as Snapdeal's colour filter names them (Black, Navy ...; several mean any of them).",
            "items": {
              "type": "string"
            }
          },
          "sizes": {
            "title": "Sizes",
            "type": "array",
            "description": "Sizes as Snapdeal's size filter names them (M, XL, 8, 9 ...; several mean any of them).",
            "items": {
              "type": "string"
            }
          },
          "filters": {
            "title": "Other filters",
            "type": "array",
            "description": "Any other filter Snapdeal lists for a search, written \"<filter name>: <value>\" (Fabric: Cotton, Neck: Round). The same name twice means either value. includeFilterOptions lists every filter with its values.",
            "items": {
              "type": "string"
            }
          },
          "keywordMatch": {
            "title": "Keyword check",
            "enum": [
              "search",
              "product",
              "off"
            ],
            "type": "string",
            "description": "Snapdeal answers a word it does not carry (a brand it does not sell, a typo) with products of a category it guesses. search: a search whose first page holds no product carrying the words delivers nothing, free; every product is marked matchesSearch. product: also leaves out, free, each product that does not carry the words. off: delivers and bills Snapdeal's page as shown."
          },
          "pincode": {
            "title": "Delivery pincode",
            "type": "string",
            "description": "An Indian postal code (6 digits): with Product details, each product says whether Snapdeal delivers there and offers cash on delivery."
          },
          "maxProductsPerSearch": {
            "title": "Max products per search",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "The most products each search, category or link delivers (default 100, up to 20,000)."
          },
          "maxProducts": {
            "title": "Max products in all",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "The most products the whole run delivers (left out: no limit beyond the per search one)."
          },
          "includeDetails": {
            "title": "Product details",
            "type": "boolean",
            "description": "Reads each delivered product's record (a Product detail each): description, every image, category trail, return and cancellation policy, delivery range, every seller's offer, the ratings and reviews histograms and, with a pincode, delivery and cash on delivery there. May be left off a product when the run's unpaid work allowance or charge limit is spent (its detailsStatus says so)."
          },
          "includeReviews": {
            "title": "Reviews",
            "type": "boolean",
            "description": "Delivers written reviews of each product (a Review each): stars, headline, text, date, helpful votes, certified buyer, reviewer name, photos. The colours of one product share their reviews: they come once, with the first colour delivered."
          },
          "maxReviewsPerProduct": {
            "title": "Max reviews per product",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "The most reviews per product (default 20, up to 1,000)."
          },
          "reviewSort": {
            "title": "Review order",
            "enum": [
              "most_helpful",
              "newest",
              "highest_rating",
              "lowest_rating"
            ],
            "type": "string",
            "description": "Snapdeal's review orders: most helpful (default), newest, highest rating, lowest rating."
          },
          "reviewStars": {
            "title": "Review stars",
            "type": "array",
            "description": "Only reviews with these star ratings (several mean any of them, in the review order chosen).",
            "items": {
              "type": "string",
              "enumSuggestedValues": [
                "1",
                "2",
                "3",
                "4",
                "5"
              ]
            }
          },
          "includeFilterOptions": {
            "title": "List filter options",
            "type": "boolean",
            "description": "Adds one free row per search with every filter Snapdeal lists for it, each value with its product count."
          },
          "includePersonalData": {
            "title": "Include personal data",
            "type": "boolean",
            "description": "All public data is always delivered and this setting has no effect (kept so saved inputs keep working)."
          },
          "maxConcurrency": {
            "title": "Parallel reads",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "How many product details and review reads run at once (default 3)."
          },
          "requestTimeoutSecs": {
            "title": "Request timeout (seconds)",
            "minimum": 10,
            "maximum": 90,
            "type": "integer",
            "description": "The longest wait for one answer from Snapdeal (default 30)."
          },
          "maxRequestRetries": {
            "title": "Retries per request",
            "minimum": 1,
            "maximum": 6,
            "type": "integer",
            "description": "Tries per request before a call counts as failed (default 3)."
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Left out: the run's own address, then Apify datacenter addresses when Snapdeal refuses it (no residential proxy needed). Apify residential uses India unless you pick a country; your own proxy links are used in turn."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}