{
  "openapi": "3.0.1",
  "info": {
    "title": "Vrbo & Expedia Scraper - Vacation Rentals, Hotels & Reviews",
    "description": "Scrape Vrbo vacation rentals and Expedia hotels by destination and dates: nightly and total prices, ratings, bedrooms, sleeps, photos, map position, full amenities, house rules, check-in times, cancellation terms, descriptions and guest reviews. 18 country editions.",
    "version": "0.1",
    "x-build-id": "1ZHKUIyPw2HvzWLh6"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/automly~vrbo-expedia-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-automly-vrbo-expedia-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/automly~vrbo-expedia-scraper/runs": {
      "post": {
        "operationId": "runs-sync-automly-vrbo-expedia-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/automly~vrbo-expedia-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-automly-vrbo-expedia-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": {
          "dataType": {
            "title": "What to scrape",
            "enum": [
              "listings",
              "details",
              "reviews"
            ],
            "type": "string",
            "description": "Search results: one row per property found, with prices for your dates. Property details: the search results (or property links) with the full description, all amenities, house rules, check-in and check-out times, cancellation terms and the host business. Reviews: guest reviews of the properties found or linked.",
            "default": "listings"
          },
          "site": {
            "title": "Site",
            "enum": [
              "vrbo",
              "expedia",
              "both"
            ],
            "type": "string",
            "description": "Vrbo lists vacation homes, Expedia hotels plus many rentals. Both: each destination is searched on both sites and Max results is shared equally between them.",
            "default": "vrbo"
          },
          "destinations": {
            "title": "Destinations",
            "type": "array",
            "description": "Cities, regions or areas, one per line, as you would type them on the site (\"Destin, Florida\", \"Lake Tahoe\", \"Paris\").",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Property links",
            "type": "array",
            "description": "Vrbo or Expedia property pages (vrbo.com/969667, expedia.com/...h1724251.Hotel-Information) or property IDs, for Property details or Reviews.",
            "items": {
              "type": "string"
            }
          },
          "checkIn": {
            "title": "Check-in",
            "type": "string",
            "description": "Arrival date. Leave empty for 30 days from today."
          },
          "checkOut": {
            "title": "Check-out",
            "type": "string",
            "description": "Departure date. Leave empty for a 3-night stay."
          },
          "adults": {
            "title": "Adults",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Adults staying.",
            "default": 2
          },
          "childrenAges": {
            "title": "Children's ages",
            "type": "array",
            "description": "One age per child (0 to 17), like 4 and 9.",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "How many rows to save in the whole run, across all destinations, links and sites. Set 0 for everything the searches list.",
            "default": 100
          },
          "minPrice": {
            "title": "Minimum price per night",
            "minimum": 0,
            "type": "integer",
            "description": "In the site edition's currency."
          },
          "maxPrice": {
            "title": "Maximum price per night",
            "minimum": 0,
            "type": "integer",
            "description": "In the site edition's currency."
          },
          "minBedrooms": {
            "title": "Minimum bedrooms",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "At least this many bedrooms (Expedia's choices stop at 4+)."
          },
          "propertyTypes": {
            "title": "Property types",
            "type": "array",
            "description": "Only these kinds of property. Motel, B&B, inn, hostel, aparthotel and townhouse exist on Expedia only.",
            "items": {
              "type": "string",
              "enum": [
                "house",
                "apartment",
                "cabin",
                "cottage",
                "villa",
                "chalet",
                "lodge",
                "guest_house",
                "hotel",
                "resort",
                "boat",
                "rv",
                "castle",
                "motel",
                "bed_and_breakfast",
                "inn",
                "hostel",
                "apart_hotel",
                "townhouse"
              ]
            }
          },
          "amenities": {
            "title": "Amenities",
            "type": "array",
            "description": "Properties with all of these. Private pool and dishwasher are Vrbo filters; gym, spa, restaurant and airport shuttle Expedia ones.",
            "items": {
              "type": "string",
              "enum": [
                "pool",
                "private_pool",
                "heated_pool",
                "hot_tub",
                "wifi",
                "air_conditioning",
                "kitchen",
                "washer_dryer",
                "parking",
                "pets_allowed",
                "fireplace",
                "balcony",
                "grill",
                "ev_charger",
                "crib",
                "beachfront",
                "dishwasher",
                "gym",
                "spa",
                "restaurant",
                "airport_shuttle"
              ]
            }
          },
          "minRating": {
            "title": "Minimum guest rating",
            "enum": [
              "any",
              "7",
              "8",
              "9"
            ],
            "type": "string",
            "description": "Guest rating out of 10.",
            "default": "any"
          },
          "starRatings": {
            "title": "Hotel stars (Expedia)",
            "type": "array",
            "description": "Only hotels with these star ratings.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5"
              ]
            }
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "recommended",
              "price_low",
              "price_high",
              "rating",
              "review_count",
              "star_rating"
            ],
            "type": "string",
            "description": "Order of the search results.",
            "default": "recommended"
          },
          "country": {
            "title": "Site edition",
            "enum": [
              "US",
              "AU",
              "DE",
              "GB",
              "CA",
              "NZ",
              "IE",
              "IN",
              "SG",
              "JP",
              "FR",
              "ES",
              "IT",
              "NL",
              "MX"
            ],
            "type": "string",
            "description": "The country site to read: it sets the prices' currency and the language of texts. Vrbo has the United States, Australia and Germany editions.",
            "default": "US"
          },
          "reviewsSortBy": {
            "title": "Reviews order",
            "enum": [
              "newest",
              "relevant",
              "highest",
              "lowest"
            ],
            "type": "string",
            "description": "For Reviews.",
            "default": "newest"
          },
          "maxReviewsPerProperty": {
            "title": "Max reviews per property",
            "minimum": 0,
            "type": "integer",
            "description": "For Reviews: at most this many per property. 0 = all of them (up to Max results).",
            "default": 0
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "The default works for most runs. If results come back empty, try a different proxy option.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}