{
  "openapi": "3.0.1",
  "info": {
    "title": "Vestiaire Collective Monitor — Deals, Sold Prices & Alerts",
    "description": "Monitor designer models on Vestiaire Collective: new listings, price drops, items below real sold prices, sell-through and days-to-sell, with Telegram or webhook alerts. Pay only for new rows. JSON, CSV, API, MCP.",
    "version": "0.1",
    "x-build-id": "ZKpKV8fQexbiEqjtK"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/kondasviktor~vestiaire-collective-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-kondasviktor-vestiaire-collective-monitor",
        "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/kondasviktor~vestiaire-collective-monitor/runs": {
      "post": {
        "operationId": "runs-sync-kondasviktor-vestiaire-collective-monitor",
        "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/kondasviktor~vestiaire-collective-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-kondasviktor-vestiaire-collective-monitor",
        "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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "monitor",
              "snapshot"
            ],
            "type": "string",
            "description": "`monitor` writes (and charges) only new, changed or newly sold items and sends alerts — schedule it every 1–3 hours. `snapshot` exports everything it finds, once.",
            "default": "monitor"
          },
          "searches": {
            "title": "Searches",
            "type": "array",
            "description": "Your saved searches. Each: `{ \"name\": \"Chanel Classic Flap\", \"brand\": \"Chanel\", \"model\": \"Classic Flap\", \"query\": \"classic flap\", \"categories\": [\"bags\"], \"conditions\": [\"very_good\"], \"colors\": [\"black\"], \"materials\": [\"leather\"], \"priceMin\": 3000, \"priceMax\": 9000, \"sellerCountries\": [\"FR\", \"IT\"], \"authenticatedOnly\": false, \"mustInclude\": [], \"mustExclude\": [\"inspired\"], \"country\": \"FR\", \"currency\": \"EUR\" }`. Give a `query`, or a `brand` (and optionally a `model`); everything else is optional and falls back to the global fields below. Category, colour and material names are the English words used on the site. One search = one paid \"tracked search\" per run."
          },
          "searchUrls": {
            "title": "Vestiaire search URLs",
            "type": "array",
            "description": "Paste search result URLs from vestiairecollective.com (https://www.vestiairecollective.com/search/?q=…). The keyword is read from each URL, and a country subdomain such as fr. sets the shopping country.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "country": {
            "title": "Shopping country",
            "enum": [
              "FR",
              "IT",
              "DE",
              "ES",
              "NL",
              "BE",
              "AT",
              "IE",
              "PT",
              "LU",
              "FI",
              "GR",
              "GB",
              "US",
              "CH",
              "SE",
              "PL",
              "DK",
              "CZ",
              "HU",
              "RO"
            ],
            "type": "string",
            "description": "The edition of the site you shop in. FR, IT, DE (and AT) and ES use their own catalogue edition; every other country uses the international English one. It decides which items are listed — and the currency below only changes how prices are shown.",
            "default": "FR"
          },
          "currency": {
            "title": "Currency",
            "enum": [
              "EUR",
              "GBP",
              "USD",
              "CHF",
              "SEK",
              "PLN"
            ],
            "type": "string",
            "description": "Display currency. Price filters (`priceMin` / `priceMax`) are read in this currency.",
            "default": "EUR"
          },
          "conditions": {
            "title": "Conditions",
            "type": "array",
            "description": "Keep only these condition grades (all five by default).",
            "items": {
              "type": "string",
              "enum": [
                "new_with_tags",
                "never_worn",
                "very_good",
                "good",
                "fair"
              ],
              "enumTitles": [
                "Never worn, with tag",
                "Never worn",
                "Very good condition",
                "Good condition",
                "Fair condition"
              ]
            },
            "default": [
              "new_with_tags",
              "never_worn",
              "very_good",
              "good",
              "fair"
            ]
          },
          "authenticatedOnly": {
            "title": "Authenticated only",
            "type": "boolean",
            "description": "Only items that go through Vestiaire's own authentication (drops items eligible for direct shipping from the seller). The field reflects what the site shows, not our own authentication.",
            "default": false
          },
          "includeSold": {
            "title": "Include sold items",
            "type": "boolean",
            "description": "Track sold items: they give real sold-price comparisons (deals are measured against them) and the sell-through statistics. Each newly sold item is one paid `sold-observed` event ($0.01).",
            "default": true
          },
          "mustInclude": {
            "title": "Must include",
            "type": "array",
            "description": "Every one of these words must appear in the title or description (case- and accent-insensitive).",
            "items": {
              "type": "string"
            }
          },
          "mustExclude": {
            "title": "Must exclude",
            "type": "array",
            "description": "Drop items whose title or description contains any of these words (case- and accent-insensitive). Careful with common words: \"style\" appears in many genuine descriptions.",
            "items": {
              "type": "string"
            }
          },
          "maxItemsPerSearch": {
            "title": "Max listings per search",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Cost cap: how many active listings to read per search (newest first in monitor mode, best match first in snapshot mode). Searches with more results than one query can reach are split automatically when you ask for more than 1,250.",
            "default": 200
          },
          "maxSoldPerSearch": {
            "title": "Max sold items per search",
            "minimum": 1,
            "maximum": 1250,
            "type": "integer",
            "description": "Cost cap for the sold pass: newest-listed sold items first. In monitor mode only items not recorded before become rows.",
            "default": 50
          },
          "alertOn": {
            "title": "Alert on",
            "type": "array",
            "description": "Which events are sent to Telegram / the webhook (rows are always written for every event in monitor mode). The first run of a monitor never alerts on NEW or SOLD_OBSERVED: they are the baseline.",
            "items": {
              "type": "string",
              "enum": [
                "NEW",
                "PRICE_DROP",
                "DEAL",
                "SOLD_OBSERVED"
              ],
              "enumTitles": [
                "New listing",
                "Price drop",
                "Deal (below comparable prices)",
                "Item sold"
              ]
            },
            "default": [
              "DEAL",
              "PRICE_DROP"
            ]
          },
          "dealThresholdPct": {
            "title": "Deal threshold (%)",
            "minimum": 1,
            "maximum": 99,
            "type": "number",
            "description": "A listing is a deal when it is at least this far below the median of its comparable group. Luxury discounts are tighter than mass resale, so the default is 20.",
            "default": 20
          },
          "dealBasis": {
            "title": "Compare with",
            "enum": [
              "auto",
              "sold",
              "ask"
            ],
            "type": "string",
            "description": "`sold` = observed sold prices, `ask` = live asking prices, `auto` = sold prices once the group has enough sold items, otherwise asking prices.",
            "default": "auto"
          },
          "minCompsForDeal": {
            "title": "Minimum comparables for a verdict",
            "minimum": 3,
            "type": "integer",
            "description": "A deal verdict needs at least this many comparable items (3 or more).",
            "default": 5
          },
          "priceDropThresholdPct": {
            "title": "Price drop threshold (%)",
            "minimum": 1,
            "maximum": 99,
            "type": "number",
            "description": "Report a PRICE_DROP when a tracked item's price fell by at least this much since it was last seen.",
            "default": 5
          },
          "buyerCustomsArea": {
            "title": "Your customs area",
            "enum": [
              "EU",
              "UK",
              "US",
              "CH",
              "none"
            ],
            "type": "string",
            "description": "Items shipped from outside this area get `outsideCustomsArea: true` — import duties and VAT may apply. Amounts are not calculated.",
            "default": "EU"
          },
          "includeItemDetails": {
            "title": "Include item details",
            "type": "boolean",
            "description": "Load each item's product page for material, measurements, price breakdown, all photos, seller stats and (for sold items) the real sale date. Each page is one paid `item-details` event ($0.006); a page that cannot be loaded is not charged.",
            "default": false
          },
          "includeSellerUsername": {
            "title": "Include seller username",
            "type": "boolean",
            "description": "Off by default: only the seller id, country and badge are stored. Needs item details.",
            "default": false
          },
          "alertLanguage": {
            "title": "Alert language",
            "enum": [
              "en",
              "fr",
              "de",
              "hu"
            ],
            "type": "string",
            "description": "Language of Telegram alerts.",
            "default": "en"
          },
          "telegramBotToken": {
            "title": "Telegram bot token",
            "type": "string",
            "description": "From @BotFather (`/newbot`). Looks like `123456:ABC-DEF…`."
          },
          "telegramChatId": {
            "title": "Telegram chat ID",
            "type": "string",
            "description": "Your chat, group or channel id. Message your bot once first, then look the id up (for example with @userinfobot)."
          },
          "webhookUrl": {
            "title": "Webhook URL",
            "type": "string",
            "description": "POST target for alert events (JSON: `{ monitorId, runId, events }`). Must be a public https:// or http:// URL."
          },
          "webhookSecret": {
            "title": "Webhook secret",
            "type": "string",
            "description": "Optional. When set, the body is signed with HMAC-SHA256 and sent in the `X-Signature` header (`sha256=<hex>`)."
          },
          "maxAlertsPerRun": {
            "title": "Max alerts per run",
            "minimum": 1,
            "type": "integer",
            "description": "Above this many alerts the Actor sends one digest message instead of one message per item.",
            "default": 15
          },
          "monitorId": {
            "title": "Monitor ID",
            "type": "string",
            "description": "Names this monitor's saved memory (seen items, sold items, comparable prices). Leave empty to derive it from your searches; set it to keep one monitor across edits. Letters a–z, digits and `-`."
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Vestiaire protects its site, so the Actor drives a real browser through an Apify residential proxy (France by default). Datacenter proxies are blocked by the site and are not offered.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "FR"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}