{
  "openapi": "3.0.1",
  "info": {
    "title": "Vinted Sold Prices — 7 Countries, Median & Price Gap",
    "description": "Real Vinted sold prices in UK, France, Germany, Italy, Spain, Netherlands and Poland: median, p25–p75 range, days to sell and the individual sales, plus a 7-country price comparison in EUR. Searches with fewer than 5 sales are free.",
    "version": "0.2",
    "x-build-id": "bnNeTf7w1P6GiHijL"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/helenium~resale-sold-prices/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-helenium-resale-sold-prices",
        "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/helenium~resale-sold-prices/runs": {
      "post": {
        "operationId": "runs-sync-helenium-resale-sold-prices",
        "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/helenium~resale-sold-prices/run-sync": {
      "post": {
        "operationId": "run-sync-helenium-resale-sold-prices",
        "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": {
          "queries": {
            "title": "Search terms",
            "type": "array",
            "description": "One item per line, e.g. \"nike air force 1\" or \"levis 501\". Matched against sold listing titles. Up to 500 per run. Optional if you follow listings.",
            "items": {
              "type": "string"
            }
          },
          "listings": {
            "title": "Listings to follow until sold",
            "type": "array",
            "description": "Vinted listing URLs from any Vinted site, or listing numbers (a bare number uses the country below). Each is checked every N hours until it sells or is removed; the run returns its current status, price and when it changed. Up to 2,000. Run the actor at least every 3 days or checks pause; use \"Stop following\" for listings you no longer want.",
            "items": {
              "type": "string"
            }
          },
          "listingsCountry": {
            "title": "Country for listing numbers",
            "enum": [
              "",
              "FR",
              "UK",
              "DE",
              "IT",
              "ES",
              "NL",
              "PL"
            ],
            "type": "string",
            "description": "Only used for bare listing numbers (not URLs). Leave empty for France.",
            "default": ""
          },
          "checkEveryHours": {
            "title": "Re-check every (hours)",
            "enum": [
              "3",
              "6",
              "12"
            ],
            "type": "string",
            "description": "How often followed listings are checked on our side. Each check is charged (every 6 hours = 4 checks a day); the first check of a listing is free. Applies to the listings in this run.",
            "default": "6"
          },
          "stopFollowing": {
            "title": "Stop following",
            "type": "array",
            "description": "Listing URLs or numbers to stop following. Checks stop and nothing more is charged for them.",
            "items": {
              "type": "string"
            }
          },
          "stopFollowingAll": {
            "title": "Stop following everything",
            "type": "boolean",
            "description": "Stop following every listing on this account.",
            "default": false
          },
          "includeClosed": {
            "title": "Include closed listings",
            "type": "boolean",
            "description": "A listing that sold or was removed is shown once, in the first run after it closed. Turn this on to keep showing closed listings in every run.",
            "default": false
          },
          "country": {
            "title": "Vinted country",
            "enum": [
              "UK",
              "FR",
              "DE",
              "IT",
              "ES",
              "NL",
              "PL"
            ],
            "type": "string",
            "description": "Which Vinted site's sales to return for search terms. Prices come in that site's currency.",
            "default": "UK"
          },
          "compareCountries": {
            "title": "Compare all 7 countries",
            "type": "boolean",
            "description": "Also return the same search's median sold price in all 7 Vinted countries, converted to EUR, with the cheapest and dearest country and the gap in %. Charged separately, only when 2+ countries have sales.",
            "default": false
          },
          "condition": {
            "title": "Condition",
            "enum": [
              "any",
              "new",
              "used"
            ],
            "type": "string",
            "description": "Item condition of the sold listings.",
            "default": "any"
          },
          "brand": {
            "title": "Brand (optional)",
            "type": "string",
            "description": "Only sales listed under this brand, e.g. \"Nike\"."
          },
          "size": {
            "title": "Size (optional)",
            "type": "string",
            "description": "Only sales in this size, as written on Vinted, e.g. \"M\" or \"9\"."
          },
          "days": {
            "title": "Look-back window (days)",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Sales from the last N days, up to 365.",
            "default": 90
          },
          "maxItems": {
            "title": "Individual sales per term",
            "minimum": 0,
            "maximum": 240,
            "type": "integer",
            "description": "How many individual sales (title, price, size, condition, sold date, link) to return per term. 0 = summary only. The price is the same either way.",
            "default": 50
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}