{
  "openapi": "3.0.1",
  "info": {
    "title": "Agoda Hotel Scraper – Prices, Rates & Availability",
    "description": "Scrape Agoda hotel prices, rates and availability for any city or district and your travel dates. Get nightly and total price in 50+ currencies, star rating, guest score, review count, property type, address, GPS and photo. Agoda API alternative for price monitoring. Export to JSON, CSV or Excel.",
    "version": "0.0",
    "x-build-id": "vaaOHoeCu03FieXqM"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/knagymate~fast-agoda-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-knagymate-fast-agoda-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/knagymate~fast-agoda-scraper/runs": {
      "post": {
        "operationId": "runs-sync-knagymate-fast-agoda-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/knagymate~fast-agoda-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-knagymate-fast-agoda-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",
        "required": [
          "search"
        ],
        "properties": {
          "search": {
            "title": "Destination",
            "type": "string",
            "description": "City or district / area, e.g. Bangkok, Paris, Shinjuku or Sukhumvit. If you type a hotel name, the city of that hotel is searched.",
            "default": "new york"
          },
          "maxItems": {
            "title": "Max properties",
            "minimum": 10,
            "type": "integer",
            "description": "Maximum number of properties (hotels, apartments, homes) to scrape.",
            "default": 100
          },
          "checkIn": {
            "title": "Check-in date",
            "type": "string",
            "description": "Check-in date, YYYY-MM-DD (UTC, like Agoda). Leave both dates empty to search a 1-night stay 7 days from today."
          },
          "checkOut": {
            "title": "Check-out date",
            "type": "string",
            "description": "Check-out date, YYYY-MM-DD (UTC), later than the check-in date."
          },
          "rooms": {
            "title": "Number of rooms",
            "minimum": 1,
            "type": "integer",
            "description": "Number of rooms to book.",
            "default": 1
          },
          "adults": {
            "title": "Number of adults",
            "minimum": 1,
            "type": "integer",
            "description": "Number of adults, at least one per room.",
            "default": 2
          },
          "children": {
            "title": "Number of children",
            "minimum": 0,
            "type": "integer",
            "description": "Number of children.",
            "default": 0
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "recommended",
              "price_low_to_high",
              "price_high_to_low",
              "review_low_to_high",
              "review_high_to_low"
            ],
            "type": "string",
            "description": "Order of the results, as on Agoda's search page.",
            "default": "recommended"
          },
          "minPrice": {
            "title": "Minimum price per night",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest nightly price per room, taxes and fees included, in the selected currency. With a price filter, sold-out properties are left out."
          },
          "maxPrice": {
            "title": "Maximum price per night",
            "minimum": 1,
            "type": "integer",
            "description": "Highest nightly price per room, taxes and fees included, in the selected currency. With a price filter, sold-out properties are left out."
          },
          "starRating": {
            "title": "Star rating",
            "type": "array",
            "description": "Only properties with any of these star ratings. A star class includes its half star, e.g. 3 stars also returns 3.5-star properties. Agoda Luxe is Agoda's luxury collection.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5",
                "luxe"
              ],
              "enumTitles": [
                "1 star",
                "2 stars",
                "3 stars",
                "4 stars",
                "5 stars",
                "Agoda Luxe"
              ]
            },
            "default": []
          },
          "propertyTypes": {
            "title": "Property types",
            "type": "array",
            "description": "Only properties of any of these types. Leave empty for all types.",
            "items": {
              "type": "string",
              "enum": [
                "hotel",
                "apartment",
                "serviced_apartment",
                "guesthouse",
                "hostel",
                "resort",
                "resort_villa",
                "villa",
                "entire_house",
                "entire_bungalow",
                "motel",
                "inn",
                "homestay",
                "capsule_hotel",
                "love_hotel",
                "boat",
                "holiday_park",
                "tent",
                "farm_stay",
                "lodge",
                "country_house",
                "chalet"
              ],
              "enumTitles": [
                "Hotel",
                "Apartment / flat",
                "Serviced apartment",
                "Guesthouse / bed and breakfast",
                "Hostel",
                "Resort",
                "Resort villa",
                "Villa",
                "Entire house",
                "Entire bungalow",
                "Motel",
                "Inn",
                "Homestay",
                "Capsule hotel",
                "Love hotel",
                "Boat / cruise",
                "Holiday park / caravan park",
                "Tent",
                "Farm stay",
                "Lodge",
                "Country house",
                "Chalet"
              ]
            },
            "default": []
          },
          "minReviewScore": {
            "title": "Minimum review score",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Lowest guest review score, 0–10.",
            "default": 0
          },
          "maxReviewScore": {
            "title": "Maximum review score",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Highest guest review score, 0–10.",
            "default": 10
          },
          "currency": {
            "title": "Currency",
            "enum": [
              "AED",
              "AFN",
              "AUD",
              "BDT",
              "BHD",
              "BRL",
              "CAD",
              "CHF",
              "CNY",
              "COP",
              "CZK",
              "DKK",
              "EGP",
              "EUR",
              "FJD",
              "GBP",
              "HKD",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "JOD",
              "JPY",
              "KHR",
              "KRW",
              "KWD",
              "KZT",
              "LAK",
              "LKR",
              "MVR",
              "MXN",
              "MYR",
              "NGN",
              "NOK",
              "NZD",
              "OMR",
              "PHP",
              "PKR",
              "PLN",
              "QAR",
              "RON",
              "RUB",
              "SAR",
              "SEK",
              "SGD",
              "THB",
              "TRY",
              "TWD",
              "UAH",
              "USD",
              "VND",
              "XPF",
              "ZAR"
            ],
            "type": "string",
            "description": "Currency of all prices and of the price filter.",
            "default": "USD"
          },
          "language": {
            "title": "Language",
            "enum": [
              "en-us",
              "fr-fr",
              "de-de",
              "it-it",
              "es-es",
              "ja-jp",
              "zh-hk",
              "zh-cn",
              "ko-kr",
              "el-gr",
              "ru-ru",
              "pt-pt",
              "nl-nl",
              "en-ca",
              "en-in",
              "en-gb",
              "en-za",
              "en-au",
              "en-sg",
              "zh-tw",
              "en-nz",
              "th-th",
              "ms-my",
              "vi-vn",
              "sv-se",
              "id-id",
              "pl-pl",
              "nb-no",
              "da-dk",
              "fi-fi",
              "cs-cz",
              "tr-tr",
              "ca-es",
              "hu-hu",
              "bg-bg",
              "ro-ro",
              "sl-si",
              "he-il",
              "ar-ae",
              "nl-be",
              "en-ie",
              "pt-br",
              "es-ar",
              "es-mx",
              "lt-lt",
              "lv-lv",
              "hr-hr",
              "et-ee",
              "uk-ua",
              "tl-ph"
            ],
            "type": "string",
            "description": "Language of the country, city and area names. The destination is always looked up in English, so type it in English or in its local name.",
            "default": "en-us"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}