{
  "openapi": "3.0.1",
  "info": {
    "title": "Vinted Scraper - Second-Hand Fashion Listings & Prices",
    "description": "Scrape Vinted listings across 8 country sites: titles, prices in local currency, brands, sizes, condition, photos and sellers. Search by keyword or paste any Vinted search URL. Clean JSON, no code.",
    "version": "1.0",
    "x-build-id": "IdpVW55ZjCzxO2mnN"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sian.agency~vinted-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sian.agency-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/sian.agency~vinted-scraper/runs": {
      "post": {
        "operationId": "runs-sync-sian.agency-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/sian.agency~vinted-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-sian.agency-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": {
          "operation": {
            "title": "🎯 Operation",
            "enum": [
              "search",
              "sellerItems",
              "itemDetail"
            ],
            "type": "string",
            "description": "🎯 **ONE OPERATION PER RUN.** 🔍 **Listing Search**: find listings by keyword and filters, or paste a search URL. 🏬 **Seller Listings**: pull everything in one seller's closet. 📄 **Listing Detail**: open specific listings for the full description, category, colour and availability.",
            "default": "search"
          },
          "site": {
            "title": "🌍 Country site",
            "enum": [
              "vinted.fr",
              "vinted.de",
              "vinted.es",
              "vinted.it",
              "vinted.nl",
              "vinted.pl",
              "vinted.co.uk",
              "vinted.lt"
            ],
            "type": "string",
            "description": "🌍 **WHICH SITE TO READ.** Prices come back in that site's currency (EUR, GBP or PLN) and listing text stays in the site's language. A pasted URL from another site overrides this. 🇫🇷 France · 🇩🇪 Germany · 🇪🇸 Spain · 🇮🇹 Italy · 🇳🇱 Netherlands · 🇵🇱 Poland · 🇬🇧 United Kingdom · 🇱🇹 Lithuania",
            "default": "vinted.fr"
          },
          "query": {
            "title": "🔑 Search keyword",
            "type": "string",
            "description": "🔑 **WHAT TO SEARCH FOR** (Listing Search). Use the site's own language where it matters: 'chaussure' finds more on vinted.fr than 'shoe'.",
            "default": "nike air max"
          },
          "searchUrls": {
            "title": "🌐 Search URLs",
            "type": "array",
            "description": "🌐 **PASTE SEARCH URLS INSTEAD OF FILLING THE FORM.** Copy the URL from your browser while browsing Vinted: every filter you set there (brand, size, condition, colour, material…) is carried over. ✅ `https://www.vinted.fr/catalog?search_text=nike&order=newest_first` ✅ `https://www.vinted.de/catalog/2050-schuhe?brand_ids[]=53&size_from=40` 💡 Runs one search per URL.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "sort": {
            "title": "↕️ Sort order",
            "enum": [
              "relevance",
              "newest_first"
            ],
            "type": "string",
            "description": "↕️ **WHICH LISTINGS COME FIRST.** 🎯 Relevance is the site's own ranking. 🕒 Newest first is what you want for monitoring fresh listings.",
            "default": "relevance"
          },
          "minPrice": {
            "title": "💵 Min price",
            "minimum": 0,
            "type": "integer",
            "description": "💵 **CHEAPEST PRICE TO INCLUDE**, in the site's own currency. 0 means no lower bound.",
            "default": 0
          },
          "maxPrice": {
            "title": "💰 Max price",
            "minimum": 0,
            "type": "integer",
            "description": "💰 **MOST EXPENSIVE PRICE TO INCLUDE**, in the site's own currency. 0 means no upper bound.",
            "default": 0
          },
          "itemUrls": {
            "title": "📄 Listing URLs",
            "type": "array",
            "description": "📄 **USED BY THE LISTING DETAIL OPERATION.** Which listings to open. ✅ `https://www.vinted.fr/items/9798124503-t-shirt-nike-air-femme` ✅ `9798124503` (bare listing ID) 💡 Gets the full description, category, colour and availability.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "sellers": {
            "title": "🏬 Sellers",
            "type": "array",
            "description": "🏬 **USED BY THE SELLER LISTINGS OPERATION.** Whose closet to pull. ✅ `https://www.vinted.fr/member/43183239-stephane775` ✅ `43183239` (bare member ID) 💡 Runs one closet per seller.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "maxResults": {
            "title": "🔢 Max listings",
            "minimum": 1,
            "maximum": 960,
            "type": "integer",
            "description": "🔢 **HOW MANY LISTINGS TO RETURN**, across everything the run touches. The site serves 96 per page and caps any single search at 960.",
            "default": 96
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}