Agoda Scraper avatar
Agoda Scraper
Try for free

Pay $8.00 for 1,000 results

View all Actors
Agoda Scraper

Agoda Scraper

ivanvs/fast-agoda-scraper
Try for free

Pay $8.00 for 1,000 results

Scrape Agoda.com with this scraper and get data about accommodation on Agoda.com. Extract data by URLs for hotel prices, ratings, number of reviews, images. Scrape and download data from Agoda.com in JSON, Excel, HTML ,and CSV.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "urls": [
8    {
9      "url": "https://www.agoda.com/search?city=2002&checkIn=2024-11-17&los=4&rooms=1&adults=2&children=0&cid=1891458&locale=en-us&ckuid=b562286c-42e1-4863-9fcc-29fa62237d77&prid=0&gclid=Cj0KCQjw6auyBhDzARIsALIo6v8trlSwJ5PkogO2QVsRUyTvU15vNIqNeye_5TISy6-1DIfajcqACHkaAgw8EALw_wcB&currency=EUR&correlationId=679bfdad-f530-417c-b9a8-09977714401e&analyticsSessionId=-5159500142018198708&pageTypeId=1&realLanguageId=1&languageId=1&origin=RS&stateCode=06&tag=e6f69b67-c544-262c-b720-5f8f711bbe26&userId=b562286c-42e1-4863-9fcc-29fa62237d77&whitelabelid=1&loginLvl=0&storefrontId=3&currencyId=1&currencyCode=EUR&htmlLanguage=en-us&cultureInfoName=en-us&machineName=am-pc-4g-acm-web-user-8cf85f99c-zsddp&trafficGroupId=5&sessionId=njgc050c4jilhylc254hisdh&trafficSubGroupId=122&aid=82361&useFullPageLogin=true&cttp=4&isRealUser=true&mode=production&browserFamily=Firefox&cdnDomain=agoda.net&checkOut=2024-11-21&priceCur=EUR&textToSearch=Barcelona&travellerType=1&familyMode=off&productType=-1"
10    }
11  ],
12  "maxConcurrency": 1,
13  "maxNumberOfResults": 100,
14  "proxyConfiguration": {
15    "useApifyProxy": true
16  }
17}
18EOF
19
20# Run the Actor using an HTTP API
21# See the full API reference at https://docs.apify.com/api/v2
22curl "https://api.apify.com/v2/acts/ivanvs~fast-agoda-scraper/runs?token=$API_TOKEN" \
23  -X POST \
24  -d @input.json \
25  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 6 monthly users
  • 2 stars
  • 97.1% runs succeeded
  • Created in May 2024
  • Modified 17 days ago
Categories