{
  "openapi": "3.0.1",
  "info": {
    "title": "SHEIN Products Scraper: Search, Prices, Sizes, Stock",
    "description": "SHEIN UK, US, German and French store products by search words, category or product links, goods ids or SKUs. Price in the store's currency and USD, discount, stock, rating, fit, colours, images, badges; every size with its stock on request. Past page 1. No login. Misses free.",
    "version": "0.1",
    "x-build-id": "d0HpjQJ4Lut8FsIBv"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/hyperbach~shein-product-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-hyperbach-shein-product-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/hyperbach~shein-product-scraper/runs": {
      "post": {
        "operationId": "runs-sync-hyperbach-shein-product-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/hyperbach~shein-product-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-hyperbach-shein-product-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",
            "maxItems": 1000,
            "type": "array",
            "description": "What you would type in SHEIN's search box, one search a line (e.g. midi dress). Each search is read on the store chosen below. A goods id or a SKU here is read as that product.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "SHEIN links",
            "maxItems": 1000,
            "type": "array",
            "description": "SHEIN search, category or product links of the US, UK, German or French store (us.shein.com, www.shein.co.uk, de.shein.com, fr.shein.com), e.g. https://www.shein.co.uk/Women-Dresses-c-12472.html. Each link is read on its own store. A link's sort, min_price, max_price and currency are kept; other parameters are not sent and are named on the input's row. Selection pages (-sc-) are not read: their row says so.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "categoryIds": {
            "title": "Category ids",
            "maxItems": 1000,
            "type": "array",
            "description": "SHEIN category ids, the number after \"-c-\" in a category link (12472 in Women-Dresses-c-12472.html), read on the store chosen below.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "productIds": {
            "title": "Product ids or SKUs",
            "maxItems": 1000,
            "type": "array",
            "description": "SHEIN goods ids (the number after \"-p-\" in a product link) or SKUs (sz2603…), read on the store chosen below. Each gives the product's own row at the store's price; a product the store does not sell gives a free not_found row.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "store": {
            "title": "Store",
            "enum": [
              "us",
              "uk",
              "de",
              "fr"
            ],
            "type": "string",
            "description": "The SHEIN store for search words, category ids and product ids (a link is read on its own store). Each store has its own catalogue, prices and currency.",
            "default": "us"
          },
          "sort": {
            "title": "Sort",
            "enum": [
              "recommended",
              "most_popular",
              "new_arrivals",
              "top_rated",
              "price_low_high",
              "price_high_low"
            ],
            "type": "string",
            "description": "SHEIN's own order of the first page (20 products). Past the first page the products come in price order, low to high (SHEIN serves no page 2 to a visitor like us); each row's sort_used says which.",
            "default": "recommended"
          },
          "minPrice": {
            "title": "Min price",
            "minimum": 0,
            "maximum": 100000,
            "type": "number",
            "description": "Only products whose sale price is at least this, in the rows' currency (the store's own, or `currency` when you set it). Sent to SHEIN and checked on each row."
          },
          "maxPrice": {
            "title": "Max price",
            "minimum": 0,
            "maximum": 100000,
            "type": "number",
            "description": "Only products whose sale price is at most this, in the rows' currency (the store's own, or `currency` when you set it). Sent to SHEIN and checked on each row (SHEIN's own filter lets other prices through)."
          },
          "currency": {
            "title": "Currency",
            "type": "string",
            "description": "A currency for the prices instead of the store's own, as a three-letter code (USD, GBP, EUR …). Every row also carries the price in USD.",
            "default": ""
          },
          "titleIncludes": {
            "title": "Title must contain",
            "type": "array",
            "description": "Keep only products whose title contains one of these words (case does not matter).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "titleExcludes": {
            "title": "Title must not contain",
            "type": "array",
            "description": "Leave out products whose title contains one of these words.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "onlyQuickShip": {
            "title": "Quick Ship only",
            "type": "boolean",
            "description": "Keep only products SHEIN marks Quick Ship.",
            "default": false
          },
          "onlyOnSale": {
            "title": "Discounted only",
            "type": "boolean",
            "description": "Keep only products sold under their list price (a discount, a flash sale or clearance).",
            "default": false
          },
          "minRating": {
            "title": "Minimum rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Keep only products rated at least this (0–5). A product with no review has no rating and is left out when this is set."
          },
          "minDiscount": {
            "title": "Minimum discount (%)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Keep only products at least this many percent under their list price."
          },
          "includeDetails": {
            "title": "Product details (sizes and stock)",
            "type": "boolean",
            "description": "Also read each product's detail record: every size with its own stock, the attributes and material, the size guide, the full gallery and the breadcrumbs. Charged per product whose record was read; every row says whether it was (detail_status). Served on the UK, German and French stores; the US store refuses most of these reads (the row says refused).",
            "default": false
          },
          "maxItemsPerTarget": {
            "title": "Max products per input",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "The most products each search, link, category or id gives. 0 = to the end of the list (a category can hold thousands).",
            "default": 100
          },
          "maxItems": {
            "title": "Max products (whole run)",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "The most charged product rows of the whole run; 0 = no cap beyond your charge limit.",
            "default": 0
          },
          "feedback": {
            "title": "Feedback to the maintainers",
            "maxLength": 2000,
            "type": "string",
            "description": "A note to the people who maintain this Actor: what you needed and did not get. For example a missing field, a wrong or empty result, or the Actor you switch from or to, and why. The run does not read it: the rows and the charges stay the same. A person reads every note."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}