# Agoda Scraper - Hotel Prices, Ratings & Availability (`scrapewise/agoda-scraper`) Actor

Scrape Agoda hotel search results by city and dates: price per night, total price, discount, free cancellation, rooms left, star rating, guest score with category breakdown, location, facilities and photos. Sort by price or rating, filter by score, stars and budget. Error rows are free.

- **URL**: https://apify.com/scrapewise/agoda-scraper.md
- **Developed by:** [Scrapewise Data](https://apify.com/scrapewise) (community)
- **Categories:** Travel, E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.80 / 1,000 hotel delivereds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Agoda Scraper: hotel prices, ratings and availability by city and dates

This Agoda scraper collects **the hotel search results of any city on Agoda**, for the dates and guests you choose, with no account and no login. Type a city (or paste an Agoda search link) and get every hotel as one clean row: **price per night, total price, original price and discount, free cancellation, rooms left, star rating, guest score with a category breakdown, review counts, area, coordinates, distance to the center, nearby stations and landmarks, facilities and photos**.

Use it for hotel rate shopping and price monitoring, revenue management, competitor benchmarking for hotels and agencies, travel market research, destination dashboards, and lead lists of hotels in a city.

### At a glance

| What | Price |
|---|---|
| Hotel delivered | **US$ 1.80 per 1,000 hotels** (US$ 0.0018 each) |
| Run start | US$ 0.005 per run |

- 3 cities with 200 hotels each = 600 hotels = **US$ 1.09** with the run start included.
- Error rows, duplicates and hotels removed by your filters are never charged.
- `maxItems` is a hard cap, and a spending limit set on the run stops it cleanly with everything delivered so far.
- Fast: about 500 hotels in under 20 seconds.
- Proxy cost is included in the price.

### Quick start

Hotels in one city for the default dates (30 days from today, 1 night, 2 adults):

```json
{
  "locations": ["Lisbon"],
  "maxItems": 50
}
```

Cheapest well-rated hotels for a 3-night trip, prices in euros:

```json
{
  "locations": ["Kyoto"],
  "checkIn": "2027-01-12",
  "nights": 3,
  "adults": 2,
  "currency": "EUR",
  "sortBy": "price",
  "minReviewScore": 8.5,
  "minStarRating": 3,
  "maxItems": 100
}
```

Several destinations in one run, every hotel Agoda lists, sold-out hotels included:

```json
{
  "locations": ["Bali", "Phuket", "Da Nang"],
  "checkIn": "2026-12-20",
  "checkOut": "2026-12-27",
  "onlyAvailable": false,
  "maxItems": 0
}
```

You can also paste the link of a search you made on agoda.com (it contains `city=`). Its dates, nights and guests are used when you leave those fields empty:

```json
{
  "locations": ["https://www.agoda.com/search?city=1784&checkIn=2027-01-12&los=3&rooms=1&adults=2"]
}
```

If you leave the input empty, the Actor runs the example city so you can see the output.

### Input

| Field | What it does |
|---|---|
| `locations` | City names, numeric Agoda city ids, or Agoda city search links, one per line. Each one is a separate search. |
| `checkIn` | Arrival date (YYYY-MM-DD). Empty = 30 days from today. |
| `nights` | 1 to 30. Empty = 1. |
| `checkOut` | Departure date instead of `nights`. Needs `checkIn`. |
| `adults` | Adult guests. Empty = 2. |
| `rooms` | Rooms. Empty = 1. |
| `currency` | 3-letter code: USD (default), EUR, GBP, JPY, THB, AUD, SGD and more. |
| `sortBy` | `best` (Agoda's ranking, default), `price` (lowest first), `rating`, or best rated by `couples`, `business`, `solo`, `families`, `groups`. |
| `minReviewScore` | Only hotels with a guest score of at least this value (0 to 10). |
| `minStarRating` | Only hotels with at least this many stars. |
| `maxPricePerNight` | Only hotels whose cheapest room costs at most this much per night, taxes included, in your currency. |
| `onlyAvailable` | On by default: skips sold-out hotels (they have no price for your dates). Turn off to get them too. |
| `maxItems` | Cap for the whole run, across all cities (default 50; 0 = no cap). |
| `proxyConfiguration` | Default is fine for most runs. |

`city`, `cities`, `destination`, `query`, `startUrls`, `urls`, `maxResults`, `limit`, `checkin`, `checkout` and `minRating` are accepted as well, so inputs written for other Agoda tools keep working.

### Output

Every hotel is one row with these fields:

| Field | Meaning |
|---|---|
| `type` | `hotel` for hotels, `error` for the free error rows. |
| `hotelId` | Agoda's numeric hotel id. Use it to join runs or to fetch the reviews of the hotel. |
| `name`, `localName` | Hotel name in English and as shown locally. |
| `url` | Link of the hotel page. |
| `propertyType` | Hotel, Apartment, Hostel, Resort, Guesthouse and more. |
| `starRating` | Stars, 1 to 5. |
| `searchRank` | Position in the Agoda results for your sort order (1 = first). |
| `isSponsored` | `true` when Agoda marks the listing as sponsored. |
| `country`, `countryCode`, `city`, `cityId`, `area` | Where the hotel is. |
| `latitude`, `longitude` | Coordinates. |
| `distanceFromCenterKm` | Distance to the city center. |
| `reviewScore`, `reviewCount` | Overall guest score (0 to 10) and number of reviews. |
| `agodaReviewScore`, `agodaReviewCount` | Score and count of Agoda's own reviews. |
| `bookingComReviewScore`, `bookingComReviewCount` | Score and count of the Booking.com reviews Agoda shows. |
| `scoreBreakdown` | Cleanliness, facilities, location, staff and value for money scores. |
| `recommendationPercent` | Share of guests who recommend the hotel, when shown. |
| `available` | `false` when the hotel is sold out for your dates. |
| `checkIn`, `checkOut`, `nights`, `adults`, `rooms` | The stay the prices refer to. |
| `currency` | Currency of all prices. |
| `pricePerNight` | Cheapest room per night, taxes and fees included. |
| `pricePerNightBeforeTaxes` | Same room before taxes and fees. |
| `originalPricePerNight` | Crossed-out price shown next to the deal. |
| `discountPercent` | Discount Agoda shows on the cheapest room. |
| `totalPrice` | Total for the whole stay, taxes included. |
| `cancellation`, `freeCancellationUntil` | Free cancellation or non-refundable, and the last free date. |
| `payLater`, `payAtHotel` | Payment options of the cheapest room. |
| `roomsLeft` | Rooms left at that price, when Agoda shows it. |
| `dealText` | Text of the promotion, when there is one. |
| `badges` | Labels such as EarlyBird or BestSeller. |
| `bookingsLast24h` | Bookings in the last 24 hours, as Agoda shows it. |
| `popular`, `awardYear` | Popular-hotel flag and year of the Agoda award, when given. |
| `highlights`, `atmospheres` | Selling points and the kind of area (shopping, nightlife, beach and more). |
| `facilities` | Hotel and room facilities (pool, free Wi-Fi, gym, balcony and more). |
| `cheapestRoomSizeSqm` | Size of the cheapest room. |
| `nearbyTransport`, `nearbyLandmarks` | Stations and landmarks with the distance in meters. |
| `reviewTopics` | Topics guests mention most (location, breakfast, cleanliness). |
| `mainImage`, `images` | Photo links. |
| `scrapedAt` | Time the row was collected. |
| `error`, `errorCode` | Empty on hotels. Filled on error rows. |

Fields are `null` when Agoda does not show them for a hotel (for example, sold-out hotels have no price, and small properties often have no Booking.com score).

#### Example hotel

A row from a search for Lisbon, 15 to 17 December 2026, 2 adults, prices in euros (lists shortened):

```json
{
  "type": "hotel",
  "hotelId": 9803914,
  "name": "Gloria Suites by LxWay",
  "url": "https://www.agoda.com/gloria-suites-by-lxway/hotel/lisbon-pt.html",
  "propertyType": "Hotel",
  "starRating": 3.0,
  "searchRank": 3,
  "isSponsored": false,
  "country": "Portugal",
  "city": "Lisbon",
  "cityId": 16364,
  "area": "Baixa",
  "latitude": 38.715752,
  "longitude": -9.14325,
  "reviewScore": 8.3,
  "reviewCount": 439,
  "agodaReviewScore": 7.3,
  "bookingComReviewScore": 8.4,
  "scoreBreakdown": {"cleanliness": 7.6, "facilities": 7.2, "location": 8.4, "staffPerformance": 8.4, "valueForMoney": 7.2},
  "available": true,
  "checkIn": "2026-12-15",
  "checkOut": "2026-12-17",
  "nights": 2,
  "currency": "EUR",
  "pricePerNight": 50.81,
  "pricePerNightBeforeTaxes": 47.93,
  "originalPricePerNight": 52.32,
  "discountPercent": 3,
  "totalPrice": 101.61,
  "cancellation": "FreeCancellation",
  "payLater": true,
  "roomsLeft": 1,
  "atmospheres": ["shopping", "sightseeing", "nightlife", "restaurants"],
  "facilities": ["Free Wi-Fi in all rooms!", "Daily housekeeping", "Balcony/terrace", "Desk"],
  "nearbyTransport": [{"name": "Restauradores Metro Station", "distanceM": 157}],
  "nearbyLandmarks": [{"name": "Bairro Alto", "distanceM": 422}, {"name": "Castelo de S. Jorge", "distanceM": 929}],
  "mainImage": "https://pix8.agoda.net/property/97602018/0/45e0bc2361804210f26f7d9112003cdc.jpeg?va=1&ce=3",
  "scrapedAt": "2026-11-07T21:34:00+00:00",
  "error": null,
  "errorCode": null
}
```

### Errors

Error rows are free and tell you what to fix. A bad city in a list does not stop the others.

```json
{
  "type": "error",
  "input": "Zzqxvbnm",
  "error": "City not found on Agoda. Check the spelling or use the numeric city id (not charged)",
  "errorCode": "CITY_NOT_FOUND",
  "scrapedAt": "2026-11-07T21:40:12+00:00"
}
```

| `errorCode` | Meaning |
|---|---|
| `CITY_NOT_FOUND` | No Agoda city matches the name. |
| `INVALID_URL` | The link is not an Agoda city search link. |
| `INVALID_SEARCH` | Agoda did not accept the search (unknown city id, or dates and guests it does not take). |
| `NO_RESULTS` | The city exists but no hotel matched your dates and filters. |
| `BLOCKED` | Agoda did not answer after several attempts. Run it again in a few minutes. |
| `INVALID_INPUT` | A field has a value the Actor cannot read (for example a check-in date in the past), with the reason in `error`. |

### Integrations, scheduling and AI agents

- **Schedules**: open the Actor, click Schedules and run the same search daily or weekly to follow prices for a fixed stay date, or move the date to track rates 30, 60 and 90 days ahead.
- **Export**: download the dataset as JSON, CSV, Excel, XML or HTML, or read it with the Apify API in one call.
- **Make, n8n and Zapier**: use the Apify app of each tool to start a run and read its dataset. A common flow alerts a channel when a competitor drops its price per night below yours.
- **Google Sheets and BI tools**: connect the dataset to Sheets, Looker Studio, Power BI or a warehouse for rate dashboards by area, star rating or date.
- **AI agents and LLMs**: the Actor can be used through the Apify MCP server, so assistants such as Claude or ChatGPT can pull the hotels of a city for given dates and compare them.

### Typical uses

- **Rate shopping**: the price per night of every hotel around yours for the same dates, every day.
- **Revenue management**: see how prices, discounts and rooms left change as the stay date gets closer.
- **Market research**: supply, star mix, scores and price levels by area of a city.
- **Travel content and agencies**: lists of the best rated or cheapest hotels per destination, with photos and coordinates for maps.
- **Lead lists**: hotels of a city with their area, size signals and guest scores.

### FAQ

**Do I need an Agoda account?** No. The Actor reads the public search results and works without any login.

**How do I find the city id?** You do not need it: type the city name and the Actor finds it. A numeric id or a search link also works.

**How many hotels can I get?** As many as Agoda lists for the city and dates, which is several thousand for large cities. Set `maxItems` to 0 to collect them all.

**Are the prices the same as on the site?** They are the prices Agoda shows for those dates, guests and currency to a visitor who is not logged in. Member prices and app-only deals are not included.

**Why do some hotels have no price?** They are sold out for your dates. They are skipped by default; turn off `onlyAvailable` to keep them with their scores and location.

**Can I search a neighborhood or a landmark?** Search the city and filter the rows by `area`, or sort the output by the distance fields.

**Are duplicates charged?** No. A hotel that shows up twice in the results is delivered and charged once.

**What if I set a spending limit on the run?** The Actor stops cleanly when the limit is reached and keeps everything delivered so far.

### Limitations

- Prices are for the cheapest room of each hotel, not the full room list.
- The search is by city. Region-wide searches (a whole country) are not supported; list the cities instead.
- Reviewer names and review texts are not part of the output; the rows describe the hotel.
- Agoda may change its search results at any time; the fields above are the ones shown on 7 Nov 2026.

### Changelog

- **7 Nov 2026**: first version.

# Actor input Schema

## `locations` (type: `array`):

City names (Lisbon, Kyoto, Bali), numeric Agoda city ids, or links of an Agoda city search page (the address after you search on Agoda, with city= in it; its dates and guests are used when you leave those fields empty). One per line; each one is a separate search. Leave empty to run the example city.

## `checkIn` (type: `string`):

Arrival date, format YYYY-MM-DD. Empty = 30 days from today. Prices and availability depend on the dates.

## `nights` (type: `integer`):

Length of stay, 1 to 30 nights. Empty = 1 night (or the nights of a pasted Agoda link). Total price covers all nights.

## `checkOut` (type: `string`):

Instead of nights, give the departure date (YYYY-MM-DD). Needs a check-in date.

## `adults` (type: `integer`):

Number of adult guests. Empty = 2 (or the guests of a pasted Agoda link).

## `rooms` (type: `integer`):

Number of rooms. Empty = 1 (or the rooms of a pasted Agoda link).

## `currency` (type: `string`):

Prices in this currency, 3-letter code such as USD, EUR, GBP, JPY, THB, AUD.

## `sortBy` (type: `string`):

Order of the results, the same options as on Agoda. With a small limit this decides which hotels you get.

## `minReviewScore` (type: `number`):

Only hotels with an overall guest score of at least this value on the 0 to 10 scale.

## `minStarRating` (type: `number`):

Only hotels with at least this many stars (1 to 5).

## `maxPricePerNight` (type: `number`):

Only hotels whose cheapest room costs at most this much per night, taxes and fees included, in the chosen currency.

## `onlyAvailable` (type: `boolean`):

Skip hotels that are sold out for your dates (they have no price). Turn off to also get sold-out hotels with ratings and location.

## `maxItems` (type: `integer`):

Total limit for the whole run, across all cities. 0 = no limit (large cities list several thousand hotels). Only delivered hotels are charged.

## `proxyConfiguration` (type: `object`):

Proxy for the requests. The default works for most runs.

## Actor input object example

```json
{
  "locations": [
    "Lisbon"
  ],
  "currency": "USD",
  "sortBy": "best",
  "onlyAvailable": true,
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `resultsCsv` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "locations": [
        "Lisbon"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapewise/agoda-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "locations": ["Lisbon"] }

# Run the Actor and wait for it to finish
run = client.actor("scrapewise/agoda-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "locations": [
    "Lisbon"
  ]
}' |
apify call scrapewise/agoda-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapewise/agoda-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/A9jexOjShlNJC53eM/builds/JmNXTdaTLKWvxjQNJ/openapi.json
