{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Vacation Rentals - Vrbo, Airbnb Alternative API",
    "description": "Short-term rentals and Airbnb alternatives from Google Vacation Rentals for any destination and dates. Returns Vrbo prices, nightly and total price, bedrooms, bathrooms, guests, amenities, rating, Booking.com/Expedia rates. Multi-OTA vacation rental listings.",
    "version": "0.7",
    "x-build-id": "hwqi5FtQgOMmZt29G"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/zet46~google-vacation-rentals-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-zet46-google-vacation-rentals-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/zet46~google-vacation-rentals-scraper/runs": {
      "post": {
        "operationId": "runs-sync-zet46-google-vacation-rentals-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/zet46~google-vacation-rentals-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-zet46-google-vacation-rentals-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": {
          "queries": {
            "title": "Destinations or searches",
            "type": "array",
            "description": "City, area or free-text search. 'Lisbon' becomes 'vacation rentals in Lisbon'. You can also write 'villas in Bali' or 'cabins near Lake Tahoe'. Leave empty if you only use hotelUrls.",
            "items": {
              "type": "string"
            }
          },
          "search": {
            "title": "Single search (shortcut)",
            "type": "string",
            "description": "Alias for a single-item 'queries'. Useful when you only have one destination. Ignored if 'queries' is set."
          },
          "hotelNames": {
            "title": "Specific rental names (bulk)",
            "type": "array",
            "description": "List of rental names (one per line). Each name becomes a Google Vacation Rentals search and the top-matching property is scraped. Perfect for bulk tracking of a known 50-100 rental portfolio in a single run without hard-coded URLs. You can combine with 'queries' and 'hotelUrls'.",
            "items": {
              "type": "string"
            }
          },
          "hotelUrls": {
            "title": "Specific rental URLs to track",
            "type": "array",
            "description": "Paste one or more Google Vacation Rentals URLs (https://www.google.com/travel/hotels/entity/...) to scrape only those properties for your dates. Perfect for daily price tracking of a known set of rentals. You can use this instead of 'queries', or alongside it.",
            "items": {
              "type": "string"
            }
          },
          "hotelIds": {
            "title": "Specific Google Rental IDs (bulk)",
            "type": "array",
            "description": "List of Google rental IDs (the opaque token after '/travel/hotels/entity/' in a Google Vacation Rentals URL). Each ID is resolved directly to its entity page — faster and more deterministic than searching by name. The output field 'googleHotelId' from a previous run can be fed straight back in. You can also paste full entity URLs here; they'll be unpacked automatically.",
            "items": {
              "type": "string"
            }
          },
          "checkIn": {
            "title": "Check-in date",
            "type": "string",
            "description": "YYYY-MM-DD or a relative value such as 'today', 'tomorrow', '+30d', '30 days', '6 weeks' or 'today+14'. Default: 14 days from today. Relative values are resolved each run so scheduled jobs always get a fresh forward stay."
          },
          "checkOut": {
            "title": "Check-out date",
            "type": "string",
            "description": "YYYY-MM-DD or a relative value (same formats as checkIn, e.g. '+37d', '31 days', 'today+21'). Default: one night after check-in."
          },
          "adults": {
            "title": "Adults",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Number of adult guests. Google only shows rentals that can accommodate your party.",
            "default": 2
          },
          "children": {
            "title": "Children",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Number of children. For per-age pricing use childrenAges instead.",
            "default": 0
          },
          "childrenAges": {
            "title": "Children ages",
            "type": "array",
            "description": "List of child ages (0 to 17). Overrides 'children' with its length.",
            "items": {
              "type": "string"
            }
          },
          "rooms": {
            "title": "Rooms",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Number of rooms needed. Combined with adults, drives Google's capacity filter.",
            "default": 1
          },
          "currency": {
            "title": "Currency",
            "type": "string",
            "description": "ISO currency code, e.g. USD, EUR, GBP, JPY, VND.",
            "default": "USD"
          },
          "maxHotelsPerQuery": {
            "title": "Max rentals per search",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum rentals returned per search (after filters). Up to 1000. Alias: 'maxItemsPerQuery'.",
            "default": 40
          },
          "maxItemsPerQuery": {
            "title": "Max items per search (alias of maxHotelsPerQuery)",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Alias of 'maxHotelsPerQuery' for compatibility with other scrapers. Per-query item cap. Ignored if 'maxHotelsPerQuery' is also set."
          },
          "onlyWithPrice": {
            "title": "Only rentals with a price",
            "type": "boolean",
            "description": "Skip hotels that show no price for your dates (sold out or no partner offers). Skipped hotels are not charged.",
            "default": false
          },
          "minBedrooms": {
            "title": "Min bedrooms",
            "minimum": 0,
            "type": "integer",
            "description": "Skip (and don't charge for) rentals with fewer bedrooms. Studio = 0."
          },
          "minGuests": {
            "title": "Min guests (sleeps)",
            "minimum": 0,
            "type": "integer",
            "description": "Skip rentals that sleep fewer people."
          },
          "maxPricePerNight": {
            "title": "Max price per night",
            "minimum": 0,
            "type": "integer",
            "description": "Skip rentals above this nightly price (in the chosen currency)."
          },
          "maxTotalPrice": {
            "title": "Max total stay price",
            "minimum": 0,
            "type": "integer",
            "description": "Skip rentals whose total stay price (nights + taxes + fees) is above this value, in the chosen currency. Useful for budget caps on long stays where $200/night x 14 nights still blows a $2500 budget once taxes are added."
          },
          "minTotalPrice": {
            "title": "Min total stay price",
            "minimum": 0,
            "type": "integer",
            "description": "Skip rentals whose total stay price is below this value. Pair with maxTotalPrice for a total-cost band."
          },
          "providerFilter": {
            "title": "Keep only these booking providers",
            "type": "array",
            "description": "Case-insensitive substring match on provider name — e.g. ['vrbo', 'booking', 'airbnb'] keeps only those rows in the 'providers' list and recomputes 'cheapestProvider' from the kept rows. Empty = keep all. Requires 'includeProviderPrices' = true.",
            "items": {
              "type": "string"
            }
          },
          "includeProviderPrices": {
            "title": "Include prices per booking site (Vrbo, Booking.com, ...)",
            "type": "boolean",
            "description": "Also open each rental's price list and return the price from every booking site, cheapest first, with booking links. Adds $0.002 per rental.",
            "default": false
          },
          "sortBy": {
            "title": "Sort results",
            "enum": [
              "",
              "lowest_price",
              "highest_rating",
              "most_reviewed"
            ],
            "type": "string",
            "description": "Sort the returned rows after scraping. 'lowest_price' puts the cheapest rentals first (rentals with no price last); 'highest_rating' puts the best-rated first (ties broken by review count); 'most_reviewed' puts the most-reviewed first. Leave empty to keep Google's organic ranking.",
            "default": ""
          },
          "propertyTypes": {
            "title": "Property type filter",
            "type": "array",
            "description": "Only keep rentals whose property type, class or name contains any of these words (case-insensitive). Examples: 'apartment', 'villa', 'house', 'cabin', 'condo', 'cottage', 'studio'. Empty = keep all.",
            "items": {
              "type": "string"
            }
          },
          "amenityCodes": {
            "title": "Must-have amenities",
            "type": "array",
            "description": "Only keep rentals whose amenity list contains ALL of these words (case-insensitive substring match). Examples: 'pool', 'wifi', 'parking', 'kitchen', 'air conditioning', 'washer', 'pet', 'bbq', 'balcony', 'hot tub'.",
            "items": {
              "type": "string"
            }
          },
          "onlyFreeCancellation": {
            "title": "Only rentals with a free-cancellation option",
            "type": "boolean",
            "description": "Keep only rentals that offer at least one rate with free cancellation. Forces the entity-page fetch — same cost as 'includeProviderPrices'.",
            "default": false
          },
          "onlyEcoCertified": {
            "title": "Only eco-certified listings",
            "type": "boolean",
            "description": "Keep only listings Google flags as independently certified for sustainability. Many vacation rentals do not have this label.",
            "default": false
          },
          "device": {
            "title": "Device",
            "enum": [
              "desktop",
              "mobile"
            ],
            "type": "string",
            "description": "User-Agent for each listing's entity page (where provider prices live). 'desktop' is the default. 'mobile' uses a smartphone UA and sometimes surfaces app-only Vrbo/Booking.com rates that desktop hides. The listing search always uses desktop so the parser matches.",
            "default": "desktop"
          },
          "useResidentialFallback": {
            "title": "Automatic residential proxy fallback",
            "type": "boolean",
            "description": "When Apify datacenter proxies fail twice in a row, switch to Apify RESIDENTIAL proxies for the rest of the run. The row will have 'proxyFallback': true. Keep on for best success rate. Turn off to stay on datacenter proxies only.",
            "default": true
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Google interface language (hl), e.g. en, de, fr, ja.",
            "default": "en"
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "Google country (gl), e.g. us, gb, de. Affects which booking partners and prices Google shows.",
            "default": "us"
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify Proxy (datacenter) is used by default: it returns more complete data than direct requests. You normally don't need to change this.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}