{
  "openapi": "3.0.1",
  "info": {
    "title": "Vinted Scraper",
    "description": "Scrape Vinted second-hand fashion marketplace listings across 19 countries. Search items by keyword, brand, catalog, price, color, condition, or scrape user closets, item URLs, brand pages, and seller feedbacks.",
    "version": "1.0",
    "x-build-id": "YEAiXNVbZQHSroCJs"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~vinted-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-vinted-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/crawlerbros~vinted-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-vinted-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/crawlerbros~vinted-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-vinted-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",
        "required": [
          "mode",
          "country"
        ],
        "properties": {
          "mode": {
            "title": "Scrape mode",
            "enum": [
              "search",
              "byUrl",
              "byUser",
              "byBrand",
              "byCatalog",
              "byBrandSearch",
              "byUserFeedbacks"
            ],
            "type": "string",
            "description": "search: keyword/filters → items. byUrl: explicit Vinted URLs (item, member, brand, catalog). byUser: user closet by user_id. byBrand: brand catalog by brand id or slug. byCatalog: items in a Vinted catalog (category) id. byBrandSearch: search the brand registry. byUserFeedbacks: seller reviews/feedbacks.",
            "default": "search"
          },
          "country": {
            "title": "Country / domain",
            "enum": [
              "com",
              "co.uk",
              "fr",
              "de",
              "it",
              "es",
              "pl",
              "cz",
              "nl",
              "lt",
              "lu",
              "at",
              "be",
              "pt",
              "ro",
              "sk",
              "fi",
              "se",
              "gr"
            ],
            "type": "string",
            "description": "Vinted country domain to query.",
            "default": "com"
          },
          "searchText": {
            "title": "Search query (mode=search)",
            "type": "string",
            "description": "Free-text keyword query.",
            "default": "adidas"
          },
          "order": {
            "title": "Sort order (mode=search / byBrand / byCatalog)",
            "enum": [
              "relevance",
              "newest_first",
              "price_high_to_low",
              "price_low_to_high"
            ],
            "type": "string",
            "description": "Result ordering.",
            "default": "relevance"
          },
          "urls": {
            "title": "URLs (mode=byUrl)",
            "type": "array",
            "description": "Direct Vinted URLs (item, member/user, brand, catalog).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "userId": {
            "title": "User ID (mode=byUser / byUserFeedbacks)",
            "type": "string",
            "description": "Vinted numeric user_id (e.g. \"3148714106\")."
          },
          "brandId": {
            "title": "Brand ID (mode=byBrand)",
            "type": "string",
            "description": "Vinted numeric brand_id. Use \"Search brand registry\" mode to discover IDs (e.g. Nike=53, adidas=14)."
          },
          "catalogId": {
            "title": "Catalog / category ID (mode=byCatalog)",
            "type": "string",
            "description": "Vinted catalog (category) ID. Common: 1904 (Women clothes), 5 (Men clothes), 1193 (Kids), 1242 (Bags), 1231 (Beauty)."
          },
          "brandKeyword": {
            "title": "Brand keyword (mode=byBrandSearch)",
            "type": "string",
            "description": "Keyword to search the Vinted brand registry."
          },
          "brandIds": {
            "title": "Brand IDs filter (mode=search)",
            "type": "array",
            "description": "Constrain item search to one or more brand IDs (e.g. [53] for Nike).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "catalogIds": {
            "title": "Catalog IDs filter (mode=search)",
            "type": "array",
            "description": "Constrain item search to one or more catalog IDs.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "sizeIds": {
            "title": "Size IDs filter (mode=search)",
            "type": "array",
            "description": "Constrain item search to one or more size IDs.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "colorIds": {
            "title": "Color IDs filter (mode=search)",
            "type": "array",
            "description": "Constrain item search to one or more color IDs (1=Black, 3=Grey, 5=White, 7=Beige, 9=Pink, 11=Purple, 12=Red, 13=Yellow, 14=Blue, 16=Green, 17=Orange, 19=Brown, 30=Multicolour).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "materialIds": {
            "title": "Material IDs filter (mode=search)",
            "type": "array",
            "description": "Constrain item search to one or more material IDs.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "statusIds": {
            "title": "Condition / status IDs filter (mode=search)",
            "type": "array",
            "description": "Filter by condition: 6=New with tags, 1=New without tags, 2=Very good, 3=Good, 4=Satisfactory.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "priceFrom": {
            "title": "Min price (mode=search)",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Minimum price (in the country's local currency)."
          },
          "priceTo": {
            "title": "Max price (mode=search)",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Maximum price (in the country's local currency)."
          },
          "minRating": {
            "title": "Min seller feedback rating (filter)",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Drop items whose seller's feedback rating is below this value (scale 1.0-5.0). Applied client-side after fetch; items with no rating attached pass through unchanged."
          },
          "containsKeyword": {
            "title": "Title / description contains keyword (filter)",
            "type": "string",
            "description": "Drop items whose title or description does not contain this keyword (case-insensitive substring)."
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "default": 50
          },
          "perPage": {
            "title": "Items per page",
            "minimum": 1,
            "maximum": 96,
            "type": "integer",
            "description": "Vinted API page size (1-96).",
            "default": 96
          },
          "useProxy": {
            "title": "Use Apify proxy",
            "type": "boolean",
            "description": "Route HTTP requests through Apify proxy. Vinted is generally accessible without proxy from datacenter IPs; enable if 403/Cloudflare challenges appear.",
            "default": false
          },
          "autoEscalateOnBlock": {
            "title": "Auto-escalate to proxy on block",
            "type": "boolean",
            "description": "If a 403/Cloudflare challenge appears on a direct request, automatically retry through Apify proxy (datacenter then residential).",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify proxy configuration. Used only when useProxy is enabled.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": []
            }
          },
          "cookieHeader": {
            "title": "Cookie header (optional)",
            "type": "string",
            "description": "Optional logged-in cookie header (e.g. _vinted_xx_session=...; access_token_web=...). Not required for public endpoints; pass only if you see persistent 401/403."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}