Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Agoda Scraper — examples

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.

What you get per record

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

Who uses this

  • 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.

Quickstart

  1. Get your Apify token: https://console.apify.com/account/integrations
  2. 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

Example input

{
  "searchTerms": [
    "The Peninsula Bangkok"
  ],
  "lengthOfStay": 1,
  "adults": 2,
  "rooms": 1,
  "includeReviews": false,
  "reviewsPerHotel": 10,
  "maxItems": 0,
  "requestDelay": 1.5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}

Links


MIT-licensed examples. The actor runs on the caller's Apify account (you pay platform compute + per-result).

About

Runnable Python & JS examples for the Agoda Hotel Scraper on Apify

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors