{
  "openapi": "3.0.1",
  "info": {
    "title": "Agoda Hotels & Prices Scraper - Rates, Rooms, Reviews",
    "description": "Scrape Agoda hotels with prices for your dates: name, stars, rating, total price, address, coordinates, plus room rates and guest reviews. No login.",
    "version": "0.1",
    "x-build-id": "Qf4HaTVpi3pG0I6oE"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/cliqtomedia~agoda-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-cliqtomedia-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/cliqtomedia~agoda-scraper/runs": {
      "post": {
        "operationId": "runs-sync-cliqtomedia-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/cliqtomedia~agoda-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-cliqtomedia-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",
        "properties": {
          "destination": {
            "title": "Destination",
            "maxLength": 200,
            "type": "string",
            "description": "City or district, for example Pattaya or Sukhumvit. Agoda's own suggestions pick the place, and the matched name is in the query field."
          },
          "checkIn": {
            "title": "Check-in",
            "type": "string",
            "description": "Date as YYYY-MM-DD or relative, like 30 days. It cannot be in the past or more than 2 years ahead."
          },
          "checkOut": {
            "title": "Check-out",
            "type": "string",
            "description": "Date as YYYY-MM-DD or relative, like 31 days. A stay is at most 30 nights."
          },
          "adults": {
            "title": "Adults",
            "minimum": 1,
            "maximum": 36,
            "type": "integer",
            "description": "Adults for the whole booking, from 1 to 36.",
            "default": 2
          },
          "currency": {
            "title": "Currency",
            "enum": [
              "USD",
              "EUR",
              "GBP",
              "AUD",
              "CAD",
              "NZD",
              "CHF",
              "SGD",
              "HKD",
              "JPY",
              "KRW",
              "CNY",
              "TWD",
              "THB",
              "MYR",
              "IDR",
              "PHP",
              "VND",
              "INR",
              "AED",
              "SAR",
              "SEK",
              "NOK",
              "DKK",
              "PLN",
              "ILS",
              "ZAR",
              "BRL",
              "MXN"
            ],
            "type": "string",
            "description": "Currency of hotel prices. Agoda converts them itself. Room rates can stay in USD: see the currency field of each row.",
            "default": "USD"
          },
          "maxItems": {
            "title": "Max hotels",
            "minimum": 0,
            "type": "integer",
            "description": "Hotels per destination and dates, and separately for the listed hotels. 0 means no limit. Each saved hotel is charged.",
            "default": 100
          },
          "maxReviews": {
            "title": "Max reviews per hotel",
            "minimum": 0,
            "type": "integer",
            "description": "Guest reviews per hotel. 0 means none. Each saved review is charged.",
            "default": 0
          },
          "destinations": {
            "title": "More destinations",
            "maxItems": 50,
            "type": "array",
            "description": "Other cities or districts, up to 50.",
            "items": {
              "type": "string"
            }
          },
          "cityIds": {
            "title": "Agoda city IDs",
            "maxItems": 50,
            "type": "array",
            "description": "City IDs if you know them, up to 50. Pattaya is 8584. This skips the name lookup.",
            "items": {
              "type": "string"
            }
          },
          "hotelIds": {
            "title": "Agoda hotel IDs",
            "maxItems": 1000,
            "type": "array",
            "description": "Hotel IDs, up to 1000, for their price on your dates. A hotel with no offer still gets a row with an empty price.",
            "items": {
              "type": "string"
            }
          },
          "hotelNames": {
            "title": "Hotel names",
            "maxItems": 100,
            "type": "array",
            "description": "Hotel names, up to 100. A name that Agoda's suggestions do not match gets a not_found status row.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Agoda links",
            "maxItems": 1000,
            "type": "array",
            "description": "Hotel or search links from agoda.com, up to 1000. A hotel link gives only the hotel. A search link with city= gives the city and adds its dates as one more stay.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "extraStays": {
            "title": "More dates",
            "maxItems": 30,
            "type": "array",
            "description": "Other stays in the same run, up to 30. Each one is a separate search.",
            "items": {
              "type": "object",
              "properties": {
                "checkIn": {
                  "title": "Check-in",
                  "description": "YYYY-MM-DD.",
                  "type": "string"
                },
                "checkOut": {
                  "title": "Check-out",
                  "description": "YYYY-MM-DD.",
                  "type": "string"
                }
              },
              "required": [
                "checkIn",
                "checkOut"
              ]
            }
          },
          "dateSweepDays": {
            "title": "Shift dates by days",
            "minimum": 0,
            "maximum": 30,
            "type": "integer",
            "description": "Repeat each stay with check-in moved 1, 2, … days later, up to 30. This builds a price calendar and charges for every extra search.",
            "default": 0
          },
          "rooms": {
            "title": "Rooms",
            "minimum": 1,
            "maximum": 9,
            "type": "integer",
            "description": "Rooms to price, from 1 to 9. It cannot be more than adults.",
            "default": 1
          },
          "childrenAges": {
            "title": "Children's ages",
            "maxItems": 6,
            "type": "array",
            "description": "One age per child, from 0 to 17, up to 6 children.",
            "items": {
              "type": "integer"
            }
          },
          "language": {
            "title": "Language",
            "enum": [
              "en-us",
              "en-gb",
              "th-th",
              "ja-jp",
              "ko-kr",
              "zh-cn",
              "zh-tw",
              "zh-hk",
              "de-de",
              "fr-fr",
              "es-es",
              "it-it",
              "ru-ru",
              "pt-pt",
              "id-id",
              "ms-my",
              "vi-vn",
              "nl-nl",
              "ar-ae",
              "pl-pl",
              "sv-se"
            ],
            "type": "string",
            "description": "Language of names and texts. Agoda translates some names only in a few languages.",
            "default": "en-us"
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "ranking",
              "price_asc",
              "price_desc",
              "review_score",
              "review_count",
              "stars",
              "distance"
            ],
            "type": "string",
            "description": "Agoda's own order of results.",
            "default": "ranking"
          },
          "starRatings": {
            "title": "Stars",
            "maxItems": 5,
            "type": "array",
            "description": "Only these hotel classes.",
            "items": {
              "type": "integer"
            }
          },
          "minReviewScore": {
            "title": "Min guest rating",
            "minimum": 0,
            "maximum": 10,
            "type": "number",
            "description": "From 0 to 10."
          },
          "minPrice": {
            "title": "Min price per night",
            "minimum": 0,
            "type": "number",
            "description": "In the chosen currency."
          },
          "maxPrice": {
            "title": "Max price per night",
            "minimum": 0,
            "type": "number",
            "description": "In the chosen currency."
          },
          "propertyTypes": {
            "title": "Property types",
            "type": "array",
            "description": "Only these types.",
            "items": {
              "type": "string",
              "enum": [
                "hotel",
                "resort",
                "apartment",
                "serviced_apartment",
                "villa",
                "guesthouse",
                "hostel",
                "homestay",
                "inn",
                "bungalow"
              ],
              "enumTitles": [
                "Hotel",
                "Resort",
                "Apartment",
                "Serviced apartment",
                "Villa",
                "Guesthouse",
                "Hostel",
                "Homestay",
                "Inn",
                "Bungalow"
              ]
            }
          },
          "amenities": {
            "title": "Amenities",
            "type": "array",
            "description": "Only hotels with all of these.",
            "items": {
              "type": "string",
              "enum": [
                "pool",
                "spa",
                "gym",
                "parking",
                "internet",
                "airport_transfer",
                "restaurant",
                "pets",
                "family",
                "front_desk_24h",
                "non_smoking",
                "accessible",
                "business"
              ],
              "enumTitles": [
                "Pool",
                "Spa",
                "Gym",
                "Parking",
                "Internet",
                "Airport transfer",
                "Restaurant",
                "Pets",
                "Family",
                "Front desk 24h",
                "Non smoking",
                "Accessible",
                "Business"
              ]
            }
          },
          "freeCancellationOnly": {
            "title": "Free cancellation only",
            "type": "boolean",
            "description": "Only offers Agoda marks as free to cancel.",
            "default": false
          },
          "breakfastIncludedOnly": {
            "title": "Breakfast included only",
            "type": "boolean",
            "description": "Only offers with breakfast.",
            "default": false
          },
          "payAtHotelOnly": {
            "title": "Pay at the hotel only",
            "type": "boolean",
            "description": "Only offers you can pay at the hotel.",
            "default": false
          },
          "payLaterOnly": {
            "title": "Pay later only",
            "type": "boolean",
            "description": "Only offers you can pay later.",
            "default": false
          },
          "noCreditCardOnly": {
            "title": "No credit card only",
            "type": "boolean",
            "description": "Only offers that need no card.",
            "default": false
          },
          "includeSoldOut": {
            "title": "Include hotels with no price",
            "type": "boolean",
            "description": "Keep hotels with no offer on your dates. Their price is empty, never 0.",
            "default": true
          },
          "includeDetails": {
            "title": "Hotel details",
            "type": "boolean",
            "description": "Add description, policies, facilities, photos, sub-scores and nearby places. Charged per hotel.",
            "default": false
          },
          "includeRooms": {
            "title": "Room rates",
            "type": "boolean",
            "description": "Add a row for every room rate, with its own currency field (Agoda gives these in USD). Charged per rate.",
            "default": false
          },
          "maxRoomsPerHotel": {
            "title": "Max room rates per hotel",
            "minimum": 0,
            "type": "integer",
            "description": "0 means all rates.",
            "default": 0
          },
          "reviewSources": {
            "title": "Review sources",
            "type": "array",
            "description": "Agoda and Booking.com reviews come together. Empty means both.",
            "items": {
              "type": "string",
              "enum": [
                "agoda",
                "booking"
              ],
              "enumTitles": [
                "Agoda",
                "Booking.com"
              ]
            }
          },
          "reviewLanguages": {
            "title": "Review languages",
            "type": "array",
            "description": "Only reviews written in these languages.",
            "items": {
              "type": "string",
              "enum": [
                "en",
                "th",
                "ko",
                "ja",
                "zh-cn",
                "zh-tw",
                "zh-hk",
                "de",
                "fr",
                "es",
                "it",
                "ru",
                "pt",
                "vi",
                "id",
                "he",
                "nl",
                "ar",
                "no",
                "sv",
                "da",
                "fi",
                "pl",
                "hu",
                "cs",
                "el",
                "ro",
                "et"
              ],
              "enumTitles": [
                "en",
                "th",
                "ko",
                "ja",
                "zh-cn",
                "zh-tw",
                "zh-hk",
                "de",
                "fr",
                "es",
                "it",
                "ru",
                "pt",
                "vi",
                "id",
                "he",
                "nl",
                "ar",
                "no",
                "sv",
                "da",
                "fi",
                "pl",
                "hu",
                "cs",
                "el",
                "ro",
                "et"
              ]
            }
          },
          "reviewsSort": {
            "title": "Review order",
            "enum": [
              "newest",
              "highest",
              "lowest",
              "helpful"
            ],
            "type": "string",
            "description": "Agoda's order of reviews.",
            "default": "newest"
          },
          "minReviewRating": {
            "title": "Min review rating",
            "minimum": 0,
            "maximum": 10,
            "type": "number",
            "description": "From 0 to 10."
          },
          "reviewsFrom": {
            "title": "Reviews since",
            "type": "string",
            "description": "Skip older reviews. With the Newest order the run stops reading at the first older one."
          },
          "stateName": {
            "title": "Monitor name",
            "maxLength": 40,
            "type": "string",
            "description": "Letters a-z, digits and hyphens, up to 40. Runs with the same name save only hotels whose price changed and new reviews."
          },
          "deliveryConnector": {
            "title": "Send results to (optional)",
            "type": "string",
            "description": "Your Slack, Notion or other MCP connector. After the run the Actor posts a short summary there. Connect services once in Apify Console → MCP connectors."
          },
          "deliveryTarget": {
            "title": "Notion page or channel (optional)",
            "type": "string",
            "description": "Where to post the summary: a Notion page link (each run is added on top of that page) or a Slack channel ID. Leave empty to let the connector decide."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}