{
  "openapi": "3.0.1",
  "info": {
    "title": "EU Second-Hand Marketplaces Scraper: Vinted, OLX & More",
    "description": "Search the top second-hand marketplaces of 18 European countries at once: Kleinanzeigen, Vinted, OLX, Marktplaats, Subito, Wallapop, willhaben, Blocket, DBA, FINN… Prices in €, deal score vs. the European market, cheapest country, resale margin and new-listing alerts.",
    "version": "0.1",
    "x-build-id": "WSxGhKxNpWeHaOjBD"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/euroscrape~eu-marketplace-deals/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-euroscrape-eu-marketplace-deals",
        "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/euroscrape~eu-marketplace-deals/runs": {
      "post": {
        "operationId": "runs-sync-euroscrape-eu-marketplace-deals",
        "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/euroscrape~eu-marketplace-deals/run-sync": {
      "post": {
        "operationId": "run-sync-euroscrape-eu-marketplace-deals",
        "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": [
          "searchQueries"
        ],
        "properties": {
          "searchQueries": {
            "title": "🔎 What are you looking for?",
            "type": "array",
            "description": "One or more products, e.g. \"nintendo switch oled\", \"iphone 13 128gb\", \"dyson v11\". Be specific: model names and numbers (13, 128gb, ps5) must appear in the listing title.",
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "🌍 Countries",
            "type": "array",
            "description": "Countries to search, each on its biggest second-hand marketplace. Leave empty for all 18.",
            "items": {
              "type": "string",
              "enum": [
                "DE",
                "AT",
                "NL",
                "BE",
                "IT",
                "ES",
                "FR",
                "PT",
                "PL",
                "RO",
                "BG",
                "CZ",
                "SK",
                "HU",
                "SE",
                "DK",
                "FI",
                "NO"
              ],
              "enumTitles": [
                "🇩🇪 Germany — Kleinanzeigen",
                "🇦🇹 Austria — willhaben",
                "🇳🇱 Netherlands — Marktplaats",
                "🇧🇪 Belgium — 2dehands / 2ememain",
                "🇮🇹 Italy — Subito",
                "🇪🇸 Spain — Wallapop",
                "🇫🇷 France — Vinted",
                "🇵🇹 Portugal — OLX",
                "🇵🇱 Poland — OLX",
                "🇷🇴 Romania — OLX",
                "🇧🇬 Bulgaria — OLX",
                "🇨🇿 Czechia — Bazoš",
                "🇸🇰 Slovakia — Bazoš",
                "🇭🇺 Hungary — Jófogás",
                "🇸🇪 Sweden — Blocket",
                "🇩🇰 Denmark — DBA",
                "🇫🇮 Finland — Tori",
                "🇳🇴 Norway — FINN"
              ]
            }
          },
          "includeVinted": {
            "title": "Also search Vinted in each country",
            "type": "boolean",
            "description": "Adds Vinted (clothes, electronics, games, home) next to each country's main marketplace. France always uses Vinted.",
            "default": false
          },
          "maxItemsPerMarketplace": {
            "title": "Max listings per marketplace",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Per search and per marketplace. 50 is enough for reliable country prices; raise it to collect more deals.",
            "default": 50
          },
          "sortBy": {
            "title": "Sort",
            "enum": [
              "relevance",
              "newest"
            ],
            "type": "string",
            "description": "'Newest first' is best for monitoring; 'Most relevant' gives the best price comparison.",
            "default": "relevance"
          },
          "minPrice": {
            "title": "Min price (€)",
            "minimum": 0,
            "type": "integer",
            "description": "In euros. Converted to the local currency of each marketplace (PLN, CZK, HUF, SEK, DKK, NOK, RON)."
          },
          "maxPrice": {
            "title": "Max price (€)",
            "minimum": 0,
            "type": "integer",
            "description": "In euros, converted like the minimum price."
          },
          "excludeKeywords": {
            "title": "Exclude words",
            "type": "array",
            "description": "Listings whose title contains one of these words are skipped, e.g. \"lite\", \"refurbished\".",
            "items": {
              "type": "string"
            }
          },
          "excludeAccessories": {
            "title": "Skip accessories sold alone",
            "type": "boolean",
            "description": "Removes cases, chargers, cables, games, controllers, spare parts… sold for the product (detected in 16 languages). Bundles like \"console + case\" are kept.",
            "default": true
          },
          "excludeDefective": {
            "title": "Skip broken / for-parts items",
            "type": "boolean",
            "description": "Removes listings marked as defective or for parts (they are always excluded from price statistics).",
            "default": false
          },
          "maxAgeDays": {
            "title": "Only listings from the last N days",
            "minimum": 1,
            "type": "integer",
            "description": "Optional. Listings without a date (Vinted) are kept."
          },
          "minDealScore": {
            "title": "Only deals with a score of at least",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "0–100. 50 = at market price, 70 = about 20% below, 90 = about 40% below the European market price of similar listings."
          },
          "strictMatch": {
            "title": "Strict title matching",
            "type": "boolean",
            "description": "Keep only listings whose title matches your search (recommended: marketplaces also return loosely related items).",
            "default": true
          },
          "includeMarketSummary": {
            "title": "Add a market summary per search",
            "type": "boolean",
            "description": "One extra dataset item per search (free): median price per country in €, cheapest and most expensive country, price spread and top deals.",
            "default": true
          },
          "monitorName": {
            "title": "Monitoring name",
            "type": "string",
            "description": "Give your search a name and schedule the Actor: each run then returns only NEW listings and price drops since the previous run. The first run saves the current listings as a baseline."
          },
          "alertOn": {
            "title": "Alert on",
            "enum": [
              "new_and_price_drops",
              "new",
              "price_drops"
            ],
            "type": "string",
            "description": "With a monitoring name.",
            "default": "new_and_price_drops"
          },
          "telegramBotToken": {
            "title": "Telegram bot token",
            "type": "string",
            "description": "Optional: get each listing on Telegram (create a bot with @BotFather)."
          },
          "telegramChatId": {
            "title": "Telegram chat ID",
            "type": "string",
            "description": "Your chat or group ID."
          },
          "discordWebhookUrl": {
            "title": "Discord webhook URL",
            "type": "string",
            "description": "Optional."
          },
          "slackWebhookUrl": {
            "title": "Slack webhook URL",
            "type": "string",
            "description": "Optional."
          },
          "webhookUrl": {
            "title": "Generic webhook URL",
            "type": "string",
            "description": "Optional: one POST with all new listings as JSON (Make, Zapier, n8n…)."
          },
          "maxNotifications": {
            "title": "Max notifications per run",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Best deals first.",
            "default": 30
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}