{
  "openapi": "3.0.1",
  "info": {
    "title": "Vinted Scraper: Listings, Price Research, Countries & Alerts",
    "description": "Vinted listings on any country's site with price, fees, brand, size, condition and favourites, and a market row per search: price range, median and quartiles by brand, condition and size, and the cheapest item. Compare countries, get alerts on new listings and price drops. No login.",
    "version": "0.1",
    "x-build-id": "ccquCEZRwzTP66xgc"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/pikoulas~vinted/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-pikoulas-vinted",
        "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/pikoulas~vinted/runs": {
      "post": {
        "operationId": "runs-sync-pikoulas-vinted",
        "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/pikoulas~vinted/run-sync": {
      "post": {
        "operationId": "run-sync-pikoulas-vinted",
        "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": {
          "output": {
            "title": "What to get",
            "enum": [
              "items",
              "market",
              "both"
            ],
            "type": "string",
            "description": "Listings; a market row per search and country (price range, median and quartiles, prices by brand, condition and size, the cheapest item), read from the same items; or both.",
            "default": "items"
          },
          "searchTerms": {
            "title": "Search terms",
            "type": "array",
            "description": "What to search for, one search each: nike air max, levi's 501.",
            "items": {
              "type": "string"
            }
          },
          "country": {
            "title": "Country",
            "enum": [
              "com",
              "co.uk",
              "fr",
              "de",
              "it",
              "es",
              "nl",
              "be",
              "at",
              "pl",
              "pt",
              "lt",
              "cz",
              "se",
              "sk",
              "hu",
              "ro",
              "dk",
              "fi",
              "gr",
              "ie",
              "hr",
              "lu"
            ],
            "type": "string",
            "description": "The Vinted site your search terms run on. Prices come in its currency.",
            "default": "com"
          },
          "countries": {
            "title": "Compare countries",
            "type": "array",
            "description": "More Vinted sites your search terms run on, each its own search and market row, in its own currency. Vinted shares listings between some of its EU sites, so the same item can show on several.",
            "items": {
              "type": "string",
              "enum": [
                "com",
                "co.uk",
                "fr",
                "de",
                "it",
                "es",
                "nl",
                "be",
                "at",
                "pl",
                "pt",
                "lt",
                "cz",
                "se",
                "sk",
                "hu",
                "ro",
                "dk",
                "fi",
                "gr",
                "ie",
                "hr",
                "lu"
              ],
              "enumTitles": [
                "United States",
                "United Kingdom",
                "France",
                "Germany",
                "Italy",
                "Spain",
                "Netherlands",
                "Belgium",
                "Austria",
                "Poland",
                "Portugal",
                "Lithuania",
                "Czechia",
                "Sweden",
                "Slovakia",
                "Hungary",
                "Romania",
                "Denmark",
                "Finland",
                "Greece",
                "Ireland",
                "Croatia",
                "Luxembourg"
              ]
            }
          },
          "priceFrom": {
            "title": "Price from",
            "minimum": 0,
            "type": "integer",
            "description": "Search terms only: the lowest price, in the site's currency."
          },
          "priceTo": {
            "title": "Price to",
            "minimum": 0,
            "type": "integer",
            "description": "Search terms only: the highest price, in the site's currency."
          },
          "order": {
            "title": "Order",
            "enum": [
              "relevance",
              "newest_first",
              "price_low_to_high",
              "price_high_to_low"
            ],
            "type": "string",
            "description": "Search terms only.",
            "default": "relevance"
          },
          "startUrls": {
            "title": "Vinted URLs",
            "type": "array",
            "description": "Catalogue pages with any filters (/catalog?...) or item pages (/items/...), on any country's site.",
            "items": {
              "type": "string"
            }
          },
          "maxItemsPerSearch": {
            "title": "Max items per search",
            "minimum": 1,
            "type": "integer",
            "description": "Items from each search term or URL. Empty: all of them. Vinted shows at most 960 for a search.",
            "default": 100
          },
          "includeDetails": {
            "title": "Include details",
            "type": "boolean",
            "description": "Each item's description, category, colour and availability. Reads each item's page, so it's slower, and charged per item on top.",
            "default": false
          },
          "trackChanges": {
            "title": "Alerts: only new listings and price drops",
            "type": "boolean",
            "description": "Leaves out the items a run under the same memory saw before at the same or a lower price (not charged); a cheaper one comes back with its previousPrice. Market rows add their new items, price drops and median change. Schedule it with Newest first.",
            "default": false
          },
          "memory": {
            "title": "Memory name",
            "type": "string",
            "description": "Keep one per set of searches you track. Items are forgotten after 30 days.",
            "default": "default"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}