Agoda Scraper by City

Agoda Scraper by City

by esteemed_frame

Fast Agoda hotel scraper where users can enter city and travel dates to get detailed hotel data instantly. Fetches prices, ratings, reviews, and hotel...

14 runs
3 users
Try This Actor

Opens on Apify.com

About Agoda Scraper by City

Fast Agoda hotel scraper where users can enter city and travel dates to get detailed hotel data instantly. Fetches prices, ratings, reviews, and hotel info quickly with structured output for analysis or travel apps. #agoda,#agodaHotel,#Hotel,#HotelScrapper

What does this actor do?

Agoda Scraper by City is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

Agoda Hotel Scraper An Apify Actor that scrapes hotel data from Agoda.com. Provide a destination, check-in date, and check-out date, and the scraper will extract comprehensive hotel information including prices, ratings, reviews, amenities, and more. ## Features - 🏨 Scrapes hotel listings from Agoda search results - 💰 Extracts pricing information (per night, original price, discounts) - ⭐ Captures star ratings and review scores - 📍 Gets location and address details - 🛏️ Extracts room types and amenities - 🖼️ Collects hotel images and URLs - 📄 Handles pagination and lazy-loaded content ## Input Parameters | Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | destination | string | Yes | "Goa" | City or location to search for hotels | | checkInDate | string | Yes | "2025-01-15" | Check-in date in YYYY-MM-DD format | | checkOutDate | string | Yes | "2025-01-17" | Check-out date in YYYY-MM-DD format | | adults | integer | No | 2 | Number of adults (1-10) | | rooms | integer | No | 1 | Number of rooms (1-10) | | maxHotels | integer | No | 50 | Maximum number of hotels to scrape (1-500) | | proxyConfiguration | object | No | - | Proxy settings for anti-bot protection | ### Example Input json { "destination": "Goa", "checkInDate": "2025-01-15", "checkOutDate": "2025-01-17", "adults": 2, "rooms": 1, "maxHotels": 50, "proxyConfiguration": { "useApifyProxy": true } } ## Output Data Each hotel in the output dataset contains the following fields: | Field | Type | Description | |-------|------|-------------| | hotelName | string | Name of the hotel | | location | string | Location/area of the hotel | | rating | number | Star rating (1-5) | | reviewScore | number | Review score (e.g., 8.5/10) | | reviewCount | number | Total number of reviews | | pricePerNight | number | Price per night | | originalPrice | number | Original price (before discount) | | discount | string | Discount percentage | | totalPrice | number | Total price for the stay | | currency | string | Currency code (e.g., "INR") | | roomType | string | Type of room | | amenities | array | List of amenities | | imageUrl | string | URL of hotel image | | hotelUrl | string | Direct link to hotel page | | checkInDate | string | Check-in date | | checkOutDate | string | Check-out date | | destination | string | Search destination | | scrapedAt | string | Timestamp when data was scraped | ### Example Output json { "hotelName": "Taj Exotica Resort & Spa, Goa", "location": "South Goa", "rating": 5, "reviewScore": 9.2, "reviewCount": 1250, "pricePerNight": 25000, "originalPrice": 32000, "discount": "22% off", "totalPrice": 50000, "currency": "INR", "roomType": "Deluxe Room", "amenities": ["Free WiFi", "Pool", "Spa", "Beach Access", "Restaurant"], "imageUrl": "https://example.com/hotel-image.jpg", "hotelUrl": "https://www.agoda.com/en-in/taj-exotica-resort-spa-goa/hotel/...", "checkInDate": "2025-01-15", "checkOutDate": "2025-01-17", "destination": "Goa", "scrapedAt": "2025-01-10T14:30:00.000Z" } ## Running Locally 1. Install dependencies: bash pip install -r requirements.txt playwright install chromium 2. Create input file at storage/key_value_stores/default/INPUT.json: json { "destination": "Mumbai", "checkInDate": "2025-02-01", "checkOutDate": "2025-02-03" } 3. Run the actor: bash apify run ## Deployment to Apify 1. Login to Apify: bash apify login 2. Push to Apify platform: bash apify push ## Technical Details - Framework: Crawlee with Playwright - Browser: Chromium (headless) - Language: Python 3.13 - Anti-bot measures: Uses Apify Proxy, realistic browser fingerprinting ## Notes - The scraper uses Playwright for browser automation since Agoda is a JavaScript-heavy website - Proxy usage is recommended to avoid rate limiting and blocks - Respects Agoda's terms of service - use responsibly - Scraping speed is limited to avoid overloading the server ## License ISC License

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try Agoda Scraper by City now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
esteemed_frame
Pricing
Paid
Total Runs
14
Active Users
3
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support