{
  "openapi": "3.0.1",
  "info": {
    "title": "Expedia Hotel Rate & Guest Rating Finder",
    "description": "Searches Expedia for a destination and travel dates and returns hotel names, nightly and total pricing, guest ratings, neighborhoods, and promotional badges.",
    "version": "1.0",
    "x-build-id": "omOFbmXA6vxSUIWfn"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dataspryva~expedia-hotel-rate-and-guest-rating-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dataspryva-expedia-hotel-rate-and-guest-rating-finder",
        "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/dataspryva~expedia-hotel-rate-and-guest-rating-finder/runs": {
      "post": {
        "operationId": "runs-sync-dataspryva-expedia-hotel-rate-and-guest-rating-finder",
        "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/dataspryva~expedia-hotel-rate-and-guest-rating-finder/run-sync": {
      "post": {
        "operationId": "run-sync-dataspryva-expedia-hotel-rate-and-guest-rating-finder",
        "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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "urls"
            ],
            "type": "string",
            "description": "Search by destination, or scrape Expedia hotel and search URLs/IDs.",
            "default": "search"
          },
          "destination": {
            "title": "Destination",
            "type": "string",
            "description": "City, area, landmark, airport, or hotel name to search (mode=search). Examples: New York, London, Tokyo, Times Square."
          },
          "destinationId": {
            "title": "Destination ID",
            "type": "string",
            "description": "Optional Expedia region ID to skip destination lookup (mode=search). Use only if you already know the region ID."
          },
          "startUrls": {
            "title": "Hotel or search URLs",
            "type": "array",
            "description": "Expedia hotel pages, Hotel-Search links, share links, or bare hotel IDs such as h17117062 or 17117062 (mode=urls).",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "checkIn": {
            "title": "Check-in date",
            "type": "string",
            "description": "YYYY-MM-DD. Leave empty to use 30 days from today.",
            "default": ""
          },
          "checkOut": {
            "title": "Check-out date",
            "type": "string",
            "description": "YYYY-MM-DD. Leave empty to use 2 nights after check-in.",
            "default": ""
          },
          "adults": {
            "title": "Adults per room",
            "minimum": 1,
            "maximum": 14,
            "type": "integer",
            "description": "Adult guests per room (1-14).",
            "default": 2
          },
          "childrenAges": {
            "title": "Children ages",
            "type": "array",
            "description": "One age (0-17) per child. Leave empty for no children.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "rooms": {
            "title": "Rooms",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Number of rooms (1-8).",
            "default": 1
          },
          "maxItems": {
            "title": "Maximum hotels",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hard cap on hotel records (1-1000). Expedia returns up to 500 per request; larger caps use nextSubSet pagination.",
            "default": 20
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "recommended",
              "priceLowToHigh",
              "priceHighToLow",
              "distance",
              "guestRating",
              "starRating"
            ],
            "type": "string",
            "description": "Order of the hotel search results.",
            "default": "recommended"
          },
          "starRatings": {
            "title": "Star ratings",
            "type": "array",
            "description": "Only these star classes (1-5). Leave empty for all stars.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5"
              ],
              "enumTitles": [
                "1 star",
                "2 stars",
                "3 stars",
                "4 stars",
                "5 stars"
              ]
            },
            "default": []
          },
          "minGuestRating": {
            "title": "Minimum guest rating",
            "enum": [
              "any",
              "7+",
              "8+",
              "9+"
            ],
            "type": "string",
            "description": "Minimum guest review score on Expedia's 10-point scale.",
            "default": "any"
          },
          "minPrice": {
            "title": "Minimum nightly price",
            "minimum": 0,
            "maximum": 100000,
            "type": "number",
            "description": "Minimum nightly price in USD. Hotels without a nightly price are skipped when a price limit is set."
          },
          "maxPrice": {
            "title": "Maximum nightly price",
            "minimum": 0,
            "maximum": 100000,
            "type": "number",
            "description": "Maximum nightly price in USD. Hotels without a nightly price are skipped when a price limit is set."
          },
          "propertyType": {
            "title": "Property type",
            "enum": [
              "any",
              "hotels",
              "vacationRentals",
              "hotel",
              "motel",
              "resort",
              "apartment",
              "hostel",
              "bedAndBreakfast",
              "guesthouse",
              "villa",
              "vacationHome",
              "lodge",
              "cottage",
              "cabin"
            ],
            "type": "string",
            "description": "Restrict results to a type of place.",
            "default": "any"
          },
          "amenities": {
            "title": "Amenities",
            "type": "array",
            "description": "Only hotels with all selected amenities. Leave empty for no amenity filter.",
            "items": {
              "type": "string",
              "enum": [
                "wifi",
                "pool",
                "gym",
                "parking",
                "breakfast",
                "petFriendly",
                "spa",
                "restaurant",
                "airConditioning",
                "kitchen",
                "hotTub",
                "airportShuttle",
                "washerDryer",
                "balcony",
                "evCharging"
              ],
              "enumTitles": [
                "WiFi",
                "Pool",
                "Gym",
                "Parking",
                "Breakfast",
                "Pet friendly",
                "Spa",
                "Restaurant",
                "Air conditioning",
                "Kitchen",
                "Hot tub",
                "Airport shuttle",
                "Washer and dryer",
                "Balcony",
                "EV charging"
              ]
            },
            "default": []
          },
          "freeCancellationOnly": {
            "title": "Free cancellation only",
            "type": "boolean",
            "description": "Only return properties with a fully refundable rate.",
            "default": false
          },
          "availableOnly": {
            "title": "Available only",
            "type": "boolean",
            "description": "Only return properties with rooms available for the selected dates.",
            "default": false
          },
          "propertyName": {
            "title": "Property name",
            "type": "string",
            "description": "Filter by property name, for example Marriott or Hilton."
          },
          "includePropertyDetails": {
            "title": "Include property details",
            "type": "boolean",
            "description": "Add exact star class, address, coordinates, full amenities, policies, and gallery images. This fetches one property page per hotel (mode=search).",
            "default": true
          },
          "includeRoomRates": {
            "title": "Include room rates",
            "type": "boolean",
            "description": "Add room types, live nightly rates, payment policy, and cancellation policy for each hotel. This makes one extra request per hotel.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}