{
  "openapi": "3.0.1",
  "info": {
    "title": "Travel & Hotel Intelligence",
    "description": "A unified Apify actor that scrapes hotel and short-let pricing from Airbnb, Booking.com, Google Hotels, and Trivago, returning all records in a single normalized schema. This tool is designed for rate shopping, price-comparison dashboards, and revenue-management feeds.",
    "version": "0.0",
    "x-build-id": "qzLVleLfHBQiQSnv7"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/moving_beacon-owner1~travel-hotel-intelligence/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-moving_beacon-owner1-travel-hotel-intelligence",
        "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/moving_beacon-owner1~travel-hotel-intelligence/runs": {
      "post": {
        "operationId": "runs-sync-moving_beacon-owner1-travel-hotel-intelligence",
        "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/moving_beacon-owner1~travel-hotel-intelligence/run-sync": {
      "post": {
        "operationId": "run-sync-moving_beacon-owner1-travel-hotel-intelligence",
        "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": {
          "platform": {
            "title": "Platform",
            "enum": [
              "airbnb",
              "booking-search",
              "booking-calendar",
              "google",
              "trivago"
            ],
            "type": "string",
            "description": "Select the platform to scrape when using single-platform mode. The platform can also be detected automatically from supported URLs.",
            "default": "airbnb"
          },
          "jobs": {
            "title": "Multiple Scraping Jobs",
            "type": "array",
            "description": "Optional list of platform-specific scraping jobs. When this array contains jobs, it takes priority over single-platform settings.",
            "items": {
              "type": "object"
            },
            "default": []
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "List of hotel listing or search URLs. Used for Airbnb listing mode and Booking.com search or calendar modes.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "searchUrl": {
            "title": "Airbnb Search URL",
            "type": "string",
            "description": "Airbnb search results URL. The scraper extracts unique room URLs by navigating the search results.",
            "default": "https://www.airbnb.com/s/Cardiff--United-Kingdom/homes"
          },
          "startUrl": {
            "title": "Trivago Search URL",
            "type": "string",
            "description": "Trivago hotel search URL containing the destination, travel dates, guest count, and search filters.",
            "default": "https://www.trivago.co.uk/en-GB/srl/hotels-cardiff-united-kingdom?search=200-21013;dr-20260710-20260711;drs-40;pa-2;rc-1-2"
          },
          "location": {
            "title": "Google Hotels — Location",
            "type": "string",
            "description": "Destination to search for hotels, such as London, Paris, Cardiff, or a specific neighborhood.",
            "default": "London"
          },
          "numberOfLinks": {
            "title": "Airbnb — Listings to Collect",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum number of unique Airbnb room URLs to collect from the search results.",
            "default": 20
          },
          "checkInDate": {
            "title": "Airbnb — First Check-in Date",
            "type": "string",
            "description": "First check-in date in YYYY-MM-DD format. Used as the starting date for Airbnb rolling availability searches.",
            "default": "2026-07-01"
          },
          "startDate": {
            "title": "Booking Search — Start Date",
            "type": "string",
            "description": "First Booking.com check-in date in YYYY-MM-DD format.",
            "default": "2026-07-01"
          },
          "numberOfDays": {
            "title": "Airbnb — Number of Check-in Dates",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Number of consecutive Airbnb check-in dates to query. Each date represents a rolling availability search window.",
            "default": 30
          },
          "days": {
            "title": "Booking / Trivago — Number of Days",
            "minimum": 1,
            "maximum": 90,
            "type": "integer",
            "description": "Number of consecutive check-in dates to scan for Booking.com search and Trivago scrapers.",
            "default": 7
          },
          "stayNights": {
            "title": "Airbnb — Stay Length",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Number of nights per Airbnb booking window. Each subsequent search window moves forward by one day.",
            "default": 1
          },
          "targetMonth": {
            "title": "Booking Calendar — Target Month",
            "type": "string",
            "description": "Target month for Booking.com calendar pagination. Use YYYY-MM format or a month name such as December 2026.",
            "default": "2026-12"
          },
          "pages": {
            "title": "Google Hotels — Pages",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Maximum number of Google Travel hotel search result pages to retrieve.",
            "default": 5
          },
          "hotelClass": {
            "title": "Google Hotels — Star Rating Filter",
            "enum": [
              "any",
              "class_2",
              "class_3",
              "class_4",
              "class_5"
            ],
            "type": "string",
            "description": "Filter Google Hotels results by hotel star classification. Select any to include all classifications.",
            "default": "any"
          },
          "currency": {
            "title": "Currency",
            "type": "string",
            "description": "ISO 4217 currency code used for price requests and fallback price parsing, such as USD, GBP, or EUR.",
            "default": "USD"
          },
          "adults": {
            "title": "Adults",
            "minimum": 1,
            "maximum": 16,
            "type": "integer",
            "description": "Number of adults included in the hotel or accommodation search.",
            "default": 2
          },
          "children": {
            "title": "Children",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Number of children included in Airbnb accommodation searches.",
            "default": 0
          },
          "pets": {
            "title": "Pets",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Number of pets included in Airbnb searches. May affect prices for pet-friendly properties.",
            "default": 0
          },
          "concurrency": {
            "title": "Airbnb — Concurrent API Requests",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Number of Airbnb property detail API requests to execute simultaneously. Lower this value if rate limits occur.",
            "default": 6
          },
          "concurrentJobs": {
            "title": "Concurrent Jobs",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Maximum number of independent platform jobs to execute simultaneously. Higher values increase resource usage and may trigger platform rate limits.",
            "default": 1
          },
          "verbose": {
            "title": "Verbose Logging",
            "type": "boolean",
            "description": "Enable detailed debug logging to help diagnose scraper errors, network failures, and platform responses.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Apify proxy configuration. Residential proxies are recommended for Booking.com and other platforms with anti-bot protection.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}