Expedia Hotel Data Aggregator - Organize and Examine Insights avatar
Expedia Hotel Data Aggregator - Organize and Examine Insights
Try for free

3 days trial then $3.99/month - No credit card required now

View all Actors
Expedia Hotel Data Aggregator - Organize and Examine Insights

Expedia Hotel Data Aggregator - Organize and Examine Insights

dainty_screw/expedia-hotel-collector---store-and-analyze-data
Try for free

3 days trial then $3.99/month - No credit card required now

Effortlessly gather and store key details of Expedia hotels, including names, ratings, and prices. Use our tool for competitive analysis and strategic planning in the hospitality sector.

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  "startUrls": [
8    {
9      "url": "https://www.expedia.com/Prague-Hotels-Hotel-Krystal.h10966026.Hotel-Information",
10      "method": "GET",
11      "userData": {
12        "hotel": "Prague Hotel Krystal",
13        "doWeEndorseIt": "no opinion"
14      }
15    },
16    {
17      "url": "https://www.expedia.it/en/Berchtesgaden-Hotels-Alpensport-Hotel-Seimler.h2692552.Hotel-Information",
18      "method": "GET",
19      "userData": {
20        "your": [
21          "custom",
22          "data",
23          "goes",
24          "here"
25        ],
26        "doWeEndorseThisHotel": "no opinion"
27      }
28    }
29  ]
30}
31EOF
32
33# Run the Actor using an HTTP API
34# See the full API reference at https://docs.apify.com/api/v2
35curl "https://api.apify.com/v2/acts/dainty_screw~expedia-hotel-collector---store-and-analyze-data/runs?token=$API_TOKEN" \
36  -X POST \
37  -d @input.json \
38  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 1 monthly user
  • 2 stars
  • 100.0% runs succeeded
  • Created in Apr 2024
  • Modified 4 days ago