1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "sourceMode": "list",
10 "maxDiscoveryChargeUsd": 0.5,
11 "travellerBrief": "Quiet hotel for a couple, walkable to the old town, with a pool and free cancellation",
12 "itemsList": [
13 {
14 "hotelId": "demo-1001",
15 "name": "Casa do Largo Boutique Hotel",
16 "url": "https://www.booking.com/hotel/pt/casa-do-largo-demo.html?checkin=2026-10-26&checkout=2026-10-28&group_adults=2",
17 "type": "Hotel",
18 "stars": 4,
19 "description": "Set in a restored 18th-century townhouse in Alfama, Casa do Largo Boutique Hotel offers a rooftop terrace with an outdoor swimming pool and views over the Tagus. The quiet side street is a 6-minute walk from Lisbon Cathedral.",
20 "price": 356,
21 "currency": "US$",
22 "rating": 9.1,
23 "ratingLabel": "Wonderful",
24 "reviews": 1284,
25 "checkIn": "From 15:00 to 23:00",
26 "checkOut": "Until 12:00",
27 "checkInDate": "2026-10-26",
28 "checkOutDate": "2026-10-28",
29 "location": {
30 "lat": "38.7112",
31 "lng": "-9.1312",
32 },
33 "address": {
34 "full": "Largo do Contador-Mor 7, Alfama, 1100-194 Lisbon, Portugal",
35 "city": "Lisbon",
36 "country": "Portugal",
37 },
38 "image": "https://cf.bstatic.com/xdata/images/hotel/max1024x768/demo-1001.jpg",
39 "rooms": [{
40 "roomType": "Superior Double Room",
41 "available": True,
42 "roomsLeft": 2,
43 "facilities": [
44 "Air conditioning",
45 "Free WiFi",
46 "Soundproofing",
47 ],
48 "options": [{
49 "price": 356,
50 "persons": 2,
51 "freeCancellation": True,
52 "yourChoices": [
53 "Breakfast included",
54 "Free cancellation before 24 October 2026",
55 ],
56 "hasGeniusDiscount": True,
57 }],
58 }],
59 "facilities": [
60 {
61 "name": "Pool",
62 "facilities": [{
63 "name": "Outdoor swimming pool",
64 "additionalInfo": { "requiresAdditionalCharge": False },
65 }],
66 },
67 {
68 "name": "Internet",
69 "facilities": [{ "name": "Free WiFi" }],
70 },
71 {
72 "name": "Parking",
73 "facilities": [{
74 "name": "Public parking is possible at a location nearby (reservation is not needed) and costs EUR 18 per day.",
75 "additionalInfo": { "requiresAdditionalCharge": True },
76 }],
77 },
78 {
79 "name": "General",
80 "facilities": [
81 { "name": "Non-smoking rooms" },
82 { "name": "Elevator" },
83 { "name": "Soundproof rooms" },
84 ],
85 },
86 ],
87 "categoryReviews": [
88 {
89 "title": "Staff",
90 "score": 9.6,
91 },
92 {
93 "title": "Cleanliness",
94 "score": 9.4,
95 },
96 {
97 "title": "Location",
98 "score": 9.3,
99 },
100 {
101 "title": "Value for money",
102 "score": 8.8,
103 },
104 {
105 "title": "Free WiFi",
106 "score": 8.1,
107 },
108 ],
109 "reviewSummary": {
110 "summary": "Guests love the rooftop pool, the calm street and the breakfast; a few mention the steep walk up from the tram.",
111 "pros": [
112 {
113 "description": "Rooftop pool with river views",
114 "numberOfMentions": 212,
115 },
116 {
117 "description": "Quiet, spotless rooms",
118 "numberOfMentions": 180,
119 },
120 {
121 "description": "Generous breakfast",
122 "numberOfMentions": 151,
123 },
124 ],
125 "cons": [{
126 "description": "Steep uphill walk from the tram stop",
127 "numberOfMentions": 64,
128 }],
129 },
130 "finePrint": "A city tax of EUR 4 per person per night is charged at the property for guests aged 13 and older, up to 7 nights.",
131 "policies": [
132 {
133 "title": "Children and beds",
134 "content": "Children of any age are welcome.",
135 },
136 {
137 "title": "Pets",
138 "content": "Pets are not allowed.",
139 },
140 ],
141 "startUrlOrQuery": "Lisbon",
142 "timeOfScrapeISO": "2026-09-26T08:14:02.000Z",
143 },
144 {
145 "hotelId": "demo-1002",
146 "name": "Hotel Miradouro da Graça",
147 "url": "https://www.booking.com/hotel/pt/miradouro-da-graca-demo.html?checkin=2026-10-26&checkout=2026-10-28&group_adults=2",
148 "type": "Hotel",
149 "stars": 3,
150 "description": "Hotel Miradouro da Graça sits next to the Graça viewpoint and tram 28. Rooms are simple and bright; the lounge serves breakfast with a view of the castle.",
151 "price": 248,
152 "currency": "US$",
153 "rating": 8.6,
154 "ratingLabel": "Excellent",
155 "reviews": 2410,
156 "checkIn": "From 14:00",
157 "checkOut": "Until 11:00",
158 "checkInDate": "2026-10-26",
159 "checkOutDate": "2026-10-28",
160 "location": {
161 "lat": "38.7166",
162 "lng": "-9.1310",
163 },
164 "address": {
165 "full": "Rua da Graça 88, 1170-167 Lisbon, Portugal",
166 "city": "Lisbon",
167 "country": "Portugal",
168 },
169 "image": "https://cf.bstatic.com/xdata/images/hotel/max1024x768/demo-1002.jpg",
170 "rooms": [{
171 "roomType": "Standard Double Room",
172 "available": True,
173 "roomsLeft": 5,
174 "facilities": [
175 "Air conditioning",
176 "Free WiFi",
177 ],
178 "options": [
179 {
180 "price": 248,
181 "persons": 2,
182 "freeCancellation": False,
183 "yourChoices": [
184 "Breakfast US$14 (optional)",
185 "Non-refundable",
186 ],
187 },
188 {
189 "price": 276,
190 "persons": 2,
191 "freeCancellation": True,
192 "yourChoices": [
193 "Breakfast included",
194 "Free cancellation before 25 October 2026",
195 ],
196 },
197 ],
198 }],
199 "facilities": [
200 {
201 "name": "Internet",
202 "facilities": [{ "name": "Free WiFi" }],
203 },
204 {
205 "name": "Parking",
206 "facilities": [{
207 "name": "Private parking is possible on site (reservation is needed) and costs EUR 20 per day.",
208 "additionalInfo": { "requiresAdditionalCharge": True },
209 }],
210 },
211 {
212 "name": "General",
213 "facilities": [
214 { "name": "Air conditioning" },
215 { "name": "24-hour front desk" },
216 { "name": "Elevator" },
217 ],
218 },
219 ],
220 "categoryReviews": [
221 {
222 "title": "Staff",
223 "score": 9,
224 },
225 {
226 "title": "Cleanliness",
227 "score": 8.7,
228 },
229 {
230 "title": "Location",
231 "score": 8.9,
232 },
233 {
234 "title": "Value for money",
235 "score": 8.9,
236 },
237 {
238 "title": "Comfort",
239 "score": 8.2,
240 },
241 ],
242 "reviewSummary": {
243 "summary": "Great value near the tram with a castle view at breakfast; rooms are on the small side.",
244 "pros": [
245 {
246 "description": "Next to tram 28 and the viewpoint",
247 "numberOfMentions": 301,
248 },
249 {
250 "description": "Great value for Lisbon",
251 "numberOfMentions": 188,
252 },
253 ],
254 "cons": [
255 {
256 "description": "Small rooms",
257 "numberOfMentions": 97,
258 },
259 {
260 "description": "Street noise on weekends",
261 "numberOfMentions": 41,
262 },
263 ],
264 },
265 "finePrint": "A damage deposit of EUR 100 is required on arrival and refunded at check-out. Check-in after 22:00 carries a surcharge of EUR 20.",
266 "policies": [{
267 "title": "Cancellation/ prepayment",
268 "content": "Cancellation and prepayment policies vary according to accommodation type.",
269 }],
270 "startUrlOrQuery": "Lisbon",
271 "timeOfScrapeISO": "2026-09-26T08:14:05.000Z",
272 "sampleMemory": {
273 "price": 272,
274 "firstSeenAt": "2026-09-19T07:02:11+00:00",
275 "note": "sample memory — the free demo's price drop",
276 },
277 },
278 {
279 "hotelId": "demo-1003",
280 "name": "Baixa Garden Suites",
281 "url": "https://www.booking.com/hotel/pt/baixa-garden-suites-demo.html?checkin=2026-10-26&checkout=2026-10-28&group_adults=2",
282 "type": "Apartment",
283 "stars": 4,
284 "description": "Baixa Garden Suites offers apartments with a kitchenette and a shared rooftop pool, 300 metres from Rossio Square. Each suite has a washing machine.",
285 "price": 298,
286 "currency": "US$",
287 "rating": 8.9,
288 "ratingLabel": "Fabulous",
289 "reviews": 640,
290 "checkIn": "From 16:00 to 20:00",
291 "checkOut": "Until 11:00",
292 "checkInDate": "2026-10-26",
293 "checkOutDate": "2026-10-28",
294 "location": {
295 "lat": "38.7127",
296 "lng": "-9.1388",
297 },
298 "address": {
299 "full": "Rua dos Correeiros 112, Baixa, 1100-167 Lisbon, Portugal",
300 "city": "Lisbon",
301 "country": "Portugal",
302 },
303 "image": "https://cf.bstatic.com/xdata/images/hotel/max1024x768/demo-1003.jpg",
304 "rooms": [{
305 "roomType": "One-Bedroom Apartment",
306 "available": True,
307 "roomsLeft": 1,
308 "facilities": [
309 "Kitchenette",
310 "Washing machine",
311 "Air conditioning",
312 ],
313 "options": [{
314 "price": 298,
315 "persons": 2,
316 "freeCancellation": True,
317 "yourChoices": [
318 "Free cancellation before 23 October 2026",
319 "No prepayment needed",
320 ],
321 }],
322 }],
323 "facilities": [
324 {
325 "name": "Pool",
326 "facilities": [
327 { "name": "Rooftop pool" },
328 { "name": "Outdoor swimming pool" },
329 ],
330 },
331 {
332 "name": "Kitchen",
333 "facilities": [
334 { "name": "Kitchenette" },
335 { "name": "Washing machine" },
336 ],
337 },
338 {
339 "name": "Internet",
340 "facilities": [{ "name": "Free WiFi" }],
341 },
342 {
343 "name": "Parking",
344 "facilities": [{
345 "name": "Public parking is possible at a location nearby and costs EUR 25 per day.",
346 "additionalInfo": { "requiresAdditionalCharge": True },
347 }],
348 },
349 ],
350 "categoryReviews": [
351 {
352 "title": "Staff",
353 "score": 8.8,
354 },
355 {
356 "title": "Cleanliness",
357 "score": 9.1,
358 },
359 {
360 "title": "Location",
361 "score": 9.6,
362 },
363 {
364 "title": "Value for money",
365 "score": 8.6,
366 },
367 ],
368 "reviewSummary": {
369 "summary": "Central apartments with a pool; check-in closes at 20:00.",
370 "pros": [
371 {
372 "description": "Unbeatable central location",
373 "numberOfMentions": 140,
374 },
375 {
376 "description": "Kitchenette and washing machine",
377 "numberOfMentions": 66,
378 },
379 ],
380 "cons": [{
381 "description": "Early check-in cut-off",
382 "numberOfMentions": 38,
383 }],
384 },
385 "finePrint": "Guests arriving after 20:00 must contact the property in advance; late check-in carries an extra charge of EUR 30. This property only accepts cash for the city tax.",
386 "policies": [{
387 "title": "Parties",
388 "content": "Parties/events are not allowed.",
389 }],
390 "startUrlOrQuery": "Lisbon",
391 "timeOfScrapeISO": "2026-09-26T08:14:07.000Z",
392 },
393 {
394 "hotelId": "demo-1004",
395 "name": "Avenida Liberdade Grand",
396 "url": "https://www.booking.com/hotel/pt/avenida-liberdade-grand-demo.html?checkin=2026-10-26&checkout=2026-10-28&group_adults=2",
397 "type": "Hotel",
398 "stars": 5,
399 "description": "A five-star hotel on Avenida da Liberdade with an indoor pool, spa and fitness centre. Valet parking is available.",
400 "price": 780,
401 "currency": "US$",
402 "rating": 9,
403 "ratingLabel": "Wonderful",
404 "reviews": 3120,
405 "checkIn": "From 15:00",
406 "checkOut": "Until 12:00",
407 "checkInDate": "2026-10-26",
408 "checkOutDate": "2026-10-28",
409 "location": {
410 "lat": "38.7201",
411 "lng": "-9.1460",
412 },
413 "address": {
414 "full": "Avenida da Liberdade 185, 1250-141 Lisbon, Portugal",
415 "city": "Lisbon",
416 "country": "Portugal",
417 },
418 "image": "https://cf.bstatic.com/xdata/images/hotel/max1024x768/demo-1004.jpg",
419 "rooms": [{
420 "roomType": "Deluxe King Room",
421 "available": True,
422 "facilities": [
423 "Air conditioning",
424 "Free WiFi",
425 "Bathtub",
426 ],
427 "options": [{
428 "price": 780,
429 "persons": 2,
430 "freeCancellation": True,
431 "yourChoices": [
432 "Breakfast included",
433 "Free cancellation before 24 October 2026",
434 ],
435 }],
436 }],
437 "facilities": [
438 {
439 "name": "Pool",
440 "facilities": [{ "name": "Indoor swimming pool" }],
441 },
442 {
443 "name": "Wellness",
444 "facilities": [
445 {
446 "name": "Spa",
447 "additionalInfo": { "requiresAdditionalCharge": True },
448 },
449 { "name": "Fitness centre" },
450 ],
451 },
452 {
453 "name": "Parking",
454 "facilities": [{
455 "name": "Valet parking",
456 "additionalInfo": { "requiresAdditionalCharge": True },
457 }],
458 },
459 {
460 "name": "Internet",
461 "facilities": [{ "name": "Free WiFi" }],
462 },
463 ],
464 "categoryReviews": [
465 {
466 "title": "Staff",
467 "score": 9.4,
468 },
469 {
470 "title": "Cleanliness",
471 "score": 9.3,
472 },
473 {
474 "title": "Location",
475 "score": 9.1,
476 },
477 {
478 "title": "Value for money",
479 "score": 8,
480 },
481 ],
482 "reviewSummary": {
483 "summary": "Luxury on the avenue with an excellent spa; pricey for Lisbon.",
484 "pros": [
485 {
486 "description": "Excellent spa and indoor pool",
487 "numberOfMentions": 260,
488 },
489 {
490 "description": "Attentive staff",
491 "numberOfMentions": 233,
492 },
493 ],
494 "cons": [{
495 "description": "Expensive extras",
496 "numberOfMentions": 88,
497 }],
498 },
499 "finePrint": "A resort fee of EUR 25 per room per night applies. A credit card pre-authorisation is taken at check-in.",
500 "policies": [{
501 "title": "Pets",
502 "content": "Pets are allowed on request. Charges may apply.",
503 }],
504 "startUrlOrQuery": "Lisbon",
505 "timeOfScrapeISO": "2026-09-26T08:14:09.000Z",
506 },
507 {
508 "hotelId": "demo-1005",
509 "name": "Rossio Budget Hostel",
510 "url": "https://www.booking.com/hotel/pt/rossio-budget-hostel-demo.html?checkin=2026-10-26&checkout=2026-10-28&group_adults=2",
511 "type": "Hostel",
512 "stars": 1,
513 "description": "Dorms and private rooms on Rossio Square.",
514 "price": 96,
515 "currency": "US$",
516 "rating": 7.6,
517 "ratingLabel": "Good",
518 "reviews": 512,
519 "checkInDate": "2026-10-26",
520 "checkOutDate": "2026-10-28",
521 "location": {
522 "lat": "38.7141",
523 "lng": "-9.1398",
524 },
525 "address": {
526 "full": "Praça Dom Pedro IV 40, 1100-200 Lisbon, Portugal",
527 "city": "Lisbon",
528 "country": "Portugal",
529 },
530 "rooms": [{
531 "roomType": "Private Double Room",
532 "available": True,
533 "options": [{
534 "price": 96,
535 "persons": 2,
536 "freeCancellation": False,
537 "yourChoices": ["Non-refundable"],
538 }],
539 }],
540 "startUrlOrQuery": "Lisbon",
541 "timeOfScrapeISO": "2026-09-26T08:14:11.000Z",
542 },
543 {
544 "hotelId": "demo-1006",
545 "name": "Tejo Riverside Lofts",
546 "url": "https://www.booking.com/hotel/pt/tejo-riverside-lofts-demo.html?checkin=2026-10-26&checkout=2026-10-28&group_adults=2",
547 "type": "Apartment",
548 "stars": 4,
549 "description": "Loft apartments on the riverfront in Cais do Sodré.",
550 "currency": "US$",
551 "rating": 9.3,
552 "ratingLabel": "Superb",
553 "reviews": 208,
554 "checkInDate": "2026-10-26",
555 "checkOutDate": "2026-10-28",
556 "location": {
557 "lat": "38.7060",
558 "lng": "-9.1440",
559 },
560 "address": {
561 "full": "Rua da Ribeira Nova 12, 1200-370 Lisbon, Portugal",
562 "city": "Lisbon",
563 "country": "Portugal",
564 },
565 "rooms": [{
566 "roomType": "Loft",
567 "available": False,
568 "options": [],
569 }],
570 "startUrlOrQuery": "Lisbon",
571 "timeOfScrapeISO": "2026-09-26T08:14:13.000Z",
572 },
573 ],
574 "discoveryInput": {},
575}
576
577
578run = client.actor("rich_minds/booking-hotel-finder-ai").call(run_input=run_input)
579
580
581print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
582for item in client.dataset(run.default_dataset_id).iterate_items():
583 print(item)
584
585