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": 15,
35 "month": 8,
36 "year": 2026,
37 "hour": 10,
38 "minute": 0,
39 },
40 "dropoffSearchTerm": "New York, New York, United States of America",
41 "dropoffDatetime": {
42 "day": 20,
43 "month": 8,
44 "year": 2026,
45 "hour": 10,
46 "minute": 0,
47 },
48 "carFilters": {
49 "sort": "RECOMMENDED",
50 "car_types": [
51 "midsize",
52 "compact",
53 ],
54 "vendors": [
55 "ZE",
56 "ZI",
57 ],
58 "price_range": "75-100",
59 "capacity": "TWO_TO_FIVE",
60 "specs": ["AUTO_TRANSMISSION"],
61 "radius_km": 10,
62 },
63 "carOfferToken": "AQh3XDzUb4Yaw4cMGaeYnjj7avjCnI7in9MF41jMKsvokMLK...",
64}
65
66
67run = client.actor("fingolfin/expedia-scraper").call(run_input=run_input)
68
69
70print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
71for item in client.dataset(run["defaultDatasetId"]).iterate_items():
72 print(item)
73
74