{
  "openapi": "3.0.1",
  "info": {
    "title": "Vinted Scraper",
    "description": "Scrape Vinted listings from 24 countries by keyword, filters or any Vinted URL: title, price with fees, brand, size, condition, photos, favourites and seller. Add description, category, upload time and seller rating. Monitor new items, export JSON/CSV, use the API or schedule runs.",
    "version": "0.1",
    "x-build-id": "xNa5UFUZWbQgKiuIu"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lergassy~vinted-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lergassy-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/lergassy~vinted-scraper/runs": {
      "post": {
        "operationId": "runs-sync-lergassy-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/lergassy~vinted-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-lergassy-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",
        "properties": {
          "searchQueries": {
            "title": "🔍 Search queries",
            "type": "array",
            "description": "Give this or `Start URLs`. What you would type in the Vinted search box, one per line: e.g. \"nike air max\", \"levis 501\", \"carhartt jacket\". Each query is searched on the Vinted country chosen below and returns up to `Max items per search` listings.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "🔗 Start URLs",
            "type": "array",
            "description": "Give this or `Search queries`. Any Vinted link from any country: a search or catalogue page with filters (https://www.vinted.fr/catalog?search_text=…&brand_ids[]=53), a category (/catalog/1904-women), a brand (/brand/53-nike), a seller profile (/member/123456-name — all their listings) or a single item (/items/123456-title — always with details). The domain of the link decides the country.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "country": {
            "title": "📍 Vinted country",
            "enum": [
              "fr",
              "de",
              "it",
              "es",
              "uk",
              "us",
              "pl",
              "nl",
              "be",
              "at",
              "pt",
              "cz",
              "lt",
              "sk",
              "se",
              "dk",
              "fi",
              "ro",
              "hu",
              "ie"
            ],
            "type": "string",
            "description": "Which Vinted site the search queries run on. Prices come in that site's currency (EUR, GBP, USD, PLN, CZK…). Start URLs keep their own domain.",
            "default": "fr"
          },
          "maxItems": {
            "title": "💯 Max items per search",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum listings per search query or start URL. Vinted shows at most 960 results per search; above that the Actor reads the same search in other sort orders to reach more distinct items.",
            "default": 50
          },
          "sort": {
            "title": "Sort by",
            "enum": [
              "newest",
              "relevance",
              "price_low",
              "price_high"
            ],
            "type": "string",
            "description": "Order of results. \"Newest first\" is what resellers use to catch fresh listings; combine it with the monitor mode below.",
            "default": "newest"
          },
          "includeDetails": {
            "title": "Include item details ($)",
            "type": "boolean",
            "description": "Opens every item page: full description, all photos, colour, category path, upload time, reserved flag, and the seller's rating, review count, country, city, items for sale and last login. Billed as the add-on event \"Item details\" on top of the item price, only for items whose page was actually read; if Vinted is busy the row keeps its search data, gets a note and the add-on is not charged.",
            "default": false
          },
          "onlyNewItemsStore": {
            "title": "🆕 Only new items (monitor name)",
            "type": "string",
            "description": "Monitor mode. Give any name (e.g. \"my-nike-watch\"). The Actor remembers every item it delivered under that name and on later runs returns — and charges — only items it has not delivered before. Schedule the Actor every 10–60 minutes to get a feed of fresh listings."
          },
          "minPrice": {
            "title": "Min price",
            "minimum": 0,
            "type": "number",
            "description": "Lowest item price, in the Vinted site's currency (before the buyer protection fee)."
          },
          "maxPrice": {
            "title": "Max price",
            "minimum": 0,
            "type": "number",
            "description": "Highest item price, in the Vinted site's currency (before the buyer protection fee)."
          },
          "brands": {
            "title": "Brands",
            "type": "array",
            "description": "Brand names as on Vinted (\"Nike\", \"Ralph Lauren\", \"Carhartt WIP\") or Vinted brand ids. Several brands = any of them.",
            "items": {
              "type": "string"
            }
          },
          "sizes": {
            "title": "Sizes",
            "type": "array",
            "description": "Size labels as Vinted shows them: \"M\", \"XL\", \"38\", \"W32\", \"42.5\"… A label matches every size group that uses it (clothing and shoes). Works best together with a category. Vinted size ids are accepted too.",
            "items": {
              "type": "string"
            }
          },
          "condition": {
            "title": "Condition",
            "type": "array",
            "description": "Keep only items in these conditions. Empty = any condition.",
            "items": {
              "type": "string",
              "enum": [
                "new_with_tags",
                "new_without_tags",
                "very_good",
                "good",
                "satisfactory"
              ],
              "enumTitles": [
                "New with tags",
                "New without tags",
                "Very good",
                "Good",
                "Satisfactory"
              ]
            }
          },
          "category": {
            "title": "Category",
            "enum": [
              "any",
              "women",
              "men",
              "kids",
              "home",
              "electronics",
              "entertainment",
              "hobbies",
              "sports"
            ],
            "type": "string",
            "description": "Limit the search to one top-level Vinted category. For a sub-category paste its Vinted catalogue URL into Start URLs.",
            "default": "any"
          },
          "maxConcurrency": {
            "title": "Parallel item pages",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many item pages are opened at once when item details are on. Higher is faster; Vinted may slow down very aggressive runs.",
            "default": 10
          },
          "includeRunSummary": {
            "title": "Add a free summary row",
            "type": "boolean",
            "description": "Adds one free row at the end of the dataset with what was delivered and charged in this run.",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}