1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "locationSearch": "Paris, France",
10 "regionId": "2734",
11 "checkIn": "2026-08-15",
12 "checkOut": "2026-08-20",
13 "childrenAges": [],
14 "hotelFilters": {
15 "sort": "RECOMMENDED",
16 "star_ratings": [
17 4,
18 5,
19 ],
20 "price_min": 50,
21 "price_max": 300,
22 "guest_rating_min": 70,
23 "amenities": [
24 "WIFI",
25 "POOL",
26 ],
27 "property_types": ["HOTEL"],
28 "meal_plans": [],
29 "payment_type": "FREE_CANCELLATION",
30 },
31 "propertyId": "16786",
32 "pickupSearchTerm": "New York, New York, United States of America",
33 "pickupDatetime": {
34 "day": 20,
35 "month": 9,
36 "year": 2026,
37 "hour": 10,
38 "minute": 0,
39 },
40 "dropoffSearchTerm": "New York, New York, United States of America",
41 "dropoffDatetime": {
42 "day": 25,
43 "month": 9,
44 "year": 2026,
45 "hour": 10,
46 "minute": 0,
47 },
48 "carFilters": {},
49 "carOfferToken": "AQh3XDzUb4Yaw4cMGaeYnjj7avjCnI7in9MF41jMKsvokMLK...",
50}
51
52
53run = client.actor("fingolfin/expedia-scraper").call(run_input=run_input)
54
55
56print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
57for item in client.dataset(run.default_dataset_id).iterate_items():
58 print(item)
59
60