{
  "openapi": "3.0.1",
  "info": {
    "title": "Shafa Product Search Scraper",
    "description": "Scrape product listings from Shafa.ua search results with complete metadata. This scraper collects prices, images, seller info, ratings, sizes, and 25+ fields per product — ideal for price monitoring, market research, and fashion e-commerce analytics.",
    "version": "0.0",
    "x-build-id": "5t8yXjx0vOScnpGUl"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/stealth_mode~shafa-product-search-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-stealth_mode-shafa-product-search-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/stealth_mode~shafa-product-search-scraper/runs": {
      "post": {
        "operationId": "runs-sync-stealth_mode-shafa-product-search-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/stealth_mode~shafa-product-search-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-stealth_mode-shafa-product-search-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": {
          "urls": {
            "title": "URLs of the product search list urls to scrape",
            "type": "array",
            "description": "Add the URLs of the product search list urls you want to scrape. You can paste URLs one by one, or use the Bulk edit section to add a prepared list.",
            "items": {
              "type": "string"
            }
          },
          "ignore_url_failures": {
            "title": "Continue running even if some URLs fail to be scraped",
            "type": "boolean",
            "description": "If true, the scraper will continue running even if some URLs fail to be scraped."
          },
          "keyword": {
            "title": "Keyword to search",
            "type": "string",
            "description": "Enter the keyword to search for items"
          },
          "category": {
            "title": "Category to search",
            "enum": [
              "women",
              "kids",
              "men",
              "home",
              "cosmetics",
              "sport",
              "forkids",
              "aksesuary",
              "electronics",
              "auto",
              "pet",
              "garden",
              "building",
              "dynamic-collections/craft-goods",
              "dynamic-collections/made-in-ukraine",
              "dynamic-collections/dlya-viyskovih",
              "new-arrivals",
              "brands"
            ],
            "type": "string",
            "description": "Enter the category to search for items"
          },
          "sort_by": {
            "title": "Sort Items by options",
            "enum": [
              "1",
              "2",
              "3",
              "4"
            ],
            "type": "string",
            "description": "Sort items by options"
          },
          "price_min": {
            "title": "Minimum price",
            "type": "number",
            "description": "Enter the minimum price to search for items"
          },
          "price_max": {
            "title": "Maximum price",
            "type": "number",
            "description": "Enter the maximum price to search for items"
          },
          "brand": {
            "title": "Brand to search",
            "enum": [
              "",
              "8360",
              "55597",
              "3",
              "50322",
              "45928",
              "5",
              "50123",
              "50332",
              "7",
              "186",
              "1565",
              "48073",
              "45055",
              "1420",
              "7197",
              "5890",
              "51843",
              "46142",
              "1390",
              "3428",
              "6060",
              "3966",
              "190",
              "2",
              "52620",
              "2455",
              "6",
              "50331",
              "5639",
              "303",
              "338",
              "3351",
              "58011",
              "9602",
              "50190",
              "47761",
              "44529",
              "6713",
              "11",
              "3643",
              "7489",
              "46326",
              "2970",
              "2289",
              "44875",
              "50582",
              "2641",
              "550",
              "1824",
              "50200",
              "50213",
              "46341",
              "22929",
              "259",
              "6772",
              "58618",
              "194",
              "45774",
              "22",
              "45014",
              "297",
              "1956",
              "1915",
              "197",
              "199",
              "50268",
              "44683",
              "4637",
              "44876",
              "2796",
              "6120",
              "1041",
              "13970",
              "4982",
              "30",
              "439",
              "5962",
              "13816",
              "48041",
              "1474",
              "46354",
              "746",
              "47055",
              "26",
              "2318",
              "2741",
              "371",
              "367",
              "27",
              "45183",
              "5950",
              "11801",
              "984",
              "21",
              "208",
              "53308",
              "617",
              "6814",
              "57220",
              "2373",
              "44427",
              "51170",
              "31",
              "674",
              "211",
              "3242",
              "210",
              "47504",
              "38",
              "430",
              "50240",
              "44414",
              "33",
              "557",
              "662",
              "3044",
              "59646",
              "493",
              "6957",
              "44681",
              "966",
              "58215",
              "51162",
              "431",
              "46",
              "41",
              "6993",
              "952",
              "1354",
              "49",
              "4690",
              "50479",
              "2056",
              "49752",
              "47253",
              "3625",
              "6914",
              "1850",
              "3424",
              "4148",
              "52",
              "2696",
              "332",
              "14842",
              "52939",
              "3464",
              "57",
              "59",
              "260",
              "2850",
              "50245",
              "45883",
              "536",
              "1358",
              "684",
              "7689",
              "56",
              "693",
              "45283",
              "828",
              "45577",
              "45818",
              "55",
              "47123",
              "696",
              "44701",
              "45733",
              "5956",
              "5772",
              "794",
              "50259",
              "45998",
              "68",
              "56950",
              "45421",
              "51172",
              "64",
              "50128",
              "324",
              "44372",
              "8688",
              "50147",
              "46935",
              "45417",
              "50318",
              "47546",
              "54884",
              "3641",
              "44944",
              "45354",
              "50737",
              "75",
              "45924",
              "6013",
              "2583",
              "46063",
              "44855",
              "1854",
              "54004",
              "585",
              "10108",
              "49335",
              "3193",
              "46418",
              "46325",
              "7514",
              "626",
              "54378",
              "51173",
              "2813",
              "413",
              "342",
              "5775",
              "1477",
              "45141",
              "44943",
              "1635",
              "46274",
              "50839",
              "55848",
              "2937",
              "6652",
              "47210",
              "51161",
              "84",
              "990",
              "49037",
              "1149",
              "46558",
              "83",
              "49276",
              "10990",
              "44403",
              "44608",
              "50129",
              "50371",
              "82",
              "51174",
              "53080",
              "50557",
              "85",
              "213",
              "1111",
              "45398",
              "6887",
              "45552",
              "89",
              "46964",
              "19820",
              "2075",
              "44429",
              "3554",
              "18142",
              "49795",
              "50320",
              "5317",
              "51166",
              "23742",
              "44977",
              "94",
              "45491",
              "5727",
              "4420",
              "1482",
              "734",
              "20825",
              "635",
              "595",
              "49723",
              "2338",
              "9789",
              "52158",
              "4200",
              "97",
              "637",
              "96",
              "3583",
              "48012",
              "54421",
              "3186",
              "50568",
              "93",
              "1102",
              "4252",
              "218",
              "101",
              "462",
              "1224",
              "21810",
              "51578",
              "45020",
              "55629",
              "829",
              "44517",
              "44357",
              "47394",
              "51010",
              "2663",
              "106",
              "102",
              "3275",
              "103",
              "8522",
              "45892",
              "56443",
              "44976",
              "111",
              "4004",
              "112",
              "44390",
              "45047",
              "46660",
              "114",
              "55620",
              "50357",
              "116",
              "44520",
              "110",
              "1963",
              "790",
              "1221",
              "3495",
              "125",
              "2204",
              "47152",
              "702",
              "44904",
              "222",
              "30710",
              "223",
              "2627",
              "1152",
              "6168",
              "224",
              "1203",
              "124",
              "2869",
              "45920",
              "143",
              "416",
              "47951",
              "12215",
              "44739",
              "15620",
              "121",
              "1095",
              "122",
              "50565",
              "5742",
              "132",
              "53409",
              "50241",
              "1229",
              "47965",
              "50887",
              "11824",
              "137",
              "1461",
              "565",
              "6166",
              "57176",
              "134",
              "1123",
              "490",
              "135",
              "50496",
              "52090",
              "50249",
              "3959",
              "44682",
              "50132",
              "45579",
              "49831",
              "2105",
              "2761",
              "147",
              "44449",
              "57562",
              "46275",
              "6763",
              "45599",
              "149",
              "230",
              "270",
              "2060",
              "12635",
              "19852",
              "50187",
              "2002",
              "44712",
              "51067",
              "458",
              "50450",
              "51936",
              "50336",
              "8551",
              "44431",
              "144",
              "55531",
              "151",
              "46439",
              "44709",
              "44581",
              "49921",
              "51180",
              "161",
              "154",
              "496",
              "996",
              "49631",
              "5709",
              "3231",
              "155",
              "50373",
              "7107",
              "3926",
              "50226",
              "268",
              "401",
              "44584",
              "159",
              "45376",
              "44346",
              "2699",
              "156",
              "50327",
              "50372",
              "54301",
              "1890",
              "163",
              "962",
              "678",
              "6930",
              "868",
              "166",
              "7268",
              "386",
              "165",
              "54923",
              "57358",
              "861",
              "169",
              "1495",
              "167",
              "326",
              "49603",
              "174",
              "168",
              "171",
              "45024",
              "53035",
              "49499",
              "53079",
              "45087",
              "4888",
              "1509",
              "177",
              "175",
              "46790",
              "46269",
              "4429",
              "46057",
              "48036",
              "176",
              "50133",
              "45887",
              "50323",
              "925",
              "180",
              "59280",
              "45420",
              "7660",
              "182",
              "315",
              "1538",
              "50567",
              "45644",
              "148",
              "612",
              "789",
              "52630",
              "56871",
              "51183",
              "4914",
              "47842",
              "358",
              "395",
              "48164",
              "737",
              "48381"
            ],
            "type": "string",
            "description": "Enter the brand to search for items"
          },
          "condition": {
            "title": "Condition",
            "enum": [
              "",
              "1",
              "2",
              "3",
              "4",
              "5"
            ],
            "type": "string",
            "description": "Enter the condition of the item"
          },
          "gender": {
            "title": "Gender",
            "enum": [
              "",
              "2424",
              "2423",
              "2422"
            ],
            "type": "string",
            "description": "Enter the gender of the item"
          },
          "color": {
            "title": "Color",
            "enum": [
              "",
              "1",
              "2",
              "3",
              "4",
              "5",
              "6",
              "7",
              "8",
              "9",
              "10",
              "11",
              "12",
              "13",
              "14",
              "15",
              "16",
              "17",
              "18",
              "19",
              "20",
              "21",
              "22",
              "23",
              "24",
              "25",
              "26",
              "27",
              "28",
              "29",
              "30",
              "31",
              "32"
            ],
            "type": "string",
            "description": "Enter the color of the item"
          },
          "page": {
            "title": "Page start",
            "type": "integer",
            "description": "Specify the page number to start scraping from"
          },
          "max_items_per_url": {
            "title": "Max items per URL",
            "type": "integer",
            "description": "The maximum number of items to scrape per URL."
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}