{
  "openapi": "3.0.1",
  "info": {
    "title": "Wildberries Reviews Scraper: WB Reviews | Парсер Wildberries",
    "description": "Scrape Wildberries reviews logged out by product link, article number, search, category, seller or brand: stars, text, pros, cons, photos, video, seller answer, size fit, child reviews. Buyer questions on request. A free row per product with its review counts. Misses free.",
    "version": "0.1",
    "x-build-id": "dJcf2jL6Q34oWyf28"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/hyperbach~wildberries-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-hyperbach-wildberries-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~wildberries-scraper/runs": {
      "post": {
        "operationId": "runs-sync-hyperbach-wildberries-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~wildberries-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-hyperbach-wildberries-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": {
          "startUrls": {
            "title": "Wildberries links",
            "maxItems": 5000,
            "type": "array",
            "description": "One link a line: a product (`https://www.wildberries.ru/catalog/893522183/detail.aspx`, its `/feedbacks` page, any Wildberries country site), a search (`/catalog/0/search.aspx?search=...`), a category (`/catalog/elektronika/...`), a seller (`/seller/250000173`) or a brand (`/brands/xiaomi`). An article number and `imtId:<family id>` work here too. A product's colours share one review list, read once a run.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "productIds": {
            "title": "Article numbers (nmId)",
            "maxItems": 5000,
            "type": "array",
            "description": "Wildberries article numbers (артикул, `nmId`), one a line or several on a line separated by spaces or commas, e.g. `893522183`.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "queries": {
            "title": "Search words",
            "maxItems": 500,
            "type": "array",
            "description": "Search words, one search a line (Russian or English, e.g. `наушники беспроводные`). The Actor reads the first `maxProductsPerSearch` products of the search and their reviews.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxReviewsPerProduct": {
            "title": "Max reviews per product",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "The most reviews a product family gives, after the filters and in the order of `reviewSort`. 0 = every review Wildberries lists (about 1,000 at most a family).",
            "default": 0
          },
          "reviewSort": {
            "title": "Review order",
            "enum": [
              "newest",
              "oldest",
              "rating_high",
              "rating_low",
              "source"
            ],
            "type": "string",
            "description": "The order the reviews come in, applied to the whole list before the cap: newest first, oldest first, highest or lowest stars first, or the site's own order (the `rank` field).",
            "default": "newest"
          },
          "minRating": {
            "title": "Min stars",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Keep only reviews with at least this many stars (1-5). Empty: no lower bound."
          },
          "maxRating": {
            "title": "Max stars",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Keep only reviews with at most this many stars (1-5). Empty: no upper bound."
          },
          "reviewsWithTextOnly": {
            "title": "Only reviews with text",
            "type": "boolean",
            "description": "Skip the reviews that have stars only (no text, no pros, no cons).",
            "default": false
          },
          "reviewsWithPhotoOnly": {
            "title": "Only reviews with photos",
            "type": "boolean",
            "description": "Keep only the reviews with buyer photos.",
            "default": false
          },
          "dateFrom": {
            "title": "Reviews from (date)",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2})?$",
            "type": "string",
            "description": "Keep reviews written on or after this day, as YYYY-MM-DD (UTC)."
          },
          "dateTo": {
            "title": "Reviews to (date)",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2})?$",
            "type": "string",
            "description": "Keep reviews written on or before this day, as YYYY-MM-DD (UTC)."
          },
          "exactColorOnly": {
            "title": "Only the exact colour's reviews",
            "type": "boolean",
            "description": "Wildberries lists the reviews of every colour of a product together. On: keep only the reviews of the article number you gave (or the one a search found).",
            "default": false
          },
          "maxProductsPerSearch": {
            "title": "Max products per search or list",
            "minimum": 1,
            "maximum": 6000,
            "type": "integer",
            "description": "For a search, category, seller or brand: how many of its first products are read (100 a page; Wildberries serves 6,000 a list at most).",
            "default": 10
          },
          "sort": {
            "title": "List order",
            "enum": [
              "popular",
              "rate",
              "priceup",
              "pricedown",
              "newly",
              "benefit"
            ],
            "type": "string",
            "description": "The order of a search, category, seller or brand list, as Wildberries sorts it. A link's own `sort` wins.",
            "default": "popular"
          },
          "scrapeProductDetails": {
            "title": "Product details and price",
            "type": "boolean",
            "description": "Add the description, the specifications, the sale price and the stock (Moscow's delivery region) to each free product row. A product a search found carries its price without this.",
            "default": false
          },
          "maxQuestionsPerProduct": {
            "title": "Max buyer questions per product",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Also deliver each product's buyer questions with the seller's answers, up to this many a product (charged as `question`). 0 = no questions.",
            "default": 0
          },
          "hidePersonalData": {
            "title": "Hide reviewers' names",
            "type": "boolean",
            "description": "Leave out the reviewer's and asker's name, and replace a first name after a greeting in the seller's answer with [name]. The country stays.",
            "default": false
          },
          "maxItems": {
            "title": "Max charged rows (whole run)",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "The most charged rows (reviews and questions) of the whole run; 0 = no cap beyond your charge limit. Product and input rows are free and not counted.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}