{
  "description": "Search Wallapop listings, fetch items, or read seller catalogues and profiles.",
  "properties": {
    "category": {
      "default": "",
      "description": "Top-level Wallapop category (mode=search).",
      "editor": "select",
      "enum": [
        "",
        "100",
        "14000",
        "12800",
        "12465",
        "200",
        "12545",
        "16000",
        "15000",
        "12579",
        "17000",
        "12900",
        "12467",
        "13100",
        "12463",
        "12461",
        "18000",
        "19000",
        "20000",
        "21000",
        "13200",
        "12485"
      ],
      "enumTitles": [
        "All categories",
        "Cars",
        "Motorbike",
        "Motors & accessories",
        "Fashion & accessories",
        "Real Estate",
        "Technology and Electronics",
        "Cell Phones & Accessories",
        "Computers",
        "Sports & leisure",
        "Bikes",
        "Games & Consoles",
        "Home & garden",
        "Appliances",
        "Movies, books & music",
        "Baby & child",
        "Collectibles & Art",
        "Construction",
        "Agriculture & industrial",
        "Jobs",
        "Services",
        "Other"
      ],
      "prefill": "",
      "title": "Category",
      "type": "string"
    },
    "condition": {
      "default": "",
      "description": "Item condition (mode=search).",
      "editor": "select",
      "enum": [
        "",
        "new",
        "in_box",
        "un_opened",
        "un_worn",
        "as_good_as_new",
        "good",
        "fair",
        "has_given_it_all"
      ],
      "enumTitles": [
        "Any condition",
        "New",
        "New in box",
        "Unopened",
        "Unworn",
        "As good as new",
        "Good",
        "Fair",
        "Has given it all"
      ],
      "prefill": "",
      "title": "Condition",
      "type": "string"
    },
    "country": {
      "default": "ES",
      "description": "Market centre used when latitude and longitude are empty.",
      "editor": "select",
      "enum": [
        "ES",
        "IT",
        "PT",
        "FR",
        "DE",
        "GB",
        "CUSTOM"
      ],
      "enumTitles": [
        "Spain",
        "Italy",
        "Portugal",
        "France",
        "Germany",
        "United Kingdom",
        "Custom coordinates"
      ],
      "prefill": "ES",
      "title": "Country",
      "type": "string"
    },
    "distanceKm": {
      "description": "Maximum distance from the search centre. Leave empty to use the market default.",
      "maximum": 1000,
      "minimum": 1,
      "title": "Max distance (km)",
      "type": "integer"
    },
    "includeItemDetails": {
      "default": false,
      "description": "Fetch full item details such as condition, attributes, views, favorites and conversations (mode=search and sellerListings).",
      "prefill": false,
      "title": "Include item details",
      "type": "boolean"
    },
    "includeReviews": {
      "default": true,
      "description": "Include the seller's latest reviews (mode=sellerProfile).",
      "prefill": false,
      "title": "Include reviews",
      "type": "boolean"
    },
    "includeSellerDetails": {
      "default": true,
      "description": "Add seller name, rating, review count and verification to each search result (mode=search).",
      "prefill": false,
      "title": "Include seller details",
      "type": "boolean"
    },
    "itemUrls": {
      "default": [],
      "description": "Wallapop item URLs or raw item IDs (mode=itemDetails).",
      "editor": "stringList",
      "prefill": [],
      "title": "Item URLs or IDs",
      "type": "array"
    },
    "keywords": {
      "default": [
        "iphone"
      ],
      "description": "One or more search phrases. Each keyword is searched separately and results are merged without duplicates (mode=search).",
      "editor": "stringList",
      "prefill": [
        "iphone"
      ],
      "title": "Keywords",
      "type": "array"
    },
    "latitude": {
      "description": "Optional search centre latitude. Leave empty to use the country centre.",
      "maximum": 90,
      "minimum": -90,
      "title": "Latitude",
      "type": "number"
    },
    "longitude": {
      "description": "Optional search centre longitude. Leave empty to use the country centre.",
      "maximum": 180,
      "minimum": -180,
      "title": "Longitude",
      "type": "number"
    },
    "maxItems": {
      "default": 20,
      "description": "Maximum records to return for search, itemDetails and sellerListings.",
      "maximum": 2000,
      "minimum": 1,
      "prefill": 1,
      "title": "Max items",
      "type": "integer"
    },
    "maxPrice": {
      "description": "Maximum asking price (mode=search).",
      "maximum": 999999,
      "minimum": 0,
      "title": "Max price (EUR)",
      "type": "integer"
    },
    "maxReviews": {
      "default": 20,
      "description": "Maximum reviews per seller (mode=sellerProfile). Wallapop serves older reviews in pages.",
      "maximum": 2000,
      "minimum": 1,
      "prefill": 1,
      "title": "Max reviews",
      "type": "integer"
    },
    "minPrice": {
      "description": "Minimum asking price (mode=search).",
      "maximum": 999999,
      "minimum": 0,
      "title": "Min price (EUR)",
      "type": "integer"
    },
    "mode": {
      "default": "search",
      "description": "What to fetch from Wallapop.",
      "editor": "select",
      "enum": [
        "search",
        "itemDetails",
        "sellerListings",
        "sellerProfile"
      ],
      "enumTitles": [
        "Search listings by keyword or category",
        "Fetch items by URL or ID",
        "Get all active listings from sellers",
        "Get seller profile, ratings and reviews"
      ],
      "prefill": "search",
      "title": "Mode",
      "type": "string"
    },
    "orderBy": {
      "default": "most_relevance",
      "description": "Result order (mode=search).",
      "editor": "select",
      "enum": [
        "most_relevance",
        "newest",
        "closest",
        "price_low_to_high",
        "price_high_to_low"
      ],
      "enumTitles": [
        "Most relevant",
        "Newest first",
        "Nearest first",
        "Price: low to high",
        "Price: high to low"
      ],
      "prefill": "most_relevance",
      "title": "Sort order",
      "type": "string"
    },
    "sellerIds": {
      "default": [],
      "description": "Seller IDs, profile URLs or item URLs whose seller should be used (mode=sellerListings and sellerProfile).",
      "editor": "stringList",
      "prefill": [],
      "title": "Seller IDs or URLs",
      "type": "array"
    },
    "shippableOnly": {
      "default": false,
      "description": "Only listings whose seller allows shipping (mode=search).",
      "prefill": false,
      "title": "Shippable only",
      "type": "boolean"
    },
    "subcategory": {
      "default": "",
      "description": "Optional subcategory. It can be used alone or together with a category (mode=search).",
      "editor": "select",
      "enum": [
        "",
        "10167",
        "10164",
        "10165",
        "10168",
        "10166",
        "11002",
        "11003",
        "10436",
        "10156",
        "10437",
        "10094",
        "10101",
        "10096",
        "10097",
        "10099",
        "10095",
        "10102",
        "10105",
        "10100",
        "10107",
        "10106",
        "10098",
        "10103",
        "10108",
        "10109",
        "10104",
        "10055",
        "10058",
        "10056",
        "10059",
        "10057",
        "10125",
        "10119",
        "10120",
        "10122",
        "10123",
        "10124",
        "24276",
        "10118",
        "10111",
        "10112",
        "10114",
        "10113",
        "10115",
        "10441",
        "24003",
        "24002",
        "24001",
        "10178",
        "10185",
        "10181",
        "10177",
        "10187",
        "10183",
        "10182",
        "10189",
        "10179",
        "10188",
        "10180",
        "10184",
        "10186",
        "10071",
        "10075",
        "10081",
        "10073",
        "10074",
        "10072",
        "10080",
        "10079",
        "10083",
        "10085",
        "10076",
        "10078",
        "10082",
        "10077",
        "10086",
        "10084",
        "10138",
        "10149",
        "10141",
        "10147",
        "10143",
        "10142",
        "10148",
        "10144",
        "10145",
        "10146",
        "10128",
        "10129",
        "10117",
        "10116",
        "10191",
        "10190",
        "10195",
        "10196",
        "10192",
        "10194",
        "10197",
        "10193"
      ],
      "enumTitles": [
        "All subcategories",
        "Motors & accessories → Car & van spare parts",
        "Motors & accessories → GPS & electronics",
        "Motors & accessories → Mechanical tools",
        "Motors & accessories → Motorbike and four-wheeler spare parts",
        "Motors & accessories → Others",
        "Fashion & accessories → Women",
        "Fashion & accessories → Men",
        "Fashion & accessories → Accessories",
        "Fashion & accessories → Jewellery",
        "Fashion & accessories → Beauty",
        "Sports & leisure → Basketball",
        "Sports & leisure → Crafts Arts & crafts",
        "Sports & leisure → Exercise bikes",
        "Sports & leisure → Fitness, running & yoga",
        "Sports & leisure → Golf",
        "Sports & leisure → Handball",
        "Sports & leisure → Mountain & ski",
        "Sports & leisure → Others sports",
        "Sports & leisure → Recreational & board games",
        "Sports & leisure → Rugby",
        "Sports & leisure → Scooters & skating",
        "Sports & leisure → Soccer",
        "Sports & leisure → Swimming & pool accessories",
        "Sports & leisure → Tennis & paddle tennis",
        "Sports & leisure → Volleyball",
        "Sports & leisure → Others",
        "Bikes → Bike accessories",
        "Bikes → Bike components & spare parts",
        "Bikes → Bikes & tricycles",
        "Bikes → Protective gear & clothing",
        "Bikes → Others",
        "Home & garden → Furniture and organization",
        "Home & garden → Bathroom and accessories",
        "Home & garden → Kitchen",
        "Home & garden → Decoration and mirrors",
        "Home & garden → Lighting",
        "Home & garden → Garden and outdoors",
        "Home & garden → Heating and air conditioning",
        "Home & garden → Pet supplies",
        "Appliances → Kitchen appliances",
        "Appliances → Laundry & ironing",
        "Appliances → Replacement parts",
        "Appliances → Small appliances",
        "Appliances → Vitroceramic hobs",
        "Appliances → Others",
        "Movies, books & music → Books, comics & magazines",
        "Movies, books & music → Movies & series",
        "Movies, books & music → Music",
        "Baby & child → Baby feeding",
        "Baby & child → Baby furniture",
        "Baby & child → Baby transport",
        "Baby & child → Bath accessories",
        "Baby & child → Children's clothes",
        "Baby & child → Children's costumes",
        "Baby & child → Cots & beds",
        "Baby & child → High chairs & baby walkers",
        "Baby & child → Maternity",
        "Baby & child → Safety & care",
        "Baby & child → School supplies",
        "Baby & child → Toys, games & teddies",
        "Baby & child → Others",
        "Collectibles & Art → Antiques",
        "Collectibles & Art → Cars & motorbikes",
        "Collectibles & Art → Coins & bills",
        "Collectibles & Art → Desk supplies",
        "Collectibles & Art → Flags",
        "Collectibles & Art → Handcrafts & decoration",
        "Collectibles & Art → Key holders",
        "Collectibles & Art → Magnets",
        "Collectibles & Art → Playing cards",
        "Collectibles & Art → Postcards & souvenirs",
        "Collectibles & Art → Sporting collectibles",
        "Collectibles & Art → Stamp collecting",
        "Collectibles & Art → Toy collecting",
        "Collectibles & Art → Wartime collectibles",
        "Collectibles & Art → Watches",
        "Collectibles & Art → Others",
        "Construction → Balconies",
        "Construction → Doors & windows",
        "Construction → Electricity & home lighting",
        "Construction → Flooring & paving",
        "Construction → Hardware",
        "Construction → Ladder & scaffoldings",
        "Construction → Paints & varnishes",
        "Construction → Tools & machinery",
        "Construction → Wood & other materials",
        "Construction → Others",
        "Agriculture & industrial → Agriculture & farming",
        "Agriculture & industrial → Industry",
        "Jobs → Job offers",
        "Jobs → Job seeking",
        "Services → Carers & babysitters",
        "Services → Classes & lessons",
        "Services → Cleaning services",
        "Services → Housework services",
        "Services → Moving & transport",
        "Services → Repairs",
        "Services → Therapies & personal growth",
        "Services → Others"
      ],
      "prefill": "",
      "title": "Subcategory",
      "type": "string"
    },
    "timeFilter": {
      "default": "",
      "description": "Only listings posted within this window (mode=search).",
      "editor": "select",
      "enum": [
        "",
        "today",
        "lastWeek",
        "lastMonth"
      ],
      "enumTitles": [
        "Any time",
        "Today",
        "Last 7 days",
        "Last 30 days"
      ],
      "prefill": "",
      "title": "Posted within",
      "type": "string"
    }
  },
  "required": [
    "mode"
  ],
  "schemaVersion": 1,
  "title": "Wallapop Scraper Input",
  "type": "object"
}
