{
  "openapi": "3.0.1",
  "info": {
    "title": "Expedia Scraper - Hotels, Flights, Cars & Packages",
    "description": "Extract Expedia hotel, flight, car rental, vacation package and activity offers from regional sites. Get prices, ratings and listing URLs. Pay per delivered row plus a start fee; cruises are unavailable.",
    "version": "0.2",
    "x-build-id": "fgToHzQBDKUvshmNQ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lentic_clockss~expedia-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lentic_clockss-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/lentic_clockss~expedia-scraper/runs": {
      "post": {
        "operationId": "runs-sync-lentic_clockss-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/lentic_clockss~expedia-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-lentic_clockss-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": {
          "destination": {
            "title": "Destination",
            "type": "string",
            "description": "City or region for hotels, cars, packages or activities, or the arrival city or airport for flights. An empty input uses the small hotel example."
          },
          "regionId": {
            "title": "Region ID",
            "pattern": "^\\s*[0-9]*\\s*$",
            "type": "string",
            "description": "Numeric Expedia region identifier, such as 178293 for New York. Use it to specify or refine a destination; flights still require destination text."
          },
          "service": {
            "title": "Travel service",
            "enum": [
              "hotels",
              "flights",
              "cars",
              "packages",
              "activities"
            ],
            "type": "string",
            "description": "Choose hotels, flights, cars, packages or activities. Flights require an origin and destination, and packages require an origin plus a destination or region ID.",
            "default": "hotels"
          },
          "origin": {
            "title": "Origin",
            "type": "string",
            "description": "Departure city or airport, such as JFK or Chicago (ORD). Required for flights and vacation packages; not used for hotels, cars or activities."
          },
          "domain": {
            "title": "Expedia Domain",
            "pattern": "^\\s*(https?://)?(www\\.)?expedia\\.[a-zA-Z.]{2,10}/?\\s*$",
            "type": "string",
            "description": "Regional Expedia host (e.g. www.expedia.com, www.expedia.co.uk, www.expedia.com.au).",
            "default": "www.expedia.com"
          },
          "checkin": {
            "title": "Check-in / Pickup Date",
            "pattern": "^\\s*([0-9]{4}-[0-9]{2}-[0-9]{2})?\\s*$",
            "type": "string",
            "description": "YYYY-MM-DD for hotels, cars and packages, today or later. Leave empty to search 3 weeks from today."
          },
          "checkout": {
            "title": "Check-out / Dropoff Date",
            "pattern": "^\\s*([0-9]{4}-[0-9]{2}-[0-9]{2})?\\s*$",
            "type": "string",
            "description": "YYYY-MM-DD, after the check-in date. Leave empty for a 2-night stay."
          },
          "departureDate": {
            "title": "Flight Departure Date",
            "pattern": "^\\s*([0-9]{4}-[0-9]{2}-[0-9]{2})?\\s*$",
            "type": "string",
            "description": "YYYY-MM-DD for flights, today or later. Leave empty for 4 weeks from today."
          },
          "returnDate": {
            "title": "Flight Return Date",
            "pattern": "^\\s*([0-9]{4}-[0-9]{2}-[0-9]{2})?\\s*$",
            "type": "string",
            "description": "YYYY-MM-DD when tripType=roundtrip, after the departure date. Leave empty for a 7-day trip."
          },
          "tripType": {
            "title": "Flight Trip Type",
            "enum": [
              "oneway",
              "roundtrip"
            ],
            "type": "string",
            "description": "oneway or roundtrip for flights",
            "default": "oneway"
          },
          "adults": {
            "title": "Adults",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Number of adult travelers",
            "default": 2
          },
          "children": {
            "title": "Children",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Number of children",
            "default": 0
          },
          "rooms": {
            "title": "Rooms",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Number of hotel rooms",
            "default": 1
          },
          "maxResults": {
            "title": "Maximum rows per destination or route",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum rows for one destination search or route: default 70, with larger requests collected in parts of 70 and fewer rows when unavailable. Your maximum total charge also limits delivery; Free plan users get up to 200 rows per run and 10 runs of this Actor.",
            "default": 70
          },
          "currency": {
            "title": "Currency",
            "type": "string",
            "description": "Optional ISO currency override. Leave empty to derive it from the Expedia domain.",
            "default": ""
          },
          "locale": {
            "title": "Locale",
            "type": "string",
            "description": "Optional Expedia locale override (e.g. en_US). Leave empty to derive it from the domain.",
            "default": ""
          },
          "sort": {
            "title": "Hotel Sort",
            "type": "string",
            "description": "Hotel result order, such as RECOMMENDED. Leave the default unless you know the Expedia sort value you need.",
            "default": "RECOMMENDED"
          },
          "includeSponsored": {
            "title": "Include Sponsored Ads",
            "type": "boolean",
            "description": "Include sponsored ad cards in results on the HTML page lanes; the primary JSON channel serves no sponsored cards, so nothing is filtered there.",
            "default": false
          },
          "proxyCountry": {
            "title": "Legacy country setting",
            "type": "string",
            "description": "Leave empty. This compatibility field does not override the country selected by domain.",
            "default": ""
          },
          "workerBaseUrl": {
            "title": "Developer test setting",
            "type": "string",
            "description": "Leave empty. Used only by the developer for testing.",
            "default": ""
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}