{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Hotels Prices Scraper & API - OTA Rates, Hotel Details",
    "description": "Google Hotels API: hotel prices by city, hotel name or URL for your dates. One row per hotel: nightly rate, stay total, taxes, deals, availability, rating. Optional OTA rates (Booking.com, Expedia, Agoda, official site): rate parity, price comparison, price tracking. Free: address, phone, amenities.",
    "version": "1.22",
    "x-build-id": "lySrXOfPnYOMFlItl"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/kestrel~google-hotels-prices/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-kestrel-google-hotels-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/kestrel~google-hotels-prices/runs": {
      "post": {
        "operationId": "runs-sync-kestrel-google-hotels-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/kestrel~google-hotels-prices/run-sync": {
      "post": {
        "operationId": "run-sync-kestrel-google-hotels-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": "Places",
            "uniqueItems": true,
            "type": "array",
            "description": "Place searches as typed into Google Hotels, e.g. [\"hotels in Lisbon\"], [\"hotels near Times Square, New York\"], [\"5-star hotels Bangkok Sukhumvit\"]. Returns up to maxHotels hotels per place. Write the place exactly and add the city or country when it is ambiguous (\"hotels in Barcelona Spain\"). When Google cannot place a query, or names no place for it (from datacenter IPs \"hotels\" or \"hotels near Times Square\" were answered with hotels near the proxy, in Phoenix), the run reports that query as \"not found\" on its status row and charges nothing for it. A Google Travel or Google search URL pasted here is read as its search text (its own dates and filters are not: set them in this input, and the status row says so), and a hotel's own link is priced as that hotel. The status row's `place` is Google's own name for the place it searched (\"Times Square\" -> \"New York\"), and spread_km plus each hotel's lat/lng show where the hotels are.",
            "items": {
              "type": "string"
            }
          },
          "hotels": {
            "title": "Specific hotels (URL, Maps link or place id)",
            "uniqueItems": true,
            "type": "array",
            "description": "Exact hotels, each as a Google Hotels URL (https://www.google.com/travel/hotels/entity/ChkI…) or token, a Google Maps link of the hotel (one with the place in it: …/data=…!1s0x…:0x…, or https://maps.google.com/?cid=…), its Google Maps place id (\"ChIJ…\", also \"place_id:ChIJ…\") or a Maps share link (https://maps.app.goo.gl/…). Maps links and place ids are resolved exactly to the property, never by name; a place that is not a hotel is reported free. Use to price the SAME hotels every day: pass the entity_id, google_url or maps_url of rows from an earlier run. Filters and maxHotels do not apply. Rows carry the tax breakdown; add includeDetails for amenities, address and phone.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "hotelNames": {
            "title": "Hotels by name",
            "uniqueItems": true,
            "type": "array",
            "description": "Exact hotels by name, no URL needed, e.g. [\"Hyatt Regency Lisbon\", \"Altis Grand Hotel Lisbon\"] (add the city; \"Hotel Artemide, Rome\" with a comma works too). Use for \"what does each booking site charge for hotel X\" and for rate parity. A Google Maps place link or place id works too, and names in Chinese, Japanese, Korean or Thai. A name never bills a neighbour: only the words that say which property it is count (not \"hotel\", \"villa\", \"inn\", \"suites\" or the town), and when Google lists no such property, or several properties match (\"Hilton Lisbon\"), the name is reported \"not found\" in a status row and costs nothing: then pass the hotel's Google Maps link or place id in `hotels`, which name exactly one property. Filters and maxHotels do not apply to named hotels.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "checkIn": {
            "title": "Check-in",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2}([T ][0-9:.]+(Z|[+-]\\d{2}:?\\d{2})?)?|\\+?\\s*\\d+\\s*(d|days?|w|weeks?|m|months?|y|years?)|today|tomorrow)$",
            "type": "string",
            "description": "Check-in date: \"2026-10-03\" (YYYY-MM-DD), or relative to the day the run starts: \"30 days\", \"6 weeks\", \"tomorrow\". Use relative dates for scheduled runs (\"track prices daily\"): the input never needs editing. A past date is rejected before anything is charged. Left out, the run prices a 2-night stay 30 days out and says so on the run card."
          },
          "checkOut": {
            "title": "Check-out",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2}([T ][0-9:.]+(Z|[+-]\\d{2}:?\\d{2})?)?|\\+?\\s*\\d+\\s*(d|days?|w|weeks?|m|months?|y|years?)|today|tomorrow)$",
            "type": "string",
            "description": "Check-out date, after checkIn: \"2026-10-06\", or relative: \"32 days\". Nights = checkOut minus checkIn, so checkIn \"30 days\" + checkOut \"32 days\" = a 2-night stay starting 30 days after each run. Left out (with a checkIn), one night."
          },
          "adults": {
            "title": "Adults",
            "minimum": 1,
            "maximum": 16,
            "type": "integer",
            "description": "Adults in the room, 1 to 6 for hotels, up to 16 for vacationRentals, e.g. 2 (default 2). Google prices ONE room (or one rental) for the whole party: there is no rooms input, and above 6 adults Google returns no hotel price at all.",
            "default": 2
          },
          "childrenAges": {
            "title": "Children (ages)",
            "type": "array",
            "description": "Ages of the children in the same room, e.g. [5, 9] for two children aged 5 and 9. Empty (default) = no children. The price is for one room holding the adults plus these children.",
            "default": []
          },
          "currency": {
            "title": "Currency",
            "pattern": "^[A-Za-z]{3}$",
            "minLength": 3,
            "maxLength": 3,
            "type": "string",
            "description": "ISO 4217 code for every price in the run, e.g. \"EUR\". Any currency Google supports: USD, EUR, GBP, JPY, THB, SGD, AUD, AED, … Left empty the actor uses \"USD\". When the user names no currency, pass the destination's (\"EUR\" for Paris).",
            "default": "USD"
          },
          "country": {
            "title": "Market",
            "type": "string",
            "description": "Google market (gl): any 2-letter country code, e.g. \"gb\", \"pt\", \"jp\". Default \"us\". It is the country of the person searching, NOT the destination: keep \"us\" unless the user wants prices as seen from a country. It changes which booking sites are listed (Klook, Traveloka, Wego in Asian markets).",
            "default": "us"
          },
          "maxHotels": {
            "title": "Max hotels per place",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hotels to return per place search and stay, 1 to 1000, e.g. 50 (default 20). Google lists up to about 1,000 hotels for a city (1,018 for Lisbon, measured 2026-11-19); this actor pages on until maxHotels or Google's last page. Filters and sortBy are applied by Google BEFORE this cap: 30 with sortBy \"lowest_price\" = the 30 cheapest matching hotels, and fewer come back only when fewer match. The main cost control: at most maxHotels × $0.004 per place and stay, plus offer rows while includeOffers is true. Other scrapers' limit, resultsWanted, maxItemsPerQuery, max_results or maxResults set it too (above 1000 they are held to 1000).",
            "default": 20
          },
          "includeOffers": {
            "title": "Fetch every source's rates",
            "type": "boolean",
            "description": "true (DEFAULT) adds separate type=\"offer\" rows at $0.002 each, plus $0.004/hotel. Offers: source, official, nightly, total, currency, link, partner_url; join by entity_id + check_in + check_out. Set false for one lowest price per hotel without OTA rates. For comparison keep true. maxOffersPerHotel=N>0 caps each hotel/stay at $0.004+N×$0.002; 0 is uncapped. official:true marks the hotel site only when Google lists it; a cap can omit it. Links may be null.",
            "default": true
          },
          "maxOffersPerHotel": {
            "title": "Max offer rows per hotel",
            "minimum": 0,
            "maximum": 500,
            "type": "integer",
            "description": "0 (default) = all available offer rows, not a cost cap. N>0 keeps the N cheapest offers per hotel/stay: at most $0.004+N×$0.002 including its hotel row. Example: 10 hotels with N=8 cost at most $0.20. A cap can omit the official-site offer; report a missing direct price rather than concluding parity. Use call-actor callOptions.maxTotalChargeUsd outside input for a run ceiling.",
            "default": 0
          },
          "offerSources": {
            "title": "Only these booking sites",
            "uniqueItems": true,
            "type": "array",
            "description": "Keep only the offer rows of these booking sites, e.g. [\"Booking.com\", \"Expedia\", \"official\"] (\"official\" = the hotel's own website). A site matches by the start of its name in any case: \"booking\" matches Booking.com, while \"Hotels.com\" does not match Hotelscombined.com. Only the kept offers are billed ($0.002 each); hotel rows are unchanged. Empty (default) = every site. Other scrapers' `providers` reads the same.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "sortBy": {
            "title": "Sort by",
            "type": "string",
            "description": "Google Hotels' own order for place searches: \"relevance\" (default), \"lowest_price\", \"highest_rating\", \"most_reviewed\". Use with maxHotels for \"the 30 cheapest\" or \"the 40 best-rated hotels\". Applied to every stay of a sweep separately. \"lowest_price\" is Google Hotels' own cheapest-first order for the stay, and each search's rows then come cheapest first by the all-in price (total_with_taxes) with price_rank, while rank keeps Google's position. Other scrapers' spellings (price_low, lowestPrice, rating, mostReviewed…) read the same; Google has no highest-price or distance order.",
            "default": "relevance"
          },
          "includeDetails": {
            "title": "Hotel details",
            "type": "boolean",
            "description": "true = each hotel row also gets address, phone, Google Maps place_id, long description, amenities by name (about 120, e.g. \"Wi-Fi (free)\", \"Indoor pool\", \"Parking (extra charge)\"), amenities_unavailable, rating_breakdown (5 to 1 stars), review_aspects (Service, Location, Breakfast… with positive and negative counts), external_ratings (Tripadvisor…) and photos. No extra charge. Default false. Also fills star class, rating and coordinates for hotels given by URL.",
            "default": false
          },
          "sweepDays": {
            "title": "Sweep check-in over N more days",
            "minimum": 0,
            "maximum": 120,
            "type": "integer",
            "description": "0 (default) = only the stay above. N = repeat the same length of stay for each of the next N check-in days, e.g. checkIn \"30 days\", checkOut \"32 days\", sweepDays 13 = 14 two-night stays with check-ins 30 to 43 days out. Use for a price calendar or \"which day is cheapest\". Every stay is billed as its own rows, so cost × (N + 1): set includeOffers false to keep it low. Maximum 120: the check-in day and 120 more, about four months of daily rates with every booking site.",
            "default": 0
          },
          "calendarNights": {
            "title": "Price calendar: check-in dates (add-on)",
            "minimum": 0,
            "maximum": 330,
            "type": "integer",
            "description": "0 = off (default). N (1-330) = each delivered hotel's lowest price for N check-in dates from calendarFrom, same nights and guests; one call per hotel however many dates, Google prices about 330 days out. Rows type=calendar: entity_id, check_in, check_out, nightly, total, currency, sold_out, no_rate, min_nights. A date Google prices only for a longer stay is not sold out: it gets min_nights (asked again one and two nights longer) and stays free. $0.0004 per night with a price; others free.",
            "default": 0
          },
          "includeReviews": {
            "title": "Reviews (add-on)",
            "type": "boolean",
            "description": "true = Google Hotels reviews of each delivered hotel. Rows type=review: entity_id, review_id, source, rating, text, text_original, date, date_text, trip_type, travel_group, owner_reply. $0.001 per review delivered; reviews the filters drop are free. Default false.",
            "default": false
          },
          "vacationRentals": {
            "title": "Vacation rentals instead of hotels",
            "type": "boolean",
            "description": "true = place searches in `queries` read Google Hotels' Vacation rentals tab: apartments, houses and villas from the rental sites Google lists. Each `hotel` row is one rental with max_guests, bedrooms, bathrooms, rental_info (\"Entire apartment\", \"Sleeps 4\", \"431 sq ft\") and its card's amenities, priced and billed like a hotel ($0.004, offers $0.002). Use with minBedrooms, minBathrooms, amenities (kitchen, hot_tub, pool…), sortBy, minRating, minPrice/maxPrice and up to 16 adults. Default false.",
            "default": false
          },
          "freeCancellation": {
            "title": "Free cancellation only",
            "type": "boolean",
            "description": "true = only hotels with a free-cancellation rate for the dates. Google then quotes that refundable rate as the hotel's nightly price, and maxPrice applies to it. Hotels given by URL or name are held to it too: their hotel row quotes the cheapest free-cancellation rate (unpriced and free when there is none) and only refundable offer rows come; a site whose cancellation terms Google does not state is left out. Default false. Hotel searches only (the Vacation rentals tab has no such filter).",
            "default": false
          },
          "maxPrice": {
            "title": "Maximum price per night",
            "minimum": 0,
            "type": "number",
            "description": "Highest nightly price in `currency`, e.g. 250 (decimals round up). 0 or empty (default) = no maximum. Google applies it to the nightly price it displays (the `nightly` field), before maxHotels, so hotels above it are never returned or billed. Place searches only; on vacation rentals this actor applies it to `nightly` itself (Google's own rental price filter keeps only a few dozen of thousands).",
            "default": 0
          },
          "minRating": {
            "title": "Guest rating",
            "type": "string",
            "description": "Minimum Google guest rating out of 5: \"3.5\", \"4.0\" or \"4.5\" (Google offers only these steps; a value in between, e.g. 4.2, uses the step below it, \"4\" reads as \"4.0\"). Default \"any\".",
            "default": "any"
          },
          "hotelClass": {
            "title": "Hotel class (stars)",
            "uniqueItems": true,
            "type": "array",
            "description": "Star classes to keep, as strings: [\"4\", \"5\"] = 4-star and 5-star hotels only. Allowed: \"2\", \"3\", \"4\", \"5\". Empty (default) = any class. Hotels only.",
            "items": {
              "type": "string",
              "enum": [
                "2",
                "3",
                "4",
                "5"
              ],
              "enumTitles": [
                "2-star",
                "3-star",
                "4-star",
                "5-star"
              ]
            },
            "default": []
          },
          "amenities": {
            "title": "Amenities",
            "uniqueItems": true,
            "type": "array",
            "description": "Only properties that have ALL of these, e.g. [\"pool\", \"free_breakfast\"]: Google Hotels' own filters. Hotels: free_wifi, free_breakfast, restaurant, bar, kid_friendly, pet_friendly, free_parking, parking, ev_charger, room_service, fitness_center, spa, pool (any pool), indoor_pool, outdoor_pool, air_conditioned, wheelchair_accessible, beach_access, all_inclusive. Vacation rentals: free_wifi, pool, air_conditioned, kid_friendly, pet_friendly, fitness_center, hot_tub, kitchen, patio_or_deck, outdoor_grill, crib, fireplace. Empty (default) = no filter. To LIST each hotel's amenities use includeDetails. Other spellings are read too (\"freeWifi\", \"Free Wi-Fi\", \"Gym\").",
            "items": {
              "type": "string",
              "enumTitles": [
                "Free Wi-Fi",
                "Free breakfast",
                "Restaurant",
                "Bar",
                "Kid friendly",
                "Pet friendly",
                "Free parking",
                "Parking",
                "EV charger",
                "Room service",
                "Fitness center",
                "Spa",
                "Pool",
                "Indoor pool",
                "Outdoor pool",
                "Air conditioned",
                "Wheelchair accessible",
                "Beach access",
                "All inclusive",
                "Hot tub (vacation rentals)",
                "Kitchen (vacation rentals)",
                "Patio or deck (vacation rentals)",
                "Outdoor grill (vacation rentals)",
                "Crib (vacation rentals)",
                "Fireplace (vacation rentals)"
              ],
              "enumSuggestedValues": [
                "free_wifi",
                "free_breakfast",
                "restaurant",
                "bar",
                "kid_friendly",
                "pet_friendly",
                "free_parking",
                "parking",
                "ev_charger",
                "room_service",
                "fitness_center",
                "spa",
                "pool",
                "indoor_pool",
                "outdoor_pool",
                "air_conditioned",
                "wheelchair_accessible",
                "beach_access",
                "all_inclusive",
                "hot_tub",
                "kitchen",
                "patio_or_deck",
                "outdoor_grill",
                "crib",
                "fireplace"
              ]
            },
            "default": []
          },
          "minPrice": {
            "title": "Minimum price per night",
            "minimum": 0,
            "type": "number",
            "description": "Lowest nightly price in `currency`, e.g. 80 (decimals round down). 0 or empty (default) = no minimum. Applied by Google before maxHotels. Place searches only.",
            "default": 0
          },
          "specialOffers": {
            "title": "Special offers only",
            "type": "boolean",
            "description": "true = only hotels Google marks as a deal for the dates; `deal` carries the note (\"23% less than usual\") and `deal_percent` the number. Default false. Hotel searches only.",
            "default": false
          },
          "minBedrooms": {
            "title": "Vacation rentals: minimum bedrooms",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "With vacationRentals: only rentals with at least this many bedrooms (Google's own filter, 0+ to 5+). 0 (default) = any.",
            "default": 0
          },
          "minBathrooms": {
            "title": "Vacation rentals: minimum bathrooms",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "With vacationRentals: only rentals with at least this many bathrooms (Google's own filter, 0+ to 5+). 0 (default) = any.",
            "default": 0
          },
          "minReviews": {
            "title": "Minimum number of reviews",
            "minimum": 0,
            "type": "integer",
            "description": "Place searches: only hotels with at least this many Google reviews, e.g. 100. Applied by this actor to each result before anything is billed; the search reads further pages to fill maxHotels. 0 (default) = any. Hotels given by URL or name are not filtered.",
            "default": 0
          },
          "excludeKeywords": {
            "title": "Leave out hotels whose name contains",
            "type": "string",
            "description": "Place searches: comma-separated words, e.g. \"hostel, apartment\": a hotel whose name contains one is left out before anything is billed (any case, accents ignored), and the search reads further pages to fill maxHotels. Empty (default) = none.",
            "default": ""
          },
          "onlyChanges": {
            "title": "Only what changed since the last run (monitoring)",
            "type": "boolean",
            "description": "For scheduled runs: deliver only the hotels and booking-site offers that are new, or whose price changed, since the previous run with the same input (or the same monitorName), each with `change` (\"new\", \"price_change\", \"available\", \"sold_out\") and `previous_nightly`. Unchanged rows are left out and never charged; the run card and SUMMARY.only_changes count them. The first run delivers everything. The memory is a key-value store named \"google-hotels-prices-monitor\" in your own Apify account. Prices on another basis than last time (before taxes vs all-in) are compared on the all-in total. Same prices per row as any run. Default false.",
            "default": false
          },
          "monitorName": {
            "title": "Monitor name",
            "type": "string",
            "description": "Optional, with onlyChanges: names this monitor's memory, e.g. \"lisbon-weekly\", so it survives edits to the input (more hotels, other filters or dates). Without it the memory belongs to the exact list of places, hotels and names with its guests, currency, market and device.",
            "default": ""
          },
          "priceDropPercent": {
            "title": "Only price drops of at least N% (monitoring)",
            "minimum": 0,
            "maximum": 90,
            "type": "number",
            "description": "With onlyChanges: 0 (default) delivers every price change, up or down, and hotels that sold out. N delivers new hotels and offers, and those whose price fell by at least N% below the price last delivered.",
            "default": 0
          },
          "checkInDates": {
            "title": "Specific check-in dates",
            "type": "array",
            "description": "Instead of one check-in date: price each of these check-in dates, e.g. [\"2026-12-24\", \"2026-12-31\"] or relative ones (\"30 days\"), each a stay as long as checkIn to checkOut (2 nights when those are empty). Past dates are skipped, so a schedule keeps working; sweepDays adds the days after each date. Up to 121 stays per run, each billed as its own rows.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Google language (hl), e.g. \"en\", \"ja\", \"zh-CN\", \"es\", \"de\". Default \"en\". Sets the language of hotel names (where Google has a translation), room names, class labels and deal notes. Queries and hotelNames may be written in any language.",
            "default": "en"
          },
          "offerLevel": {
            "title": "Offer rows per hotel",
            "type": "string",
            "description": "\"sources\" (default) keeps each booking site's lowest rate. \"rooms\" adds room/rate variants, names, max guests and cancellation deadlines, for the 3-5 sites Google features with room-level rates (the other sites stay one lowest-rate row each; the status row says how many sites came with rooms). Observed room-level sample: average 65, high 150 offers/hotel; not a cap. Both modes obey maxOffersPerHotel: N>0 keeps only the N cheapest offers and can omit the official site. Per hotel/stay ≤$0.004+N×$0.002. For a run ceiling use call-actor callOptions.maxTotalChargeUsd, outside input. Ignored when includeOffers=false.",
            "default": "sources"
          },
          "maxHotelsWithOffers": {
            "title": "Booking-site rates for the first N hotels only",
            "minimum": 0,
            "type": "integer",
            "description": "0 (default) = every hotel gets its offer rows. N = only the first N hotels of the run get them (in the order their rows come), e.g. a 100-hotel search with every booking site's rate for its top 10; the other hotels still come with their lowest price. Other scrapers' maxOfferLookups reads the same.",
            "default": 0
          },
          "includePhotos": {
            "title": "Photo gallery (free)",
            "type": "boolean",
            "description": "true = each hotel row also gets Google's photo gallery for the hotel: about 120 photos in up to 7 categories (At a glance, Bedroom, Bathroom, Exterior, Interior, Amenities, Food & Drink) in `photo_gallery`, each with its full-size URL, thumbnail, category, source (owner, visitor or a booking site), width, height and the date it was added, and videos with their video URL; `photos` then lists the full-size URLs, `photos_total` is how many photos Google has of the hotel, and photos.csv has one line per photo. One small extra call per hotel, once per run however many stays. No extra charge. Default false: `photos` has the up to 10 photos of a search card.",
            "default": false
          },
          "maxPhotosPerHotel": {
            "title": "Photos per hotel at most",
            "minimum": 0,
            "type": "integer",
            "description": "0 (default) = every photo there is (up to 10 from a search card, about 120 with includePhotos). N = at most N photos per hotel in `photos` and `photo_gallery`; the gallery's photos come one category at a time in turn, so 14 photos show 2 of each category. A number above 10 (what a search card carries) reads the gallery as includePhotos does. Other scrapers' maxImages reads the same.",
            "default": 0
          },
          "calendarFrom": {
            "title": "Price calendar: first check-in",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2}([T ][0-9:.]+(Z|[+-]\\d{2}:?\\d{2})?)?|\\+?\\s*\\d+\\s*(d|days?|w|weeks?|m|months?|y|years?)|today|tomorrow)?$",
            "type": "string",
            "description": "First calendar check-in: \"2026-12-01\" or relative \"7 days\". Empty (default) = checkIn. Takes effect with calendarNights or calendarTo; stay length = checkOut minus checkIn.",
            "default": ""
          },
          "calendarTo": {
            "title": "Price calendar: last check-in",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2}([T ][0-9:.]+(Z|[+-]\\d{2}:?\\d{2})?)?|\\+?\\s*\\d+\\s*(d|days?|w|weeks?|m|months?|y|years?)|today|tomorrow)?$",
            "type": "string",
            "description": "Last calendar check-in (inclusive), instead of calendarNights: \"2027-01-31\" or \"60 days\". At most 330 dates from calendarFrom, one Google call per hotel. $0.0004 per priced night (30 nights = $0.012/hotel).",
            "default": ""
          },
          "maxReviewsPerHotel": {
            "title": "Max reviews per hotel",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Reviews kept per hotel with includeReviews: 1-5000, default 50. One call reads up to 200. Cost at most $0.001 × this × hotels; the run option maxTotalChargeUsd caps a whole run.",
            "default": 50
          },
          "reviewsSort": {
            "title": "Review order",
            "type": "string",
            "description": "Order reviews are read in: \"newest\" (default), \"most_relevant\", \"highest_rating\", \"lowest_rating\". Newest + reviewsMaxAgeDays stops at the first older review; lowest + reviewsMaxRating finds complaints fast. Also read: relevant, most_recent, highest_score, lowest_score.",
            "default": "newest"
          },
          "reviewsMinRating": {
            "title": "Reviews: minimum rating",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Keep only reviews rated at least this many stars out of 5 (default 1 = all). Applied before billing.",
            "default": 1
          },
          "reviewsMaxRating": {
            "title": "Reviews: maximum rating",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Keep only reviews rated at most this many stars out of 5 (default 5 = all); 2 = complaints only. Applied before billing.",
            "default": 5
          },
          "reviewsMaxAgeDays": {
            "title": "Reviews: newer than N days",
            "minimum": 0,
            "maximum": 3650,
            "type": "integer",
            "description": "Keep only reviews from the last N days (0 = any age, default). Google shows a review's age (\"3 weeks ago\"), so `date` is approximate. Applied before billing.",
            "default": 0
          },
          "device": {
            "title": "Prices as seen on (device)",
            "type": "string",
            "description": "\"desktop\" (default) or \"mobile\": ask Google as a phone does. Google can show phones other prices and booking sites than computers (2026-11-17: Hyatt Regency Lisbon $241 and 12 sites vs $250 and 10 from one network; within $0.30 from Apify's US datacenter IPs). Same rows and price per row; no extra charge.",
            "default": "desktop"
          },
          "autocomplete": {
            "title": "Suggest places and hotels for these texts (free)",
            "type": "array",
            "description": "Partial or ambiguous names to complete, e.g. \"springf\" or \"hyatt regency lisb\": the places, properties and searches Google's own search boxes suggest come as free `suggestion` rows (no event, nothing is priced for them). kind \"place\" (\"Springfield, Massachusetts\", \"Springfield, Oregon\") and kind \"search\": pass `value` in `queries`; kind \"hotel\": pass `value` (its Google Hotels token) in `hotels`. Up to 100 texts per run, two small calls each. A run with only autocomplete texts prices nothing (clear `queries` in the form for that). Other scrapers' search_type \"autocomplete\" with q reads the same.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "sameCountryIp": {
            "title": "Prices as seen from the market country (residential IPs)",
            "type": "boolean",
            "description": "true = Google is asked through Apify residential IPs in the `country` market (e.g. \"gb\"), so prices, sort order, the price filter and the booking sites listed follow what a visitor there sees: the all-in price in most of Europe and Asia, and local sites (Traveloka for an Indonesian hotel came only through Indonesian IPs). No extra charge; slower. Default false: datacenter IPs (US); every priced row still says its basis in price_basis and carries total_base, taxes, fees and total_with_taxes, and a run for another market's `country` gets a tip in its SUMMARY.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Google accepts Apify datacenter proxies for these calls; keep the default. Residential is unnecessary.",
            "default": {
              "useApifyProxy": true
            }
          },
          "sessions": {
            "title": "Parallel proxy sessions",
            "minimum": 1,
            "maximum": 16,
            "type": "integer",
            "description": "Concurrent egress IPs; each is paced at perIp requests per second.",
            "default": 4
          },
          "perIp": {
            "title": "Requests per second per IP",
            "minimum": 0.1,
            "maximum": 2,
            "type": "number",
            "description": "Pace per proxy session. 0.5 is safe; raise carefully.",
            "default": 0.5
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}