Runnable examples for the Agoda Hotel Scraper — Prices, Reviews & Amenities | $5/1K on Apify.
Scrape Agoda hotel property pages to extract hotel name, star rating, review score, room types, amenities, coordinates, and images. Input: property URLs or hotel IDs. Uses Agoda's internal Cronos JSON API — structural, no CSS classes, robust to HTML changes.
accommodation_type · address · all_images · amenities · amenity_groups · area_name · awards · category_scores · check_in · check_in_time · check_out_time · city · country · currency · description · former_name · highlights · hotel_id · hotel_name · image_count · image_url · lat · length_of_stay · lng · location_highlight · nearby_attractions · nearby_essentials · offer_count · parse_confidence · postal_code · price · property_url · review_count · review_score · review_text · room_offers · room_types · rooms · rooms_available · score_distribution · scraped_at · star_rating · warnings
- Rate tracking — monitor a hotel's or a market's nightly prices over a date range.
- Revenue management — benchmark your property against comp-set pricing.
- Travel deal alerts — detect price drops for a destination + dates.
- Get your Apify token: https://console.apify.com/account/integrations
- Run a language example below. Both call the actor and print the results.
| Example | File |
|---|---|
Python (apify-client) |
examples/python/run.py |
JavaScript (apify-client) |
examples/javascript/run.js |
| Sample output (real records) | examples/sample_output.json |
{
"searchTerms": [
"The Peninsula Bangkok"
],
"lengthOfStay": 1,
"adults": 2,
"rooms": 1,
"includeReviews": false,
"reviewsPerHotel": 10,
"maxItems": 0,
"requestDelay": 1.5,
"proxyConfiguration": {
"useApifyProxy": true,
"apifyProxyGroups": [
"RESIDENTIAL"
]
}
}- Actor on Apify Store: https://apify.com/bovi/agoda-scraper
- Apify client docs: Python · JavaScript
MIT-licensed examples. The actor runs on the caller's Apify account (you pay platform compute + per-result).