{
  "openapi": "3.0.1",
  "info": {
    "title": "Agoda Reviews Scraper · Agoda + Booking.com · $1/1K",
    "description": "Get hotel reviews from any Agoda property URL for reputation monitoring, guest feedback analysis and competitor research. Includes Agoda and Booking.com reviews, scores, stay details and replies. Filter by rating, language, date. $1/1K reviews.",
    "version": "0.1",
    "x-build-id": "HA4ZuE4WmJ0ziKM0O"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/mlg14~agoda-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-mlg14-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/mlg14~agoda-scraper/runs": {
      "post": {
        "operationId": "runs-sync-mlg14-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/mlg14~agoda-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-mlg14-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": {
          "hotelUrl": {
            "title": "Accommodation URL",
            "type": "string",
            "description": "Public Agoda accommodation URL ending in /hotel/...html or /reviews/...html. Example: https://www.agoda.com/ibis-budapest-city/hotel/budapest-hu.html. Use one property per run.",
            "default": "https://www.agoda.com/ibis-budapest-city/hotel/budapest-hu.html"
          },
          "maxReviewsPerHotel": {
            "title": "Maximum reviews",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum review records to return. Example: 40. Keep it small for quick runs; set 0 to read until public pagination ends (up to 100 pages).",
            "default": 40
          },
          "enabledProviders": {
            "title": "Review providers",
            "minItems": 1,
            "type": "array",
            "description": "Review providers to include, as shown on the page. Allowed values: Agoda, Booking.com. Example: [\"Agoda\"] for Agoda-only reviews. Use both (default) for the full set.",
            "items": {
              "type": "string",
              "enum": [
                "Agoda",
                "Booking.com"
              ],
              "enumTitles": [
                "Agoda",
                "Booking.com"
              ]
            },
            "default": [
              "Agoda",
              "Booking.com"
            ]
          },
          "rating": {
            "title": "Rating categories",
            "type": "array",
            "description": "Only return reviews in these rating bands on the 0-10 scale. Allowed values: exceptional (9+), excellent (8-9), very_good (7-8), good (6-7), below_expectation (below 6). Example: [\"below_expectation\"] for complaints. Leave empty for all ratings.",
            "items": {
              "type": "string",
              "enum": [
                "exceptional",
                "excellent",
                "very_good",
                "good",
                "below_expectation"
              ],
              "enumTitles": [
                "9+ Exceptional",
                "8–9 Excellent",
                "7–8 Very good",
                "6–7 Good",
                "Below 6"
              ]
            },
            "default": []
          },
          "language": {
            "title": "Review language",
            "type": "string",
            "description": "Original review language code. Example: en, de or ko. Use all for every language (default); set a code to analyse one market only.",
            "default": "all"
          },
          "cutoffDate": {
            "title": "Reviews newer than",
            "type": "string",
            "description": "Return only reviews posted after this date, format YYYY-MM-DD (the date itself is excluded). Example: 2026-06-01. Use it for monitoring runs; leave blank for all dates."
          },
          "sortBy": {
            "title": "Review order",
            "enum": [
              "recent",
              "ratingHigh",
              "ratingLow",
              "helpful"
            ],
            "type": "string",
            "description": "Order of the returned reviews. Allowed values: recent, ratingHigh, ratingLow, helpful. Example: ratingLow to see the worst reviews first. Use recent (default) for monitoring.",
            "default": "recent"
          },
          "aggregateRatings": {
            "title": "Include aggregate scores",
            "type": "boolean",
            "description": "Add property-level provider scores, category breakdowns and review counts to every record. Allowed values: true or false. Example: true. Set false for slimmer rows when you only need review text.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Connection settings for requests made from the hosted run.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}