MCP + API · kestrel/agoda-prices-scraper
Agoda Prices Scraper — Hotel Rates & Availability by Date
Agoda hotel prices and availability for destinations or hotels by URL, id or name. One row per hotel: nightly and total price, taxes, free cancellation, rooms left, stars, guest score, sold out. Price calendar: cheapest dates. Filters before billing: max price, stars, guest score. ราคาโรงแรม, ホテル料金
Open Actor Download MCP config
Connect this tool
Add this URL as a remote MCP server in your client, then sign in to Apify. For a client-specific setup, use Apify's configurator.
https://mcp.apify.com?tools=call-actor,fetch-actor-details,kestrel/agoda-prices-scraper
Generic MCP client configuration
{
"mcpServers": {
"kestrel-agoda-prices-scraper": {
"url": "https://mcp.apify.com?tools=call-actor,fetch-actor-details,kestrel/agoda-prices-scraper"
}
}
}
Understand the output before you run
Three row types share one dataset: hotel (one property with its cheapest rate for the stay, charged when priced), calendar (one check-in date of a property's price calendar, charged when priced) and status (per destination or property, free).
Declared dataset fields and row types · Output locations and dataset links
Use the declared dataset schema for item fields; the output schema describes where results are stored. Optional fields may be null or absent. If an integration shows a sampled schema without an optional field, check this declaration, the Actor instructions and actual returned rows before concluding that the field is unsupported.
Inspect 57 declared output fields
| Field | Type | Meaning |
|---|---|---|
type | string | Row type: hotel, calendar or status. |
mode | string / null | destination (from a location search) or property (a named hotel). |
query | string / null | The input this row came from: the destination, URL, id or name. |
target | string / null | Status rows: the input the row reports on. |
locale | string / null | Agoda locale the request used. |
hotel_id | string / null | Agoda's numeric property id. |
hotel_name | string / null | Property name in the requested locale. |
url | string / null | The Agoda property page. |
property_type | string / null | Hotel, Apartment, Hostel, Resort… |
stars | number / null | Star rating, 1-5; null when Agoda shows none. |
review_score | number / null | Combined guest score across every review source Agoda aggregates, 0-10. |
review_count | integer / null | Reviews behind review_score. |
agoda_score | number / null | Guest score from Agoda's own reviews only, 0-10. |
agoda_review_count | integer / null | Agoda's own review count. |
city | string / null | City name. |
city_id | integer / null | Agoda city id (reusable in locationQueries). |
area | string / null | Neighbourhood or area. |
country | string / null | Country name. |
country_code | string / null | ISO 3166-1 alpha-2 country code. |
latitude | number / null | Property latitude. |
longitude | number / null | Property longitude. |
check_in | string / null | Check-in date the price is quoted for (YYYY-MM-DD). |
check_out | string / null | Check-out date. |
nights | integer / null | Length of stay. |
adults | integer / null | Adults the price is quoted for. |
children | integer / null | Children the price is quoted for. |
rooms | integer / null | Rooms the price is quoted for. |
currency | string / null | ISO currency of every price in the row. |
price_nightly | number / null | Cheapest rate per room per night before taxes and fees — Agoda's default display price. |
price_nightly_with_taxes | number / null | The same nightly rate with taxes and fees included. |
price_total | number / null | Total for the whole booking (all rooms, all nights) before taxes and fees. Calendar rows: nightly price × nights. |
price_total_with_taxes | number / null | Total for the whole booking with taxes and fees included. |
crossed_out_price | number / null | The struck-through nightly price when Agoda shows a discount; null otherwise. |
available_rooms | integer / null | Rooms left at the cheapest rate, as Agoda reports it. |
cancellation | string / null | Agoda's cancellation term for the cheapest rate: FreeCancellation, NonRefundable or SpecialConditions. |
free_cancellation | boolean / null | True when the cheapest rate is free to cancel. |
free_cancellation_until | string / null | Deadline for free cancellation when Agoda states one. |
breakfast_included | boolean / null | True when Agoda flags breakfast in the cheapest rate's benefits. |
benefit_ids | array / null | Agoda's benefit ids attached to the cheapest rate (breakfast, free WiFi, parking…), raw. |
supplier_id | integer / null | Agoda's id for the supplier of the cheapest rate. |
payment_model | string / null | How the cheapest rate is paid, e.g. MerchantCommission. |
sold_out | boolean / null | True when Agoda lists the property but has no rate for the stay (row is free). |
rank | integer / null | Position in the destination's results under `sort` (1 = first). Null for named properties. |
sort | string / null | The sort the destination search used. |
price_source | string / null | search — the price came from Agoda's search results for the stay. |
trend | string / null | Calendar rows: Agoda's Low, Normal or High flag for the date. |
rank_in_window | integer / null | Calendar rows: 1 = the cheapest check-in date in the window. |
cheapest_in_window | boolean / null | Calendar rows: true on the cheapest date of the window. |
status | string / null | Status rows: ok, no_results, sold_out, not_found or error. |
hotels | integer / null | Status rows: priced hotel rows delivered for this input. |
sold_out_hotels | integer / null | Status rows: properties listed but unpriced for the stay (free, written only with includeSoldOut). |
filtered | integer / null | Status rows: priced hotels a filter removed (never billed). |
pages | integer / null | Status rows: result pages read for a destination. |
calendar_days | integer / null | Status rows: calendar rows delivered for a property. |
duplicates | integer / null | Status rows: properties already delivered by an earlier input in this run. |
error | string / null | Status rows: why an input failed. |
fetched_at | string / null | UTC time the row was collected. |
Start with a small sample
Use call-actor with the JSON below. The $0.25 run ceiling is separate from the Actor input and may stop the sample early. Change the target to match your request. This input validates against build 1.1.4; it is not a promise that the source has matching rows today.
{
"actor": "kestrel/agoda-prices-scraper",
"input": {
"locationQueries": [
"Lisbon"
],
"checkIn": "30 days",
"nights": 1,
"adults": 2,
"maxHotelsPerQuery": 3,
"sortBy": "price_low",
"currency": "USD"
},
"callOptions": {
"maxTotalChargeUsd": 0.25,
"timeout": 300
},
"waitSecs": 30
}
After completion, use get-dataset-items with storages.datasets.default.id. If still running, poll get-actor-run using the returned runId. Check status rows and errors before treating an empty dataset as no matches.
Call from Python, JavaScript or REST
Python SDK 3 example · JavaScript SDK 2 example · curl + jq example. Each uses this same small input, reads APIFY_TOKEN from your environment, sets a five-minute run timeout and exports all dataset row types as JSON Lines. The $0.25 run ceiling is separate from the Actor input and may stop the sample early. Inspect the run and source status before treating results as complete. Installation and usage.
Pricing and limits
Current listed event prices in USD. Some Actors charge for successful source checks even when no output rows match. The event descriptions below define those differences.
| Event | USD each | What is charged |
|---|---|---|
hotel | $0.004 | One Agoda property's cheapest rate for your dates and guests (row keys hotel_id, hotel_name, stars, review_score, review_count, area, country, latitude, longitude, price_nightly, price_nightly_with_taxes, price_total, price_total_with_taxes, crossed_out_price, available_rooms, cancellation, free_cancellation_until, breakfast_included): $4 per 1,000 hotels. Not charged: sold-out properties (free rows with includeSoldOut), properties maxPrice, minStars, minReviewScore or freeCancellationOnly remove, a property reached twice in one run, destinations or names that match nothing, status rows, bad input. No start fee; proxy and compute are included in the event price. The run stops at the maximum cost per run you set when starting it (Apify run option maxTotalChargeUsd), never above it. |
calendar_day | $0.002 | One check-in date of a named hotel's price calendar (calendarDays, up to 60 dates from checkIn): per-night and stay price at your nights and adults priced live for that date, rank_in_window (1 = the cheapest date), Agoda's Low/Normal/High trend word where it has one (row keys hotel_id, hotel_name, check_in, check_out, nights, adults, currency, price_nightly, price_total, trend, rank_in_window, cheapest_in_window): $2 per 1,000 dates. Not charged: dates Agoda has no price for (skipped), hotels from destination searches (no calendar is read for them), bad input. No start fee; the same maximum-cost stop applies. |
Contracts for agents
- Input schema and sample input
- Prepared MCP call and pricing events
- Full Actor instructions and limits
- REST API
Public contract checked 2026-11-11. Active build: 1.1.4. Refresh live details before a large or recurring run.