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
FieldTypeMeaning
typestringRow type: hotel, calendar or status.
modestring / nulldestination (from a location search) or property (a named hotel).
querystring / nullThe input this row came from: the destination, URL, id or name.
targetstring / nullStatus rows: the input the row reports on.
localestring / nullAgoda locale the request used.
hotel_idstring / nullAgoda's numeric property id.
hotel_namestring / nullProperty name in the requested locale.
urlstring / nullThe Agoda property page.
property_typestring / nullHotel, Apartment, Hostel, Resort…
starsnumber / nullStar rating, 1-5; null when Agoda shows none.
review_scorenumber / nullCombined guest score across every review source Agoda aggregates, 0-10.
review_countinteger / nullReviews behind review_score.
agoda_scorenumber / nullGuest score from Agoda's own reviews only, 0-10.
agoda_review_countinteger / nullAgoda's own review count.
citystring / nullCity name.
city_idinteger / nullAgoda city id (reusable in locationQueries).
areastring / nullNeighbourhood or area.
countrystring / nullCountry name.
country_codestring / nullISO 3166-1 alpha-2 country code.
latitudenumber / nullProperty latitude.
longitudenumber / nullProperty longitude.
check_instring / nullCheck-in date the price is quoted for (YYYY-MM-DD).
check_outstring / nullCheck-out date.
nightsinteger / nullLength of stay.
adultsinteger / nullAdults the price is quoted for.
childreninteger / nullChildren the price is quoted for.
roomsinteger / nullRooms the price is quoted for.
currencystring / nullISO currency of every price in the row.
price_nightlynumber / nullCheapest rate per room per night before taxes and fees — Agoda's default display price.
price_nightly_with_taxesnumber / nullThe same nightly rate with taxes and fees included.
price_totalnumber / nullTotal for the whole booking (all rooms, all nights) before taxes and fees. Calendar rows: nightly price × nights.
price_total_with_taxesnumber / nullTotal for the whole booking with taxes and fees included.
crossed_out_pricenumber / nullThe struck-through nightly price when Agoda shows a discount; null otherwise.
available_roomsinteger / nullRooms left at the cheapest rate, as Agoda reports it.
cancellationstring / nullAgoda's cancellation term for the cheapest rate: FreeCancellation, NonRefundable or SpecialConditions.
free_cancellationboolean / nullTrue when the cheapest rate is free to cancel.
free_cancellation_untilstring / nullDeadline for free cancellation when Agoda states one.
breakfast_includedboolean / nullTrue when Agoda flags breakfast in the cheapest rate's benefits.
benefit_idsarray / nullAgoda's benefit ids attached to the cheapest rate (breakfast, free WiFi, parking…), raw.
supplier_idinteger / nullAgoda's id for the supplier of the cheapest rate.
payment_modelstring / nullHow the cheapest rate is paid, e.g. MerchantCommission.
sold_outboolean / nullTrue when Agoda lists the property but has no rate for the stay (row is free).
rankinteger / nullPosition in the destination's results under `sort` (1 = first). Null for named properties.
sortstring / nullThe sort the destination search used.
price_sourcestring / nullsearch — the price came from Agoda's search results for the stay.
trendstring / nullCalendar rows: Agoda's Low, Normal or High flag for the date.
rank_in_windowinteger / nullCalendar rows: 1 = the cheapest check-in date in the window.
cheapest_in_windowboolean / nullCalendar rows: true on the cheapest date of the window.
statusstring / nullStatus rows: ok, no_results, sold_out, not_found or error.
hotelsinteger / nullStatus rows: priced hotel rows delivered for this input.
sold_out_hotelsinteger / nullStatus rows: properties listed but unpriced for the stay (free, written only with includeSoldOut).
filteredinteger / nullStatus rows: priced hotels a filter removed (never billed).
pagesinteger / nullStatus rows: result pages read for a destination.
calendar_daysinteger / nullStatus rows: calendar rows delivered for a property.
duplicatesinteger / nullStatus rows: properties already delivered by an earlier input in this run.
errorstring / nullStatus rows: why an input failed.
fetched_atstring / nullUTC 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.

EventUSD eachWhat is charged
hotel$0.004One 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.002One 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

Public contract checked 2026-11-11. Active build: 1.1.4. Refresh live details before a large or recurring run.